com.sun.media.sound
Class SoftSynthesizer.WeakAudioStream
java.lang.Object
java.io.InputStream
com.sun.media.sound.SoftSynthesizer.WeakAudioStream
- All Implemented Interfaces:
- java.io.Closeable
- Enclosing class:
- SoftSynthesizer
protected static class SoftSynthesizer.WeakAudioStream
- extends java.io.InputStream
Methods inherited from class java.io.InputStream |
mark, markSupported, read, reset, skip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pusher
public SoftAudioPusher pusher
jitter_stream
public javax.sound.sampled.AudioInputStream jitter_stream
sourceDataLine
public javax.sound.sampled.SourceDataLine sourceDataLine
SoftSynthesizer.WeakAudioStream
public SoftSynthesizer.WeakAudioStream(javax.sound.sampled.AudioInputStream stream)
setInputStream
public void setInputStream(javax.sound.sampled.AudioInputStream stream)
available
public int available()
throws java.io.IOException
- Overrides:
available
in class java.io.InputStream
- Throws:
java.io.IOException
read
public int read()
throws java.io.IOException
- Specified by:
read
in class java.io.InputStream
- Throws:
java.io.IOException
read
public int read(byte[] b,
int off,
int len)
throws java.io.IOException
- Overrides:
read
in class java.io.InputStream
- Throws:
java.io.IOException
getAudioInputStream
public javax.sound.sampled.AudioInputStream getAudioInputStream()
close
public void close()
throws java.io.IOException
- Specified by:
close
in interface java.io.Closeable
- Overrides:
close
in class java.io.InputStream
- Throws:
java.io.IOException