org.kc7bfi.jflac.util
Class PCMDecoder
java.lang.Object
org.kc7bfi.jflac.util.PCMDecoder
public class PCMDecoder
- extends Object
This class is a PCM FLAC decoder.
- Author:
- kc7bfi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PCMDecoder
public PCMDecoder(StreamInfo streamInfo)
- The constructor.
- Parameters:
streamInfo
- The FLAC stream info
getFrame
public ByteData getFrame(Frame frame,
ChannelData[] channelData)
throws IOException
- Write a WAV frame record.
- Parameters:
frame
- The FLAC framechannelData
- The decoded channel data
- Returns:
- returns the decoded buffer data
- Throws:
IOException
- Thrown if error writing to output channel
Copyright © 2004-2011. All Rights Reserved.