On Thu, 2006-06-01 at 10:53 -0700, Long Deng wrote:> While most of the native functions take float[] array as input, why
> the function speex_preprocess(...) can only accept short[] array? How
> do I call this function if I have float[] array inputs? Do I need to
> convert the floats to Integers back and forth?
That would be a good idea, yes. Note that 1.1.x has made a general
transitions to using shorts, so I recommend you use the _int() functions
of the encoder and decoder as well. The old ones are still there for
compatibility reasons.
Jean-Marc