Displaying 1 result from an estimated 1 matches for "spxout".
Did you mean:
spout
2004 Aug 06
0
About sample code
...************************/
nbBytes=speex_bits_write(&enbits,dataOut,200);
speex_bits_reset(&enbits);
}
*outputSizeBytes = nbBytes;
return 0;
}
int
SpeeXCodec::Decode(void *input, int inputSizeBytes, void *output, int
*outputSizeBytes)
{
char *dataIn = (char *)input;
// float spxout[FRAME_SIZE]; //hold data for speex output used in
func. decode
// short *dataOut = (short *)output;
float* spxout = (float *)output;
if(dataIn==NULL) return 1; //error occur
else{
/***************************************
Copy the data into the bit-stream struct
input :...