public interface Track
Track
refers to media data that can be interpreted in a time
coordinate system.
A track is the output of a Demultiplexer
.
Modifier and Type | Method and Description |
---|---|
long |
getPosition()
Gets the read position.
|
long |
getSampleCount()
Returns the numbers of samples in this track.
|
void |
read(Buffer buf)
Reads a sample from the input stream.
|
void |
setPosition(long pos)
Sets the read position.
|
long getSampleCount()
void setPosition(long pos)
long getPosition()
void read(Buffer buf) throws java.io.IOException
buf
- The buffer for the sample.java.io.IOException