Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Davis <paul@linuxaudiosystems.com>
To: Giuliano Pochini <pochini@shiny.it>
Cc: aknuds-1@broadpark.no, alsa-devel@lists.sourceforge.net
Subject: Re: Query devices in a non-blocking fashion
Date: Mon, 08 Dec 2003 12:04:06 -0500	[thread overview]
Message-ID: <200312081704.hB8H46oa006023@oud.linuxaudiosystems.com> (raw)
In-Reply-To: Your message of "Mon, 08 Dec 2003 16:19:36 +0100." <20031208161936.310df2cb.pochini@shiny.it>

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

it is *now*. i was just imagining a different conception of what it
could be used for.

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

if the app can't do that, it should first configure the device. no
question about that. the question is: what API do you use to do it? i
was just imagining that the PCM interface doesn't do any of it. this
would then decouple one from the other - you could interrogate
configuration possibilities independently of accessing the PCM device
itself, as arve suggests also.

>									   So
>you'll end up always using two different APIs to do the same things you now
>can do with only one.

i was imagining removing the capability from the PCM API.


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

  parent reply	other threads:[~2003-12-08 17:04 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
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 [this message]
  -- 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=200312081704.hB8H46oa006023@oud.linuxaudiosystems.com \
    --to=paul@linuxaudiosystems.com \
    --cc=aknuds-1@broadpark.no \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=pochini@shiny.it \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox