[alsa-devel] [PATCH - plugins] oss: avoid conflict between reclev and igain mixer ctls
To fix the following error that happens with Intel HDA driver.
$ amixer ALSA lib simple_none.c:1549:(simple_add1) helem (MIXER,'Capture Volume',0,0,0) appears twice or more amixer: Mixer default load error: Invalid argument
Signed-off-by: Luca Bayer kometto@web.de
diff --git a/oss/ctl_oss.c b/oss/ctl_oss.c index b8847b1..b05ba18 100644 --- a/oss/ctl_oss.c +++ b/oss/ctl_oss.c @@ -52,7 +52,7 @@ static const char *const vol_devices[SOUND_MIXER_NRDEVICES] = { [SOUND_MIXER_CD] = "CD Playback Volume", [SOUND_MIXER_IMIX] = "Monitor Mix Playback Volume", [SOUND_MIXER_ALTPCM] = "Headphone Playback Volume", - [SOUND_MIXER_RECLEV] = "Capture Volume", + [SOUND_MIXER_RECLEV] = "Master Capture Volume", [SOUND_MIXER_IGAIN] = "Capture Volume", [SOUND_MIXER_OGAIN] = "Playback Volume", [SOUND_MIXER_LINE1] = "Aux Playback Volume",
participants (1)
-
Luca Bayer