You should definitely be able to do narrowband in realtime. For
wideband, it depends on the mode and complexity setting. Try setting the
complexity to one:
int tmp = 1;
speex_encoder_ctl(encoder, SPEEX_SET_COMPLEXITY, &tmp);
Jean-Marc
Le lundi 12 d?cembre 2005 ? 15:33 +0800, Mo Win a ?crit
:> Hi. I tried encoding a raw PCM file to Speex in my Windows Mobile
> device and it took about 45 seconds to encode a 10-second file. I had
> FIXED_POINT defined and used speex_encode_int. The device has an ARMV4
> 400 MHz processor. Question: Is this behavior expected or is it
> possible to encode speech to speex real-time such that I can record
> speech directly as speex in my device? What, if any, can be done to
> speed up encoding time? As expected, decoding was no problem. I was
> using version 1.1.10.
>
> Thank you for all the help,
> Monica
> _______________________________________________
> Speex-dev mailing list
> Speex-dev@xiph.org
> http://lists.xiph.org/mailman/listinfo/speex-dev