org.kc7bfi.jflac.util
Class PCMDecoder

java.lang.Object
  extended by org.kc7bfi.jflac.util.PCMDecoder

public class PCMDecoder
extends Object

This class is a PCM FLAC decoder.

Author:
kc7bfi

Constructor Summary
PCMDecoder(StreamInfo streamInfo)
          The constructor.
 
Method Summary
 ByteData getFrame(Frame frame, ChannelData[] channelData)
          Write a WAV frame record.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PCMDecoder

public PCMDecoder(StreamInfo streamInfo)
The constructor.

Parameters:
streamInfo - The FLAC stream info
Method Detail

getFrame

public ByteData getFrame(Frame frame,
                         ChannelData[] channelData)
                  throws IOException
Write a WAV frame record.

Parameters:
frame - The FLAC frame
channelData - 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.