[Speex-dev] memory usage

tunkeat tunkeat at gmail.com
Sun Feb 27 18:59:23 PST 2005

hi Alfred,

>I am currently trying to port speex v1.1.6 to a microcontroller with
>very limited memory (<64Kbyte RAM).

if forced to the wall, you can try below (need to "rewrite" the code a little):
unless i am very much mistaken, you can do "dynamic allocation" for
some of the memory. these memories are only required when you are
running eg speex_encode for the current frame.  one example would be

st->qlsp. others are more "static" eg. st->inBuf which you basically cannot
do much with.

hope this helps.


More information about the Speex-dev mailing list