search for: alchar

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

Did you mean: achar
2006 Sep 08
2
problem with compression and decompression
...sound information, I give it the following parameters: 22050 (which is the frequency with which to take sound samples) AL_FORMAT_MONO16 (which is the OpenAL format in use) BUFFERSIZE (which is 1024, the size of the frames which I read) As for the arguments for "Compress()", pData is the ALchar pointer which contains the data. iFrameSize is the integer which will store the number of bytes actually written to the compressed frame. cComeFrame is the character array which eventually stores the compressed voice data. As for the arguments for "Decompress()", pDecomData is the ALchar...
2006 Sep 15
2
Constant noise in the background in realtime data
...oice with a decreased quality but the noise keeps running in the background whether I talk or not. Here are the two main encoding/decoding function I am using //------------------------------------------------------------------------------------------ void OALCapture::Compress(ALchar* pData, int *iFrameSize, char* cComFrame) { // Reset speex bits before frame encode speex_bits_reset(&m_oBits); int nFrameSize = 0; speex_encoder_ctl(m_poSpeexCompressState, SPEEX_GET_FRAME_SIZE, &nFrameSize); // Our samples are 2 bytes each so number of samples is actua...