From: Takashi Iwai <tiwai@suse.de>
To: Hannu Savolainen <hannu@opensound.com>
Cc: Clemens Ladisch <clemens@ladisch.de>, alsa-devel@lists.sourceforge.net
Subject: Re: Implementing ALSA compatibility in OSS
Date: Mon, 15 Nov 2004 20:03:03 +0100 [thread overview]
Message-ID: <s5hbrdzdjfc.wl@alsa2.suse.de> (raw)
In-Reply-To: <Pine.LNX.4.58.0411151931420.9516@zeus.compusonic.fi>
At Mon, 15 Nov 2004 19:58:34 +0200 (EET),
Hannu Savolainen wrote:
>
> On Mon, 15 Nov 2004, Clemens Ladisch wrote:
>
> > The purpose of having alsa-lib is that things like sample format/rate
> > conversion, virtualization, software synths, replacement drivers like
> > Jack etc. can be done in user space. We either do not want or cannot
> > do this in kernel space.
> But why does this need to be done in alsa-lib?
Because we can provide a uniform API with that.
Each app doesn't have to take care of the whole such stuff.
> > > Maybe alsa-lib could be implemented on top of the OSS driver API instead
> > > of having two redundant APIs in the kernel.
> >
> > AFAICS the ALSA API is a superset of the OSS API.
> Right. 1500+ library calls is really a superset of OSS API that has just
> 5 system calls and a handfull of ioctl calls.
The ALSA "kernel" API is also not too bigger than that.
As Clemens explained, most of lib calls are accesors to the opaque
struct fields (imagine C++). (Don't discuss further about the sense
of this implementation here at this point. You're too late on the
stage for the definition of 1.0 API :)
Takashi
-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
next prev parent reply other threads:[~2004-11-15 19:03 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-15 10:38 Implementing ALSA compatibility in OSS Hannu Savolainen
2004-11-15 13:13 ` Clemens Ladisch
2004-11-15 13:41 ` Hannu Savolainen
2004-11-15 16:01 ` Jaroslav Kysela
2004-11-15 17:31 ` Hannu Savolainen
2004-11-15 18:52 ` Takashi Iwai
2004-11-15 19:58 ` Jaroslav Kysela
2004-11-16 9:34 ` Takashi Iwai
2004-11-16 9:56 ` Jaroslav Kysela
2004-11-15 19:14 ` Paul Davis
2004-11-15 16:27 ` Clemens Ladisch
2004-11-15 17:58 ` Hannu Savolainen
2004-11-15 19:03 ` Takashi Iwai [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-11-15 11:25 Peter Zubaj
2004-11-15 11:48 ` Hannu Savolainen
2004-11-15 12:29 ` Hannu Savolainen
2004-11-15 13:11 Peter Zubaj
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=s5hbrdzdjfc.wl@alsa2.suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@lists.sourceforge.net \
--cc=clemens@ladisch.de \
--cc=hannu@opensound.com \
/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.