Displaying 1 result from an estimated 1 matches for "m_speexpreprocessst".
2007 Nov 14
0
Audio glitches/Configuration problem !!?
...ize = 0;
int tmpBufferSize = m_BufferSize;
while(tmpBufferSize >= m_FrameSizeInBytes + m_SpeexLookAheadInBytes)
{
speex_bits_reset(&m_SpeexBits);
if(m_Channels == 2)
speex_encode_stereo_int(input, m_FrameSizeInSamples,
&m_SpeexBits);
if (m_SpeexPreprocessState != NULL)
speex_preprocess(m_SpeexPreprocessState, input, NULL);
speex_encode_int(m_SpeexState, input, &m_SpeexBits);
int bytes = speex_bits_write(&m_SpeexBits, output, outMAXSize);
input += m_FrameSizeInBytes;
output += bytes;
*outSiz...