The ITU “C” code does not create the decoder output file in .WAV format. It is in raw 16-bit PCM format. To convert to .WAV format, you need to put a 44 byte header in front of the file. I can send you a utility to do this.
Recently I downloaded the G.723.1 speech codec ANSI C source code from the ITU-T recommendation site.
I tried to execute the recommendation G723.1 Annex A C source code on Dos,
I use the following command format:
lbccodec -c inputfile.wav outputFile.g723 -------create an encoded file
lbccodec -d outputFile.g723 output.wav -------decode the above encoded file
Then, I try to use the Windows media player to play the output.wav, but it always failed to play and I got the error alert is " the invalid type file”.
So far I don’t know how to solve it, would you please give me some hints. Or can I evaluate the source code like this?
Any answer will be appreciated very much.