Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Timo Steuerwald <timo.steuerwald@gmx.de>
To: Lee Revell <rlrevell@joe-job.com>
Cc: Giuliano Pochini <pochini@denise.shiny.it>,
	alsa-devel@lists.sourceforge.net
Subject: Re: list all available devices
Date: Mon, 06 Feb 2006 19:10:16 +0100	[thread overview]
Message-ID: <43E79108.7050300@gmx.de> (raw)
In-Reply-To: <1139248850.2791.261.camel@mindpipe>

Lee Revell wrote:

>Are you sure that's good enough?  It does not list the PCMs in a format
>useful to the application (like "default", hw:0", "surround51", "dmix"
>etc).  AFAICT "aplay -l" doesn't give an application enough information
>to populate a drop-down list.
>
>  
>
Hmmh, I haven't already taken a look at the code, but I thought this can 
be extended easily...

>This is a problem already for apps like "wengophone" - ALSA does not
>provide a sane API for enumerating all usable PCMs so it only lists
>"hw:x" PCMS and whatever is directly defined in .asoundrc (but NOT the
>PCMs defined under /usr/share/alsa/* - probably it parses .asoundrc
>directly, ugh)
>
>  
>
Uh, not very good :-/

Cheers,

Timo


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642

  reply	other threads:[~2006-02-06 18:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-06  9:25 list all available devices Timo Steuerwald
2006-02-06 10:19 ` Giuliano Pochini
2006-02-06 10:32   ` Timo Steuerwald
2006-02-06 18:00   ` Lee Revell
2006-02-06 18:10     ` Timo Steuerwald [this message]
2006-02-06 18:13       ` Lee Revell
2006-02-06 18:30         ` Matthias König
2006-02-06 18:58           ` Lee Revell

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=43E79108.7050300@gmx.de \
    --to=timo.steuerwald@gmx.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=pochini@denise.shiny.it \
    --cc=rlrevell@joe-job.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox