|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kc7bfi.jflac.util.WavWriter
public class WavWriter
Utility class for writing WAV files.
| Constructor Summary | |
|---|---|
WavWriter(DataOutput os)
The constructor. |
|
WavWriter(DataOutput os,
StreamInfo streamInfo)
The constructor. |
|
WavWriter(OutputStream os)
The constructor. |
|
WavWriter(OutputStream os,
StreamInfo streamInfo)
The constructor. |
|
| Method Summary | |
|---|---|
void |
writeFrame(Frame frame,
ChannelData[] channelData)
Write a WAV frame record. |
void |
writeHeader()
Write a WAV file header. |
void |
writeHeader(StreamInfo streamInfo)
Write a WAV file header. |
void |
writePCM(ByteData space)
Write the PCM data. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WavWriter(DataOutput os,
StreamInfo streamInfo)
os - The output sreamstreamInfo - The FLAC stream infopublic WavWriter(DataOutput os)
os - The output sream
public WavWriter(OutputStream os,
StreamInfo streamInfo)
os - The output sreamstreamInfo - The FLAC stream infopublic WavWriter(OutputStream os)
os - The output sream| Method Detail |
|---|
public void writeHeader()
throws IOException
IOException - Thrown if error writing to output string.
public void writeHeader(StreamInfo streamInfo)
throws IOException
streamInfo - The FLAC stream info
IOException - Thrown if error writing to output string.
public void writeFrame(Frame frame,
ChannelData[] channelData)
throws IOException
frame - The FLAC framechannelData - The decoded channel data
IOException - Thrown if error writing to output channel
public void writePCM(ByteData space)
throws IOException
space - The PCM data
IOException - Thrown if error writing to file
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||