public class FFAudioInputStream extends AudioInputStream
FFNativePeerInputStream
.format, frameLength, framePos, frameSize
Constructor and Description |
---|
FFAudioInputStream(FFNativePeerInputStream nativePeerInputStream,
AudioFormat format,
long frameLength) |
Modifier and Type | Method and Description |
---|---|
long |
getFrameLength() |
boolean |
isSeekable()
Indicates whether this stream is seekable.
|
void |
seek(long time,
TimeUnit timeUnit)
Positions the stream at the desired timestamp.
|
public FFAudioInputStream(FFNativePeerInputStream nativePeerInputStream, AudioFormat format, long frameLength)
public long getFrameLength()
getFrameLength
in class AudioInputStream
public boolean isSeekable()
public void seek(long time, TimeUnit timeUnit) throws UnsupportedOperationException, IOException
time
- timetimeUnit
- time unitUnsupportedOperationException
- if the operation is not supportedIOException
- if something goes wrongCopyright © 2013–2023 tagtraum industries incorporated. All rights reserved.