From: Paul Davis <pbd@op.net>
To: Martijn Sipkema <msipkema@sipkema-digital.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: opening alsa pcm device for input/output on specific channels
Date: Thu, 06 Jun 2002 21:28:26 -0400 [thread overview]
Message-ID: <200206070123.g571N8H12005@post2.fast.net> (raw)
In-Reply-To: Your message of "Thu, 06 Jun 2002 17:09:09 BST." <004201c20d74$84dabb90$0400a8c0@martijn>
>> personally, i don't like either of them very much, which is partly why
>> i wrote JACK.
>
>ok. you are now using: ALSA kernel -> ALSA lib -> JACK.
thats the current config, except that we now have
solaris audio -> JACK
as well. and we use very, very little of alsa-lib with JACK unless the
user asks to by using a non-"hw" PCM device name.
>that's not too different from: kernel driver -> EASI or ASIO plugin -> JACK
>i think the difference between ALSA and EASI/ASIO is that the latter have
>device dependant code in both user space and kernel. i think this is a
>cleaner solution.
there has been talk here about device dependent code going into
alsa-lib. also with ALSA and applications like JACK that use features
not yet abstracted into the ALSA API (e.g. hardware monitoring), we
have device dependent code in user space too.
> i have not yet looked into ASIO much, but perhaps porting it would
>make sense also. both EASI and ASIO plugins could use the same low level
>kernel driver. is there a reason why this has not been done. licensing
>perhaps?
when abramo and i have talked about this (just a little bit), we felt
quite sure you could implement ASIO (and thus *probably* EASI) on top
of alsa-lib.
>do you agree that having a device specific user space plugin has advantages
>over a generic kernel driver interface?
actually, no i don't. i prefer to see features that are truly
"cross-interface" be abstracted into the API, and those cards that
support them provide them via the generic kernel driver
interface. however, in the end it doesn't make a lot of difference as
long as the application has no clue what's going on.
i've thrown down the gauntlet with JACK's design by saying that i
think that the vast, overwhelming majority of audio apps should have
no clue whether they are even running with access to an actual h/w
audio interface. providing device specific features doesn't seem very
important to me. this is stuff that is handled by the control API and
alsactl/amixer right now. it would be better if we had a graphical
application to supplement them, but thats the only place i care about
device specific stuff as a rule.
--p
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
prev parent reply other threads:[~2002-06-07 1:23 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-06 14:25 opening alsa pcm device for input/output on specific channels Martijn Sipkema
2002-06-06 13:46 ` Paul Davis
2002-06-06 15:24 ` Martijn Sipkema
2002-06-06 14:44 ` Paul Davis
2002-06-06 15:51 ` Martijn Sipkema
2002-06-06 15:00 ` Paul Davis
2002-06-06 16:09 ` Martijn Sipkema
2002-06-07 1:28 ` Paul Davis [this message]
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=200206070123.g571N8H12005@post2.fast.net \
--to=pbd@op.net \
--cc=alsa-devel@alsa-project.org \
--cc=msipkema@sipkema-digital.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.