[Speex-dev] Use Speex on embedded ARM-device...

Jean-Marc Valin jean-marc.valin at usherbrooke.ca
Wed Feb 4 09:40:40 PST 2009

Hi Tobias,

I don't know if you've noticed, but ST actually released an optimised
port of Speex for their chip (see mailing list archive). About disabling
wideband, that can be done by defining DISABLE_WIDEBAND. You probably
also want to define DISABLE_VBR and DISABLE_FLOAT_API. As you noted, you
can also disable more than half the codebooks. That being said, I think
adding a bunch of macros to the main codebase to do that automatically,
would just make things more confusing.


Tobias Erichsen a écrit :
> Hi everyone,
> I'm currently looking into using speex in an embedded project
> using an ST ARM-device (STR9 family) just with internal
> memory (96kbyte) and no O/S.
> Does anyone know if the optimizations included in the code
> for ARMv4 and ARMv5e are appliable to this device?
> I would also need to strip down libspeex pretty hard to fit
> into the available memory.
> I just want to use a fixed bitrate of 6000 and no wideband.
> Can anyone give me some more hints what kind of tables I
> could strip to leave the memory-print even smaller?
> I was thinking about changing the code with some kind of
> pre-processor-directives to deactivate certain bitrates
> and to provide that code back to the general public...
> Best regards,
> Tobias

More information about the Speex-dev mailing list