public class FFURLInputStream extends FFNativePeerInputStream
nativeBuffer, pointer
Constructor and Description |
---|
FFURLInputStream(URL url) |
FFURLInputStream(URL url,
int streamIndex) |
Modifier and Type | Method and Description |
---|---|
protected void |
close(long pointer)
Closes the native peer and releases all resources held by it.
|
protected void |
fillNativeBuffer()
Fills
FFNativePeerInputStream.nativeBuffer with new data. |
boolean |
isSeekable() |
void |
seek(long time,
TimeUnit timeUnit) |
String |
toString() |
close, finalize, isOpen, read, read
available, mark, markSupported, read, reset, skip
public FFURLInputStream(URL url) throws IOException, UnsupportedAudioFileException
public FFURLInputStream(URL url, int streamIndex) throws IOException, UnsupportedAudioFileException
public boolean isSeekable()
isSeekable
in class FFNativePeerInputStream
FFAudioInputStream.isSeekable()
public void seek(long time, TimeUnit timeUnit) throws UnsupportedOperationException, IOException
seek
in class FFNativePeerInputStream
time
- timetimeUnit
- time unitIOException
- if an IO error occursUnsupportedOperationException
FFAudioInputStream.seek(long, java.util.concurrent.TimeUnit)
protected void fillNativeBuffer() throws IOException
FFNativePeerInputStream
FFNativePeerInputStream.nativeBuffer
with new data.fillNativeBuffer
in class FFNativePeerInputStream
IOException
- if an IO error occursprotected void close(long pointer) throws IOException
FFNativePeerInputStream
close
in class FFNativePeerInputStream
pointer
- pointerIOException
- if an IO error occursCopyright © 2013–2023 tagtraum industries incorporated. All rights reserved.