Displaying 1 result from an estimated 1 matches for "psinput".
Did you mean:
sinput
2005 Jul 20
1
Speex Windows from 1.1.6 source
...der, instead of files input.
My Problem is the audio played 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(encSta...