Displaying 1 result from an estimated 1 matches for "flacstreamdecod".
Did you mean:
flacstreamdecoder
2011 May 24
3
Can a libFLAC encoder be initialize and called from inside a libFLAC decoder callback?
...ream_encoder_process(m_Encoder, Buffer, Blocksize);".
I have a version that decodes to a WAV file and then re-encodes the WAV
file, but would like to avoid all that I/O.
Regards.
David
FLAC__StreamDecoderWriteStatus FLACRecoder::StaticWriteCallback(const
FLAC__StreamDecoder *FLACStreamDecoder, const FLAC__Frame *Frame, const
FLAC__int32 *const Buffer[], void *ClientData)
{
return ((FLACRecoder
*)(ClientData))->ClassWriteCallback(FLACStreamDecoder, Frame, Buffer);
}
FLAC__StreamDecoderWriteStatus FLACRecoder::ClassWriteCallback(const
FLAC__StreamDecoder *WXUNUSED(FLACStrea...