Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Liam Girdwood <lg@opensource.wolfsonmicro.com>
To: James Courtier-Dutton <James@superbug.co.uk>
Cc: alsa-devel@lists.sourceforge.net, Jaroslav Kysela <perex@suse.cz>
Subject: Re: alsa-lib bloat.
Date: Sat, 09 Dec 2006 14:38:35 +0000	[thread overview]
Message-ID: <1165675115.19641.25.camel@localhost.localdomain> (raw)
In-Reply-To: <457A995E.6080708@superbug.co.uk>

Fwiw, I've done some alsa-lib builds (no debug) for ARM with the
following results :-

Default config

-rwxr-xr-x 1 liam liam 948879 Dec  7 16:40 libasound.so.2.0.0


--disable-aload --disable-rawmidi --disable-pcm --disable-hwdep
--disable-seq --disable-instr --disable-alisp --with-pcm-plugins=hw

-rwxr-xr-x 1 liam liam 256320 Dec  9 12:39 libasound.so.2.0.0


--disable-mixer --disable-aload --disable-rawmidi --disable-pcm 
--disable-hwdep --disable-seq --disable-instr --disable-alisp
--with-pcm-plugins=hw

-rwxr-xr-x 1 liam liam 190884 Dec  9 13:08 libasound.so.2.0.0

This final configurations objects can be broken down as follows:-

645 Dec  9 13:59 ./src/compat/.libs/empty.o
2384 Dec  9 13:59 ./src/control/.libs/cards.o
5008 Dec  9 13:59 ./src/control/.libs/control_ext.o
9448 Dec  9 13:59 ./src/control/.libs/control_hw.o
57864 Dec  9 13:59 ./src/control/.libs/control.o
10712 Dec  9 13:59 ./src/control/.libs/control_shm.o
655 Dec  9 13:59 ./src/control/.libs/control_symbols.o
19456 Dec  9 13:59 ./src/control/.libs/hcontrol.o
13144 Dec  9 13:59 ./src/control/.libs/setup.o
3864 Dec  9 13:59 ./src/.libs/async.o
19468 Dec  9 13:59 ./src/.libs/confmisc.o
49540 Dec  9 13:59 ./src/.libs/conf.o
2864 Dec  9 13:59 ./src/.libs/dlmisc.o
3000 Dec  9 13:59 ./src/.libs/error.o
4324 Dec  9 13:59 ./src/.libs/input.o
3608 Dec  9 13:59 ./src/.libs/names.o
4536 Dec  9 13:59 ./src/.libs/output.o
1668 Dec  9 13:59 ./src/.libs/shmarea.o
2768 Dec  9 13:59 ./src/.libs/socket.o
1436 Dec  9 13:59 ./src/.libs/userfile.o

It looks like some further size reduction can probably be achieved by
disabling or reducing features in the conf code for embedded devices as
most only have a single sound card with only one stereo pcm for playback
and capture. 

Liam



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

  reply	other threads:[~2006-12-09 14:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-08 12:37 alsa-lib bloat James Courtier-Dutton
2006-12-09  8:25 ` Jaroslav Kysela
2006-12-09 11:09   ` James Courtier-Dutton
2006-12-09 14:38     ` Liam Girdwood [this message]
2006-12-19 10:03   ` Takashi Iwai
2006-12-13 19:31 ` Steve deRosier
2006-12-14  9:01   ` Clemens Ladisch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1165675115.19641.25.camel@localhost.localdomain \
    --to=lg@opensource.wolfsonmicro.com \
    --cc=James@superbug.co.uk \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=perex@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox