From: Takashi Iwai <tiwai@suse.de>
To: sylvain.bertrand@gmail.com
Cc: alsa-devel@alsa-project.org
Subject: Re: right way to enumerate pcm devices
Date: Wed, 13 Feb 2019 07:25:13 +0100 [thread overview]
Message-ID: <s5hpnrwciie.wl-tiwai@suse.de> (raw)
In-Reply-To: <20190212203324.GA1399@freedom>
On Tue, 12 Feb 2019 21:33:24 +0100,
sylvain.bertrand@gmail.com wrote:
>
> On Tue, Feb 12, 2019 at 02:36:00PM +0100, Takashi Iwai wrote:
> > The entries without hints are filtered out as default.
> > i.e. a user-defined entry appears, too, if it contains the hints.
> >
> > You can change the behavior by setting defaults.namehint.showall,
> > too.
>
> Hi again,
>
> I am listing the pcm devices, and for the USB mic of my webcam, I get input
> (IOID=Input) pcm devices for surroundX/frontspeakers/IEC958, which are
> actually output pcm devices.
> Why those output pcm devices are hinted as input devices?? Is this expected?
> Bug? If not, how am I supposed to select the proper input pcm devices the
> right(tm) way ?
It's only the matter of alsa-lib card config. Just due to heuristic
reason, the secondary device is assigned as iec958 as default. There
are explicit whitelist setup in alsa-lib/src/conf/cards/USB-Audio.conf
for the card that behave differently. You'd need to adjust
accordingly.
Takashi
next prev parent reply other threads:[~2019-02-13 6:25 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-12 12:33 right way to enumerate pcm devices sylvain.bertrand
2019-02-12 13:36 ` Takashi Iwai
2019-02-12 20:33 ` sylvain.bertrand
2019-02-13 6:25 ` Takashi Iwai [this message]
2019-02-13 14:13 ` sylvain.bertrand
2019-02-13 14:33 ` Takashi Iwai
2019-02-13 14:38 ` Jaroslav Kysela
2019-02-13 22:25 ` sylvain.bertrand
2019-02-13 22:43 ` sylvain.bertrand
[not found] ` <CA+Owze4OqfSystQ5ZNaF6sO+L-L-FceN5XBPJkqyYf7zjkp+GQ@mail.gmail.com>
2019-02-13 23:11 ` Fwd: " Joël Krähemann
2019-02-14 13:12 ` sylvain.bertrand
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=s5hpnrwciie.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=sylvain.bertrand@gmail.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.