public interface OggAudioStream
OggStreamAudioData
packets, either in a sequential (streaming) fashion, or by
skipping to a certain point.| Modifier and Type | Method and Description |
|---|---|
OggStreamAudioData |
getNextAudioPacket()
Returns the next
OggStreamAudioData packet in the
stream, or null if no more remain |
void |
skipToGranule(long granulePosition)
Skips the audio data to the next packet with a granule
of at least the given granule position.
|
OggStreamAudioData getNextAudioPacket() throws IOException
OggStreamAudioData packet in the
stream, or null if no more remainIOExceptionvoid skipToGranule(long granulePosition)
throws IOException
IOExceptionCopyright © 2021. All rights reserved.