org.jcodec.movtool.streaming.tracks
Class WavTrack
java.lang.Object
org.jcodec.movtool.streaming.tracks.WavTrack
- All Implemented Interfaces:
- VirtualTrack
public class WavTrack
- extends Object
- implements VirtualTrack
This class is part of JCodec ( www.jcodec.org ) This software is distributed
under FreeBSD License
Reads data from a wave file
- Author:
- The JCodec project
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FRAMES_PER_PKT
public static final int FRAMES_PER_PKT
- See Also:
- Constant Field Values
WavTrack
public WavTrack(FilePool pool,
Label... labels)
throws IOException
- Throws:
IOException
nextPacket
public VirtualPacket nextPacket()
throws IOException
- Specified by:
nextPacket in interface VirtualTrack
- Throws:
IOException
getSampleEntry
public SampleEntry getSampleEntry()
- Specified by:
getSampleEntry in interface VirtualTrack
getEdits
public VirtualTrack.VirtualEdit[] getEdits()
- Specified by:
getEdits in interface VirtualTrack
getPreferredTimescale
public int getPreferredTimescale()
- Specified by:
getPreferredTimescale in interface VirtualTrack
close
public void close()
throws IOException
- Specified by:
close in interface VirtualTrack
- Throws:
IOException
Copyright © 2013. All Rights Reserved.