Displaying 1 result from an estimated 1 matches for "noutsiz".
Did you mean:
outsiz
2010 Jun 10
0
speex multi frame
...oatDataOut[ nFrame++ * m_nDecodeFrameSize ] ) != 0 )
break;
nbBytes = speex_bits_remaining(&m_speexBitsIn);
}
// float -> short
dataOut.resize( nFrame * m_nDecodeFrameSize );
const float* pfSrc = &floatDataOut[0];
short* phDst = &dataOut[0];
size_t nOutSize = dataOut.size( );
while(nOutSize-- ) { *phDst++ = (short)*pfSrc++; }
return 0;
}
So speex_decode return -2 after 2-3 interation in my while loop
What is wrong ?
Thank for help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pip...