public abstract class MFNativePeerInputStream extends InputStream
Modifier and Type | Field and Description |
---|---|
protected ByteBuffer |
nativeBuffer
Native audio buffer.
|
protected long |
pointer
Pointer to the native peer struct.
|
Modifier | Constructor and Description |
---|---|
protected |
MFNativePeerInputStream() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected abstract void |
close(long pointer) |
protected abstract void |
fillNativeBuffer() |
protected void |
finalize() |
protected boolean |
isOpen() |
abstract boolean |
isSeekable() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
abstract void |
seek(long time,
TimeUnit timeUnit) |
available, mark, markSupported, read, reset, skip
protected long pointer
protected ByteBuffer nativeBuffer
protected MFNativePeerInputStream() throws IOException, UnsupportedAudioFileException
public int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class InputStream
IOException
public abstract boolean isSeekable()
MFAudioInputStream.isSeekable()
public abstract void seek(long time, TimeUnit timeUnit) throws UnsupportedOperationException, IOException
protected boolean isOpen()
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
IOException
protected abstract void fillNativeBuffer() throws IOException
IOException
protected abstract void close(long pointer) throws IOException
IOException
Copyright © 2011–2018 tagtraum industries incorporated. All rights reserved.