[Speex-dev] input_frame format

Matt DeMoss mdemoss at uark.edu
Tue Jun 7 09:59:28 PDT 2005


/input_frame/ is a /(float *)/ pointing to the beginning of a speech frame

What is the range on the floats in the input_frame that speex_encode() 
needs? The library that I'm using to get the sound gives me floats that 
are between -1.0 and +1.0.

I was assuming that this is also the case for speex, but I don't see it 
documented.

I'm thinking now that maybe this is not the case for Speex because I'm 
seeing a lot of integer to float conversions in the sample code.


More information about the Speex-dev mailing list