search for: palbuffer

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

2006 Sep 15
2
Constant noise in the background in realtime data
...ed by the decoder int nSamplesDecoded = 0; speex_decoder_ctl(m_poSpeexDecompressState, SPEEX_GET_FRAME_SIZE, &nSamplesDecoded); //nSamplesDecoded /= 2; // Now we have to convert the floats back into our AL sample format // which takes 2 bytes integer value for each sample short* pALBuffer = (short*) pDecomData; for(int i = 0; i < nSamplesDecoded; i++) { pALBuffer[i] = output[i] * 32768.0f; } nSamplesDecoded *= 2; return nSamplesDecoded; } //------------------------------------------------------------------------------------------ Here are the issues I ca...