search for: outmaxsize

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

Did you mean: getmaxsize
2007 Nov 14
0
Audio glitches/Configuration problem !!?
...de's. I am facing audio glitches when encoding - decoding PCM data. The encoder and decoder procedures are copied below. What about the lookahead size ? how shouw we apply it in encoding stage ? thanks in advance bool SpeexEncoder::EncodeData(char * inBuffer, int inSize, char * outBuffer, int outMAXSize, int* outSize) { if(!m_Initialized) return false; // Copy data into the local buffer memcpy(m_pBuffer + m_BufferSize, inBuffer, inSize); m_BufferSize += inSize; // check if we have enougth data for the encoder, if(m_BufferSize < m_FrameSizeInBytes ) return false...