[Speex-dev] Encode and decode using speex

Jean-Marc Valin jean-marc.valin at usherbrooke.ca
Thu Oct 11 06:42:41 PDT 2007

> Is it possible for me to encode a sample.wav file to encoded.spx using
> sampleenc.c and decode it using sampledec.c and store the output in a
> output.wav and play it using aplay? Will I be able to do the above?
> Please help me, I am new to speex. If i am wrong please correct me.

No, sampleenc/sampledec work on raw (headerless) files. Either you'll
need to work on raw files, or else just use speexenc/speexdec. The
latter are more complex, but they produce portable files.



More information about the Speex-dev mailing list