public class DSFiltergraph.DSAudioStream
extends java.io.InputStream
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
int |
getBufferSize()
Return the size of the buffer needed to hold this
streams bytes.
|
javax.sound.sampled.AudioFormat |
getFormat()
The returned AudioFormat holds the information about samplerate, samplesize etc, that
DSAudioStream does not directly supply and can be used to construct an AudioInputStream.
|
int |
read() |
int |
read(byte[] audioBytes) |
int |
read(byte[] audioBytes,
int offset,
int length) |
public int getBufferSize()
public javax.sound.sampled.AudioFormat getFormat()
public int available()
available in class java.io.InputStreampublic int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] audioBytes)
throws DSJException
read in class java.io.InputStreamDSJExceptionpublic int read(byte[] audioBytes,
int offset,
int length)
throws DSJException
read in class java.io.InputStreamDSJException