From: Florian Bomers <Florian.Bomers@sun.com>
To: alsa-devel@lists.sourceforge.net
Subject: devices/subdevices, hw:/plughw:
Date: Fri, 20 Sep 2002 09:24:21 -0700 [thread overview]
Message-ID: <3D8B4BB5.82ACFB11@sun.com> (raw)
(I initially posted this to alsa-user without answers. Hope to get more lucky
here...)
Hi,
sorry for those general questions, but I wasn't able to find anything on the
archives or in the ALSA documentation.
What is the meaning of devices vs. subdevices ? What is an example where a
device would have several subdevices, as opposed to the card having several
devices ? I want to display a list of available "ports" where the user can send
the audio generated by the program. If a device has several subdevices, would I
include them in the list, or just list the devices for each card ?
My program successfully lists the cards with their devices and subdevices for
hw: (i.e. snd_ctl_open("hw:0") ). However, this does not work for the plughw:
way, although from what I understood, I want to use plughw: (as it is supposed
to support automatic sample rate conversion). How do I iterate all available
plughw: "cards", devices, and subdevices? Or can I assume that if hw:0,0 exists,
that plughw:0,0 is the same card/device - and I just can't iterate available
plughw:'s directly ?
Thanks!
Florian
--
Florian Bomers
Java Sound
Java Software/Sun Microsystems, Inc.
http://java.sun.com/products/java-media/sound/
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
next reply other threads:[~2002-09-20 16:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-20 16:24 Florian Bomers [this message]
2002-09-20 17:27 ` devices/subdevices, hw:/plughw: Patrick Shirkey
2002-09-20 18:02 ` Florian Bomers
2002-09-21 5:44 ` Jaroslav Kysela
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=3D8B4BB5.82ACFB11@sun.com \
--to=florian.bomers@sun.com \
--cc=alsa-devel@lists.sourceforge.net \
/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.