Displaying 1 result from an estimated 1 matches for "psoutput".
Did you mean:
soutput
2005 Jul 20
1
Speex Windows from 1.1.6 source
...ytes);
if(iIndex > outputSize)
return -1;
iIndex = iDecBytes/sizeof(short);
/* Allocate the Decode Frame */
memset(pfDecBuf,0,sizeof(200 * sizeof(float)));
/* Decode the data */
speex_decode(decState, &Decbits, pfDecBuf);
memset(OutputBuf,0,outputSize);
psOutput = (short *)OutputBuf;
/* Copy from float to short (16 bits) for output */
for (i=0;i<iIndex;i++)
psOutput[i]=(short) pfDecBuf[i];
return iDecBytes;
I tried encoding, decoding and playing on the
Same , the results are the same. I am not sure
If I am missing something here....