search for: classwritecallback

Displaying 1 result from an estimated 1 matches for "classwritecallback".

2011 May 24
3
Can a libFLAC encoder be initialize and called from inside a libFLAC decoder callback?
...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(FLACStreamDecoder), const FLAC__Frame *Frame, const FLAC__int32 *const Buffer[]) { if (m_HaveError) { return FLAC__STREAM_DECODER_WRITE_STATUS_AB...