search for: m_odecompressbit

Displaying 2 results from an estimated 2 matches for "m_odecompressbit".

Did you mean: m_odecompressbits
2006 Sep 15
2
Constant noise in the background in realtime data
...return array memcpy(cComFrame, cbits, nbBytes); } //------------------------------------------------------------------------------------------ int OALCapture::Decompress(ALchar* pDecomData, int iFrameSize, char* cComFrame) { // Set the decompress bits speex_bits_read_from(&m_oDecompressBits, cComFrame, iFrameSize); // Decode the bits into an output float array speex_decode(m_poSpeexDecompressState, &m_oDecompressBits, output); // Get the number of samples returned by the decoder int nSamplesDecoded = 0; speex_decoder_ctl(m_poSpeexDecompressState, SPEEX_GET_FR...
2006 Sep 08
2
problem with compression and decompression
...amp;m_oBits); /*Copy the bits to an array of char that can be written*/ nbBytes = speex_bits_write(&m_oBits, cbits, BUFFERSIZE); strcpy(cComFrame, cbits); } void OALCapture::Decompress(ALchar* pDecomData, int iFrameSize, char* cComFrame) { speex_bits_init(&m_oDecompressBits); int i; ///*Copy the data into the bit-stream struct*/ speex_bits_read_from(&m_oDecompressBits, cComFrame, iFrameSize); /*Decode the data*/ speex_decode(m_poSpeexDecompressState, &m_oDecompressBits, output); /*Copy from float to short (16 bi...