search for: crecnplaydlg

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

2005 Jan 11
0
Decoding producing garbled sound
...amp;mBits, encodedBuffer, 160); delete[] speexFloat; speexFloat = 0; // Return the encoded buffer return encodedBuffer; } 3.I immediately decode the encoded buffer. Encoded size is always 38 bytes for this sample set and expected decoded size is 320 bytes char *CRecNplayDlg::decode(char *buffer, int encodeSize) { char *decodedBuffer = new char[320]; void *mDecode = speex_decoder_init(&speex_nb_mode); short speexShort; float *speexFloat = new float[160]; // Decode the sound data into a float buffer speex_bits_init(&dBits); s...