From: Dominique Larchey-Wendling <Dominique.Larchey-Wendling@loria.fr>
To: Alsa-devel@alsa-project.org
Subject: Strange bug in .asoundrc ??
Date: Mon, 19 Nov 2007 12:06:53 +0100 [thread overview]
Message-ID: <47416E4D.3050207@loria.fr> (raw)
Dear all,
It seems that neither the current ctl.hw function nor the following
simplified function ctl.!hw work correctly when the argument CARD is
given to the function. It works however when no argument is given as the
following test examples show it. It have alsa-lib version
1.0.14-0.4.rc3.fc7 installed on FC7.
Is this a know bug of alsa-lib ? It is strange because this bug does not
show up with pcm.hw for example.
--- .asoundrc ------------------------
ctl.!hw {
@args [ CARD ]
@args.CARD {
type string
default "0"
}
type hw
card $CARD
}
ctl.rha "hw"
ctl.tata "hw:0"
ctl.toto "hw:1"
------------------------------------------------
rha % amixer -D rha info
Card rha 'Intel'/'HDA Intel at 0xfebfc000 irq 16'
Mixer name : 'SigmaTel STAC9200'
Components : 'HDA:83847690'
Controls : 6
Simple ctrls : 4
rha % amixer -D tata info
ALSA lib control.c:781:(snd_ctl_open_conf) Invalid type for CTL tata
definition
amixer: Control device tata open error: Invalid argument
rha % amixer -D toto info
ALSA lib control.c:781:(snd_ctl_open_conf) Invalid type for CTL toto
definition
amixer: Control device toto open error: Invalid argument
next reply other threads:[~2007-11-19 11:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-19 11:06 Dominique Larchey-Wendling [this message]
2007-11-19 14:20 ` Strange bug in .asoundrc ?? Clemens Ladisch
2007-11-19 15:06 ` Dominique Larchey-Wendling
2007-11-19 15:43 ` Clemens Ladisch
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=47416E4D.3050207@loria.fr \
--to=dominique.larchey-wendling@loria.fr \
--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 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.