From: David Henningsson <david.henningsson@canonical.com>
To: Aleksandar Kostadinov <akostadinov@gmail.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: list *all* PCMs
Date: Wed, 09 Feb 2011 11:14:08 +0100 [thread overview]
Message-ID: <4D5268F0.9030201@canonical.com> (raw)
In-Reply-To: <AANLkTikfPkpxshmJRVd_iHdNNddrM7LOT0cn+oTLGgtX@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1039 bytes --]
On 2011-02-08 20:25, Aleksandar Kostadinov wrote:
> Hello,
>
> I searched through the list archive and I can't find a way to list all
> PCM devices. aplay/arecord -L show only these that have hint show on.
> Is there such command that lists all PCMs?
The hw: and plughw: devices do not show up by default, which is why
Ubuntu has a distro patch that turns them on. I'm attaching that patch.
> While on it, it is also hard to obtain a list of capabilities of a
> device. For example I don't see a way user can obtain the supported
> sample rates by a sound device. I have found a program (see it
> attached to http://www.spinics.net/linux/fedora/alsa-user/msg07230.html)
> that seems to work fine. Could that program or similar functionality
> be implemented in arecord/aplay so user can easily check device
> capabilities?
>
> Thank you,
> Aleksandar
>
> P.S. please cc me in replies because I'm not a subscriber
P.S. please subscribe, so we don't have to cc you. ;-)
--
David Henningsson, Canonical Ltd.
http://launchpad.net/~diwic
[-- Attachment #2: lp652035-use-extended-namehints.patch --]
[-- Type: text/x-patch, Size: 613 bytes --]
Index: alsa-lib-1.0.23/src/conf/alsa.conf
===================================================================
--- alsa-lib-1.0.23.orig/src/conf/alsa.conf 2010-10-03 15:05:47.000000000 -0400
+++ alsa-lib-1.0.23/src/conf/alsa.conf 2010-10-03 15:09:27.000000000 -0400
@@ -54,11 +54,11 @@
#
# show all name hints also for definitions without hint {} section
-defaults.namehint.showall off
+defaults.namehint.showall on
# show just basic name hints
defaults.namehint.basic on
# show extended name hints
-defaults.namehint.extended off
+defaults.namehint.extended on
#
defaults.ctl.card 0
defaults.pcm.card 0
[-- Attachment #3: Type: text/plain, Size: 160 bytes --]
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
next prev parent reply other threads:[~2011-02-09 10:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-08 19:25 list *all* PCMs Aleksandar Kostadinov
2011-02-09 7:28 ` Raymond Yau
2011-02-09 10:14 ` David Henningsson [this message]
2011-02-10 4:36 ` Raymond Yau
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=4D5268F0.9030201@canonical.com \
--to=david.henningsson@canonical.com \
--cc=akostadinov@gmail.com \
--cc=alsa-devel@alsa-project.org \
/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;
as well as URLs for NNTP newsgroup(s).