com.sun.media.sound
protected static class SoftSynthesizer.WeakAudioStream extends java.io.InputStream
Modifier and Type | Field and Description |
---|---|
javax.sound.sampled.AudioInputStream |
jitter_stream |
SoftAudioPusher |
pusher |
javax.sound.sampled.SourceDataLine |
sourceDataLine |
Constructor and Description |
---|
SoftSynthesizer.WeakAudioStream(javax.sound.sampled.AudioInputStream stream) |
Modifier and Type | Method and Description |
---|---|
int |
available() |
void |
close() |
javax.sound.sampled.AudioInputStream |
getAudioInputStream() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
setInputStream(javax.sound.sampled.AudioInputStream stream) |
public SoftAudioPusher pusher
public javax.sound.sampled.AudioInputStream jitter_stream
public javax.sound.sampled.SourceDataLine sourceDataLine
public SoftSynthesizer.WeakAudioStream(javax.sound.sampled.AudioInputStream stream)
public void setInputStream(javax.sound.sampled.AudioInputStream stream)
public int available() throws java.io.IOException
available
in class java.io.InputStream
java.io.IOException
public int read() throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public int read(byte[] b, int off, int len) throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public javax.sound.sampled.AudioInputStream getAudioInputStream()
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in class java.io.InputStream
java.io.IOException