public abstract class TAsynchronousFilteredAudioInputStream extends TAudioInputStream implements TCircularBuffer.Trigger
Constructor and Description |
---|
TAsynchronousFilteredAudioInputStream(AudioFormat outputFormat,
long lLength)
Constructor.
|
TAsynchronousFilteredAudioInputStream(AudioFormat outputFormat,
long lLength,
int nBufferSize,
int nMinAvailable)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
available() |
void |
close() |
void |
mark(int nReadLimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] abData) |
int |
read(byte[] abData,
int nOffset,
int nLength) |
void |
reset() |
long |
skip(long lSkip) |
properties
getFormat, getFrameLength
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute
public TAsynchronousFilteredAudioInputStream(AudioFormat outputFormat, long lLength)
lLength
- length of this stream in frames. May be
AudioSystem.NOT_SPECIFIED.public TAsynchronousFilteredAudioInputStream(AudioFormat outputFormat, long lLength, int nBufferSize, int nMinAvailable)
lLength
- length of this stream in frames. May be
AudioSystem.NOT_SPECIFIED.nBufferSize
- size of the circular buffer in bytes.public int read() throws java.io.IOException
read
in class AudioInputStream
java.io.IOException
public int read(byte[] abData) throws java.io.IOException
read
in class AudioInputStream
java.io.IOException
public int read(byte[] abData, int nOffset, int nLength) throws java.io.IOException
read
in class AudioInputStream
java.io.IOException
public long skip(long lSkip) throws java.io.IOException
skip
in class AudioInputStream
java.io.IOException
public int available() throws java.io.IOException
available
in class AudioInputStream
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class AudioInputStream
java.io.IOException
public boolean markSupported()
markSupported
in class AudioInputStream
public void mark(int nReadLimit)
mark
in class AudioInputStream
public void reset() throws java.io.IOException
reset
in class AudioInputStream
java.io.IOException