Displaying 1 result from an estimated 1 matches for "m_ninputsamplesprocess".
Did you mean:
m_ninputsamplesprocessed
2011 May 24
3
Can a libFLAC encoder be initialize and called from inside a libFLAC decoder callback?
...{
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.
m_nInputSamplesProcessed += Frame->header.blocksize;
return FLAC__STREAM_DECODER_WRITE_STATUS_CONTINUE;
}
else
{
// We have a frame and we are not in test mode. We need to send it
directly to the encoder
unsigned int Blocksize = Frame->header.blocksize;
// Is this line...