All of lore.kernel.org
 help / color / mirror / Atom feed
* alsa-lib bloat.
@ 2006-12-08 12:37 James Courtier-Dutton
  2006-12-09  8:25 ` Jaroslav Kysela
  2006-12-13 19:31 ` Steve deRosier
  0 siblings, 2 replies; 7+ messages in thread
From: James Courtier-Dutton @ 2006-12-08 12:37 UTC (permalink / raw)
  To: alsa-devel

Hi,

On my desktop system, I have this:
/usr/lib/libasound.so.2.0.0
size: 2785380 bytes.

libasound is really too big for what is does.
I was talking to some embedded platform developers recently, and they 
really don't like it at all.

Could something be done about it?
I was thinking that we could really cut down the API to a very limited 
subset of the current api, and place #ifdef in the source code, so that 
developers could build alsa-lib for embedded systems using just this 
subset of the current api. I would suggest just using the poll() 
callback method would be needed, as then it is similar to Mac OS X, and 
generally accepted as the best way to talk to a sound device.

I would also like to ask any embedded developers out there who have 
already done this, to post patches back to ALSA so that it saves 
developers time in future.

How about also separating libasound into separate libs, one for PCM, one 
for MIDI, and one for CONTROL that could in turn use a separate "helper 
functions" lib for any common functions. Some embedded applications 
might not need any of the MIDI/sequencer stuff.

Any comments?

James

-------------------------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-12-19 10:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2006-12-19 10:03   ` Takashi Iwai
2006-12-13 19:31 ` Steve deRosier
2006-12-14  9:01   ` Clemens Ladisch

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.