org.tritonus.sampled.file
Class AiffAudioOutputStream

java.lang.Object
  extended by org.tritonus.share.sampled.file.TAudioOutputStream
      extended by org.tritonus.sampled.file.AiffAudioOutputStream
All Implemented Interfaces:
AudioOutputStream

public class AiffAudioOutputStream
extends TAudioOutputStream

AudioOutputStream for AIFF and AIFF-C files.


Constructor Summary
AiffAudioOutputStream(AudioFormat audioFormat, AudioFileFormat.Type fileType, long lLength, TDataOutputStream dataOutputStream)
           
 
Method Summary
 void close()
          Closes the stream.
 void writeIeeeExtended(TDataOutputStream dos, float sampleRate)
           
 
Methods inherited from class org.tritonus.share.sampled.file.TAudioOutputStream
getCalculatedLength, getFormat, getLength, write
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AiffAudioOutputStream

public AiffAudioOutputStream(AudioFormat audioFormat,
                             AudioFileFormat.Type fileType,
                             long lLength,
                             TDataOutputStream dataOutputStream)
Method Detail

close

public void close()
           throws java.io.IOException
Description copied from class: TAudioOutputStream
Closes the stream. This does write remaining buffered data to the destination, backpatch the header, if necessary, and closes the destination.

Specified by:
close in interface AudioOutputStream
Overrides:
close in class TAudioOutputStream
Throws:
java.io.IOException

writeIeeeExtended

public void writeIeeeExtended(TDataOutputStream dos,
                              float sampleRate)
                       throws java.io.IOException
Throws:
java.io.IOException