protected static class SoftSynthesizer.WeakAudioStream
extends java.io.InputStream
| Modifier and Type | Field and Description |
|---|---|
javax.sound.sampled.AudioInputStream |
jitter_stream |
SoftAudioPusher |
pusher |
long |
silent_samples |
javax.sound.sampled.SourceDataLine |
sourceDataLine |
| Constructor and Description |
|---|
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 volatile long silent_samples
public 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.InputStreamjava.io.IOExceptionpublic int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic javax.sound.sampled.AudioInputStream getAudioInputStream()
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.InputStreamjava.io.IOException