public abstract class AudioStream extends Audio implements Iterable<SampleChunk>
| Constructor and Description | 
|---|
| AudioStream() | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract long | getLength()Returns the length of the audio stream in milliseconds. | 
| Iterator<SampleChunk> | iterator() | 
| abstract SampleChunk | nextSampleChunk()Retrieve the next SampleChunk from the audio stream. | 
| abstract void | reset()Reset the audio stream. | 
| void | seek(long timestamp)Seeks the audio to the given timestamp. | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic AudioStream()
public abstract SampleChunk nextSampleChunk()
public abstract void reset()
public abstract long getLength()
public void seek(long timestamp)
timestamp - The timestamp to seek topublic Iterator<SampleChunk> iterator()
iterator in interface Iterable<SampleChunk>