[speex-dev] What is the format of the PCM/WAV data forspeex_encode & speex_decode?

Kenji Chan adslbqmr at tpg.com.au
Fri Apr 16 13:39:05 PDT 2004



Ok, I'm using 1.1.4, so I should pass signed short(wav data) directly to
speex_encode()?

But the samplecode that comes with 1.1.4 shows me to put short in float
array, and pass the float array to speex_encode()

<p>-----Original Message-----
From: owner-speex-dev at xiph.org [mailto:owner-speex-dev at xiph.org] On Behalf
Of Jean-Marc Valin
Sent: Saturday, April 17, 2004 6:25 AM
To: speex
Subject: Re: [speex-dev] What is the format of the PCM/WAV data
forspeex_encode & speex_decode?

Speex 1.0.3 uses floats, but the unstable version 1.1.x uses short.

        Jean-Marc

<p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'speex-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Speex-dev mailing list