DevEmbedded

From AlsaProject
Revision as of 02:48, 8 August 2007 by EliotBlennerhassett (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Try building the minimal alsa library.

--disable-aload disable reading /dev/aload*
--disable-mixer Disable the mixer component
--disable-pcm Disable the PCM component
--disable-rawmidi Disable the raw MIDI component
--disable-hwdep Disable the hwdep component
--disable-seq Disable the sequencer component
--disable-instr Disable the instrument component
--disable-alisp Disable the alisp component
--with-pcm-plugins=<list> Build PCM plugins

Note that only hw plugin is important for pcm if applications will do all conversions itself.

Just quick test with:

./configure --disable-aload --disable-mixer --disable-rawmidi
--disable-hwdep --disable-seq --disable-instr --disable-alisp
--with-pcm-plugins=hw
#
strip -g --remove-section=.comment --remove-section=.note libasound.so
#
-rwxr-xr-x 1 perex users 366562 2006-12-09 09:22 libasound.so.2.0.0

It does not look so bad, doesn't?

With mixer stuff:

-rwxr-xr-x 1 perex users 420024 2006-12-09 09:25 libasound.so.2.0.0

Question to embedded developers: The best thing is to discuss what else can be shrinked (removed from build). If embedded platform developers stay quiet, we won't care.

For example, all dynamic configuration code can be removed, too.

Somebody asked How could be removed the dynamic configuration? ( removing conf.c and confmisc.c ? ) How can i do a "fixed" alsa.conf?


Copied from [1]

Custom Search
Personal tools
Namespaces

Variants
Actions
Navigation
wiki
Toolbox