Displaying 1 result from an estimated 1 matches for "iencbyt".
Did you mean:
encbyte
2005 Jul 20
1
Speex Windows from 1.1.6 source
...x 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,outputSize);
/*Copy the bits to an array of char that can be written*/
iEncBytes = speex_bits_write(&Encbits, OutputBuf, outputSize);
return iEncBytes;
/**************** Decode ******************/
/* Flush all the bits in the struct so we can code a new frame */
speex_bits_reset(&Decbits);
/* Copy the data into the bit-stream struct */...