spoke.signal.audio
Class SourceDataLineOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by spoke.signal.audio.SourceDataLineOutputStream
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable, ComplexOutput

public class SourceDataLineOutputStream
extends java.io.OutputStream
implements ComplexOutput


Constructor Summary
SourceDataLineOutputStream(javax.sound.sampled.SourceDataLine line)
           
 
Method Summary
 void write(int b)
           
 void writeComplex(Complex c)
           
 void writeShort(int v)
           
 
Methods inherited from class java.io.OutputStream
close, flush, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SourceDataLineOutputStream

public SourceDataLineOutputStream(javax.sound.sampled.SourceDataLine line)
Method Detail

write

public void write(int b)
           throws java.io.IOException
Specified by:
write in class java.io.OutputStream
Throws:
java.io.IOException

writeComplex

public void writeComplex(Complex c)
                  throws java.io.IOException
Specified by:
writeComplex in interface ComplexOutput
Throws:
java.io.IOException

writeShort

public void writeShort(int v)
                throws java.io.IOException
Throws:
java.io.IOException