public interface Track
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes this stream.
|
long |
getDuration()
Gets duration of this track.
|
Format |
getFormat()
Gets the format of this audio stream.
|
long |
getMediaTime()
Gets the current media time.
|
Frame |
process(long timestamp)
Fills buffer with next portion of media data.
|
void |
setMediaTime(long timestamp)
Rewinds track to the specified timestamp.
|
Format getFormat()
long getMediaTime()
void setMediaTime(long timestamp)
timestamp - the value of the time in nanosecondlong getDuration()
Frame process(long timestamp) throws IOException
timestamp - - current media time expressed in nanosecondsIOExceptionvoid close()
Copyright © 2017 TeleStax, Inc.. All Rights Reserved.