public class AuAudioOutputStream
extends org.tritonus.share.sampled.file.TAudioOutputStream
Constructor and Description |
---|
AuAudioOutputStream(javax.sound.sampled.AudioFormat audioFormat,
long lLength,
org.tritonus.share.sampled.file.TDataOutputStream dataOutputStream) |
Modifier and Type | Method and Description |
---|---|
protected static int |
getTextLength(java.lang.String s)
Returns number of bytes that have to written for string s (with alignment)
|
protected void |
patchHeader() |
protected void |
writeHeader() |
protected static void |
writeText(org.tritonus.share.sampled.file.TDataOutputStream dos,
java.lang.String s)
Writes a null-terminated ascii string s to f.
|
public AuAudioOutputStream(javax.sound.sampled.AudioFormat audioFormat, long lLength, org.tritonus.share.sampled.file.TDataOutputStream dataOutputStream)
protected static void writeText(org.tritonus.share.sampled.file.TDataOutputStream dos, java.lang.String s) throws java.io.IOException
dos
- data output streams
- string to writejava.io.IOException
- Write error.protected static int getTextLength(java.lang.String s)
s
- string to find the length of with alignmentprotected void writeHeader() throws java.io.IOException
writeHeader
in class org.tritonus.share.sampled.file.TAudioOutputStream
java.io.IOException
protected void patchHeader() throws java.io.IOException
patchHeader
in class org.tritonus.share.sampled.file.TAudioOutputStream
java.io.IOException