search for: outputbuf

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

Did you mean: output_buf
2005 Jul 20
1
Speex Windows from 1.1.6 source
...d on the receiving side after decoding Is only a "hush" or it is pure noise. Below is my code, that I have used for encoding and decoding. /************** Encode ******************/ speex_bits_reset(&Encbits); psInput = (short *)InputBuf; iIndex = 80; memset(OutputBuf,0,(200 * sizeof(float))); /*Copy the 16 bits values to float so Speex can work on them*/ for (i=0;i<iIndex;i++){ /* float */pfEncBuf[i]=/* short */psInput[i]; } /*Encode the frame*/ speex_encode(encState,pfEncBuf, &Encbits); memset(OutputBuf,0,outputSi...