From: Giuliano Pochini <pochini@shiny.it>
To: Paul Davis <paul@linuxaudiosystems.com>
Cc: aknuds-1@broadpark.no, alsa-devel@lists.sourceforge.net
Subject: Re: Query devices in a non-blocking fashion
Date: Mon, 8 Dec 2003 16:19:36 +0100 [thread overview]
Message-ID: <20031208161936.310df2cb.pochini@shiny.it> (raw)
In-Reply-To: <200312071919.hB7JJTNk004757@oud.linuxaudiosystems.com>
On Sun, 07 Dec 2003 14:19:28 -0500
Paul Davis <paul@linuxaudiosystems.com> wrote:
> i personally am heading towards believing that we made a design
> decision that was wrong here. i now tend to think that the PCM
> interface should not be involved with configuring the hardware at all,
> and that this should be left to the control API. when you open the PCM
> device, you get whatever is currently configured. if that's not what
> you want, you open the control API first, configure the device, then
> open the PCM device. i think this would be much much simpler for
> most application programmers (not as simple as JACK, but ...) and it
> would also mirror what happens in the windows world to some extent,
> where control applets are used to change aspects of the card config.
>
> still, its pretty much too late for that.
I don't agree. The control API (usually) is for things that don't affect
the way data is transferred between the card the the computer. Sample rate,
format, etc. are used to configure the hardware at the driver level, but
from the point of view of the application they are attributes of the
substream. The application has to take them into account. It can't just
open the PCM device and play/record something without knowing the format. So
you'll end up always using two different APIs to do the same things you now
can do with only one.
--
Giuliano.
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
next prev parent reply other threads:[~2003-12-08 15:19 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-07 17:07 Query devices in a non-blocking fashion Arve Knudsen
2003-12-07 18:40 ` Jaroslav Kysela
2003-12-07 18:56 ` Arve Knudsen
2003-12-07 19:19 ` Paul Davis
2003-12-07 19:31 ` Arve Knudsen
2003-12-07 19:38 ` Jaroslav Kysela
2003-12-07 19:51 ` Arve Knudsen
2003-12-07 20:00 ` Jaroslav Kysela
2003-12-07 20:13 ` Arve Knudsen
2003-12-07 20:44 ` Jaroslav Kysela
2003-12-07 21:11 ` Arve Knudsen
2003-12-08 10:49 ` Frank Barknecht
2003-12-08 11:08 ` Arve Knudsen
2003-12-08 11:39 ` Frank Barknecht
2003-12-08 11:52 ` [Alsa-devel][OT]Was: " Arve Knudsen
2003-12-07 19:56 ` Paul Davis
2003-12-07 20:05 ` Jaroslav Kysela
2003-12-08 15:19 ` Giuliano Pochini [this message]
2003-12-08 15:54 ` Arve Knudsen
2003-12-08 16:57 ` Jaroslav Kysela
2003-12-08 17:43 ` Arve Knudsen
2003-12-14 16:17 ` Patrick Shirkey
2003-12-14 16:38 ` Paul Davis
2003-12-14 16:46 ` Arve Knudsen
2003-12-14 19:06 ` Query devices in a non-blocking fashion / 3D capabilties Manuel Jander
2003-12-15 9:02 ` Jaroslav Kysela
2003-12-15 8:59 ` Query devices in a non-blocking fashion Jaroslav Kysela
2003-12-15 9:39 ` Arve Knudsen
2003-12-10 11:26 ` Giuliano Pochini
2003-12-08 17:04 ` Paul Davis
-- strict thread matches above, loose matches on Subject: below --
2003-12-12 18:31 Andrew Burgess
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=20031208161936.310df2cb.pochini@shiny.it \
--to=pochini@shiny.it \
--cc=aknuds-1@broadpark.no \
--cc=alsa-devel@lists.sourceforge.net \
--cc=paul@linuxaudiosystems.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.