Skip to contentSkip to conversation

oss: avoid conflict between reclev and igain mixer ctls

PATCH New Luca Bayer 1 participant 1 message Dec 4, 2013

lore
Share & tools
lore

Luca Bayer

author
#0 lore raw

PATCH 1/1 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
oss/ctl_oss.c +1 -1
index b8847b1..b05ba18 100644
@@ -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",