search for: m_teston

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

Did you mean: m_testonly
2011 May 24
3
Can a libFLAC encoder be initialize and called from inside a libFLAC decoder callback?
...coderWriteStatus 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_ABORT; } // Make sure we have an encoder. if (!m_TestOnly) { m_HaveEncoder = InitializeEncoder(); if (!m_HaveEncoder) { return FLAC__STREAM_DECODER_WRITE_STATUS_ABORT; } } if (Frame) { if (m_TestOnly) { // Tell the decoder to continue without doing anything other than count the samples....