[Speex-dev] Decoder only libspeex build

Jean-Marc Valin Jean-Marc.Valin at USherbrooke.ca
Wed Nov 16 15:16:14 PST 2005


Le mercredi 16 novembre 2005 à 08:28 -0800, Duane Storey a écrit :
> Most compilers/linkers were automatically exclude code in your exe
> that you don’t use.. I.e. if you don’t call any of the encoder
> functions, they won’t be included in the exe.   However, if there are
> many dependencies between the encoder/decoder code, it probably won’t
> save you much.

Probably won't work directly with Speex, or at least you would have to
clear the references to the encode functions in the (homemade) "virtual
tables".

	Jean-Marc

>  
> 
>                                    
> ______________________________________________________________________
> From: speex-dev-bounces at xiph.org [mailto:speex-dev-bounces at xiph.org]
> On Behalf Of a a
> Sent: Wednesday, November 16, 2005 3:56 AM
> To: speex-dev at xiph.org
> Subject: [Speex-dev] Decoder only libspeex build
> 
> 
>  
> 
> Hello,
> 
> 
>  
> 
> 
> I was wondering if it's possible to exclude the encoder while building
> the libspeex library, because I need to build an application where
> even a few KB saved are a great gain. Could someone give me some
> hint? 
> 
> 
>  
> 
> 
> Thank you in advance
> 
> 
> _______________________________________________
> Speex-dev mailing list
> Speex-dev at xiph.org
> http://lists.xiph.org/mailman/listinfo/speex-dev


More information about the Speex-dev mailing list