Vinod Vijayan
2005-Jan-04 05:15 UTC
[Speex-dev] Conversion problem in encoding and decoding
> short temp_short; > float temp_float; > float floatData[number_of_sample]; > > for (int i=0; i < number_of_sample; i++) > { > memcpy(&temp_short, &src[i*2], 2); > temp_float = temp_short; > floatData[i] = temp_float; > } > > yueweng >Thanks for the encoding code can yu plz send me the decoding code for conversion from float array to character array.