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

Kenji Chan adslbqmr at tpg.com.au
Fri Apr 16 14:09:47 PDT 2004

I thought it would be more update/better/faster, any thing wrong?
In the future, would you use short, and forget about float?
If so, I use 1.1.4, I wouldn't need to change my code in the future, right?

You said, it's unstable, yes, I got compiling errors with MsVC6 and MsVC.net
And I modified it a bit to get it compiled. Should I post the errors here?

<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:42 AM
To: speex
Subject: RE: [speex-dev] What is the format of the PCM/WAV
dataforspeex_encode & speex_decode?

Le ven 16/04/2004 à 16:39, Kenji Chan a écrit :
> Ok, I'm using 1.1.4, so I should pass signed short(wav data) directly to
> speex_encode()?

First, I'd like to ak why you want to use 1.1.4. If you don't need the
new features (fixed-point or preprocessor), you should probably stick to
1.0.3, which has received more testing. If you choose to use 1.1.4, you
need to send shorts to speex_encode/speex_decode.

<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