|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kc7bfi.jflac.apps.Decoder
public class Decoder
Decode FLAC file to WAV file application.
Constructor Summary | |
---|---|
Decoder()
|
Method Summary | |
---|---|
void |
decode(String inFileName,
String outFileName)
Decode a FLAC file to a WAV file. |
static void |
main(String[] args)
Main routine. |
void |
processPCM(ByteData pcm)
Process the decoded PCM bytes. |
void |
processStreamInfo(StreamInfo info)
Process the StreamInfo block. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Decoder()
Method Detail |
---|
public void decode(String inFileName, String outFileName) throws IOException
inFileName
- The input FLAC file nameoutFileName
- The output WAV file name
IOException
- Thrown if error reading or writing filespublic void processStreamInfo(StreamInfo info)
processStreamInfo
in interface PCMProcessor
info
- the StreamInfo blockPCMProcessor.processStreamInfo(org.kc7bfi.jflac.metadata.StreamInfo)
public void processPCM(ByteData pcm)
processPCM
in interface PCMProcessor
pcm
- The decoded PCM dataorg.kc7bfi.jflac.PCMProcessor#processPCM(org.kc7bfi.jflac.util.ByteSpace)
public static void main(String[] args)
args[0] is the input file name
args[1] is the output file name
args
- Command line arguments
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |