org.jcodec.movtool.streaming.tracks
Class WavTrack.WavPacket

java.lang.Object
  extended by org.jcodec.movtool.streaming.tracks.WavTrack.WavPacket
All Implemented Interfaces:
VirtualPacket
Enclosing class:
WavTrack

public class WavTrack.WavPacket
extends Object
implements VirtualPacket


Constructor Summary
WavTrack.WavPacket(int frameNo, double pts, long offset, int dataLen)
           
 
Method Summary
 ByteBuffer getData()
           
 int getDataLen()
           
 double getDuration()
           
 int getFrameNo()
           
 double getPts()
           
 boolean isKeyframe()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WavTrack.WavPacket

public WavTrack.WavPacket(int frameNo,
                          double pts,
                          long offset,
                          int dataLen)
Method Detail

getData

public ByteBuffer getData()
                   throws IOException
Specified by:
getData in interface VirtualPacket
Throws:
IOException

getDataLen

public int getDataLen()
               throws IOException
Specified by:
getDataLen in interface VirtualPacket
Throws:
IOException

getPts

public double getPts()
Specified by:
getPts in interface VirtualPacket

getDuration

public double getDuration()
Specified by:
getDuration in interface VirtualPacket

isKeyframe

public boolean isKeyframe()
Specified by:
isKeyframe in interface VirtualPacket

getFrameNo

public int getFrameNo()
Specified by:
getFrameNo in interface VirtualPacket


Copyright © 2013. All Rights Reserved.