2009/7/15 nadia cinque <nadiacinque at yahoo.it>:> Hi, i need a quick solution.
> I have a wave file and i need to convert it in spx format.
> Until now i can read header and data packet from wave, and write it in a
> spx file, but i don't know how i can write speex header.
> Do you have a schema, example code, or something which can help me to
> resolve this problem?
> I'm developing on windows mobile 6.
The header format is described in the Speex documentation, and copied onto:
http://wiki.xiph.org/OggSpeex
Example code is in speexenc.cin the speex sources.
Conrad.