[Speex-dev] How to create a compact Speex library

Jean-Marc Valin jean-marc.valin at usherbrooke.ca
Mon Apr 17 18:03:45 PDT 2006


> Thanks for your help.  And sorry to Jean-Marc for
> implying that I don't want to do any work and just
> "free-load" off everyone else's efforts.  I just
> wanted  some hints/pointers as to what I should remove
> given my operating Speex parameters (5.95 kilo bits
> /sec).  Jim, you are correct, the .a has nothing to do
> with the final resources being used; the .a has other
> headers/data that don't show up when I linked with my
> application.  By the way, I'm using a TMS320VC5510
> DSP.  Thanks to Jean-Marc for his help:  I was able to
> remove vbr.c, all exc_*.c except exc_10_16_table.c,
> and gain_table.c (for references to those tables, I
> just replaced them with "0", is that OK?).

Sure, replacing them with 0 is fine as long as you never attempt to use
them. If you want to save a few more bytes, you can completely remove
all the structs associated to the unused modes (in modes.c). Just
curious, what's the resource usage with all that removed?

	Jean-Marc


More information about the Speex-dev mailing list