Hi developers, I would appreciate if someone can give me a hand here... I need to run speex on a FPU-less platform with an audio card that only reads samples of type S32_LE (even when it is a 16bits audio card). I understand that if my platform is FPU-less then I should use speex_encode/decode_int() but then, how can I convert my S32_LE sample to S16_LE in order to pass it to speex functions ? thanks in advance...
Alvaro Jimenez a ?crit :> I need to run speex on a FPU-less platform with an audio card that only > reads samples of type S32_LE (even when it is a 16bits audio card). I > understand that if my platform is FPU-less then I should use > speex_encode/decode_int() but then, how can I convert my S32_LE sample > to S16_LE in order to pass it to speex functions ?I can see two options. The first is to shift the bits right by the 16. The other is to hold the bits and shift the rest of the CPU left by 16. Jean-Marc
Hi, We have been decoding and encoding Speex between Flash player and server. In the main the quality is really good, an improvement over Flash's other codec (ASAO Nelly Moser) particularly when encoding noisy mics. We have found however that sometimes we get noises a bit like a gas canister going off or a turbo fan on a car (strange description but true). My gut feel is it has something to do with the inbound audio buffer in flash filling up and the codec having to drop or stretch audio. Any ideas on this and possibly improving would be most welcome. Thanks and best regards Ben