From: Takashi Iwai <tiwai@suse.de>
To: Kai Vehmanen <kai.vehmanen@wakkanet.fi>
Cc: ALSA development <alsa-devel@alsa-project.org>
Subject: Re: future ALSA development
Date: Mon, 07 Jul 2003 13:26:09 +0200 [thread overview]
Message-ID: <s5hadbqefxq.wl@alsa2.suse.de> (raw)
In-Reply-To: <Pine.LNX.4.44.0307031555370.27053-100000@ecabase.localdomain>
At Thu, 3 Jul 2003 16:39:36 +0300 (EEST),
Kai Vehmanen wrote:
>
> Ok, this is a bit late, but hopefully not too late. :)
>
> On Tue, 24 Jun 2003, Joern Nettingsmeier wrote:
> >>> other people might propose XML. then it becomes to a question whether
> >> I think that XML is too overkill for our purposes.
> > otoh, the embedded guys will probably not like it, but then memory is
> > becoming cheaper by the minute, and its additional size will be a moot
> > point in the very near future.
>
> This is a dangerous argument. While it's that true memory and cpu power
> are becoming cheaper and cheaper all the time, minimizing resource usage
> is still as important as ever. With big volume products, small things make
> a big difference in the overall picture (i.e. which products survive in
> the market). Saving an extra 100kB can make a huge difference if it allows
> you to use a smaller flash chip on your device.
>
> This doesn't mean ALSA should not take advantage of any additional
> libraries, but these additions should not create new dependendencies to
> the core system. In other words you should be able to build a compact
> version of ALSA user-space libs and tools, and one that is cross-compiler
> friendly. Otherwise people will be tempted to use OSS or write their own
> drivers.
>
> Already alsa-lib has some features that are not so good from embedded
> perspective:
>
> - not a small lib; with default settings around 0.5MB; this
> is an extra 0.5MB compared to just using OSS where there is no lib
that's true.
> - use of more advanced c-lib features such as dynamic loading (dlopen(),
> etc); these can cause problems if you try to use libasound with other
> c-libs than glibc
it's possible to create a static library which doesn't need dlopen().
but it will eventually link the whole plugin objects statically.
so, maybe a compromise is to add configure options or something to
choose the components (e.g. plugins) to be built in. this will reduce
the size of binary, too.
there are some parts which use glibc's extension (like jump to label
address or function-in-function). but these can be fixed with the
standard style, too. they are mostly optmizations only.
> ... but, but, of course libasound also provides lots of great
> functionality, so it's still a good alternative. And also, app developers
> can always manually scale down the libasound build,
yep
> or even write their
> apps to directly communicate with ALSA's kernel interface.
mmm, this should be never done.
one of the reason to have alsa-lib is to avoid this.
Takashi
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
next prev parent reply other threads:[~2003-07-07 11:26 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-22 19:10 future ALSA development Jaroslav Kysela
2003-06-23 11:14 ` Takashi Iwai
2003-06-23 12:01 ` Jaroslav Kysela
2003-06-23 13:13 ` Takashi Iwai
2003-06-23 13:41 ` Paul Davis
2003-06-23 13:51 ` Takashi Iwai
2003-06-23 14:18 ` Paul Davis
2003-06-23 22:22 ` Joern Nettingsmeier
2003-06-24 7:51 ` mru
2003-06-24 8:14 ` Jaroslav Kysela
2003-06-24 11:19 ` Abramo Bagnara
2003-06-24 11:43 ` Paul Davis
2003-06-24 11:56 ` Jaroslav Kysela
2003-06-24 12:16 ` Paul Davis
2003-06-24 17:11 ` Takashi Iwai
2003-06-24 18:28 ` Jaroslav Kysela
2003-06-25 17:49 ` PCMCIA In Kernel Or In ALSA Driver? Len Moskowitz
2003-06-25 18:51 ` Jaroslav Kysela
2003-06-30 10:17 ` future ALSA development Takashi Iwai
2003-06-24 8:28 ` iriXx
2003-07-03 13:39 ` Kai Vehmanen
2003-07-07 11:26 ` Takashi Iwai [this message]
2003-10-01 9:37 ` ALSA in embedded use (was: Re: future ALSA development) Kai Vehmanen
2003-10-01 13:13 ` Takashi Iwai
2003-06-24 12:52 ` future ALSA development Giuliano Pochini
2003-06-24 13:04 ` Jaroslav Kysela
2003-06-24 17:12 ` Takashi Iwai
2003-07-03 14:21 ` Kai Vehmanen
2003-07-03 14:36 ` Kai Vehmanen
2003-07-03 16:05 ` Thomas Charbonnel
2003-07-07 11:37 ` Takashi Iwai
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=s5hadbqefxq.wl@alsa2.suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=kai.vehmanen@wakkanet.fi \
/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 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.