spoke.signal.audio
Class TargetDataLineInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by spoke.signal.audio.TargetDataLineInputStream
All Implemented Interfaces:
java.io.Closeable, ComplexInput

public class TargetDataLineInputStream
extends java.io.InputStream
implements ComplexInput


Constructor Summary
TargetDataLineInputStream(javax.sound.sampled.TargetDataLine line)
           
 
Method Summary
 int read()
           
 Complex readComplex()
           
 int readShort()
           
 
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, read, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TargetDataLineInputStream

public TargetDataLineInputStream(javax.sound.sampled.TargetDataLine line)
Method Detail

read

public int read()
         throws java.io.IOException
Specified by:
read in class java.io.InputStream
Throws:
java.io.IOException

readComplex

public Complex readComplex()
                    throws java.io.IOException
Specified by:
readComplex in interface ComplexInput
Throws:
java.io.IOException

readShort

public int readShort()
              throws java.io.IOException
Throws:
java.io.IOException