All of lore.kernel.org
 help / color / mirror / Atom feed
From: Luca Bayer <kometto@web.de>
To: patch@alsa-project.org
Cc: alsa-devel@alsa-project.org
Subject: [PATCH - plugins] oss: avoid conflict between reclev and igain mixer ctls
Date: Wed, 04 Dec 2013 03:07:33 +0100	[thread overview]
Message-ID: <20131204.86haapnzbu@web.de> (raw)

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",

                 reply	other threads:[~2013-12-04  2:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20131204.86haapnzbu@web.de \
    --to=kometto@web.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=patch@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.