org.tritonus.share.sampled.file
Class THeaderlessAudioFileWriter
java.lang.Object
javax.sound.sampled.spi.AudioFileWriter
org.tritonus.share.sampled.file.TAudioFileWriter
org.tritonus.share.sampled.file.THeaderlessAudioFileWriter
public class THeaderlessAudioFileWriter
- extends TAudioFileWriter
Base class for formats without extra header.
This AudioFileWriter is typically used for compressed formats
where the encoder puts a header into the encoded stream. In this
case, the AudioFileWriter needs not to add a header. This is why
THeaderlessAudioOutputStream is used here.
- Author:
- Florian Bomers, Matthias Pfisterer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
THeaderlessAudioFileWriter
protected THeaderlessAudioFileWriter(Collection<AudioFileFormat.Type> fileTypes,
Collection<AudioFormat> audioFormats)
getAudioOutputStream
protected AudioOutputStream getAudioOutputStream(AudioFormat audioFormat,
long lLengthInBytes,
AudioFileFormat.Type fileType,
TDataOutputStream dataOutputStream)
throws IOException
- Specified by:
getAudioOutputStream in class TAudioFileWriter
- Throws:
IOException
Copyright © 2012. All Rights Reserved.