Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Mark Brown <broonie@sirena.org.uk>
Cc: alsa-devel@alsa-project.org, Timur Tabi <timur@freescale.com>
Subject: Re: [PATCH 1/3] ASoC: cs4270: fix Master Capture Switch polarity
Date: Sun, 26 Apr 2009 13:08:22 +0200	[thread overview]
Message-ID: <s5hmya3wu3d.wl%tiwai@suse.de> (raw)
In-Reply-To: <20090426094917.GA4760@sirena.org.uk>

At Sun, 26 Apr 2009 10:49:17 +0100,
Mark Brown wrote:
> 
> On Fri, Apr 24, 2009 at 10:45:29AM -0500, Timur Tabi wrote:
> > Daniel Mack wrote:
> > > The control modifies the MUTE register, hence the polarity must be
> > > inverted.
> 
> >                             L    R
> >                             CAPTUR
> > 
> >                           < Master >
> 
> > What exactly does this mean?  Which one is supposed to mean "muted"?
> 
> Capture is enabled in the picture above; often when the alsamixer UI is
> confusing amixer is a bit clearer about what's going on.

The "mute" is only for "* Playback Switch" mixer controls.  In this case,
if you have "Master Playback Switch", it's handled as the mute switch
in the mixer interface.  If you don't have such a control element,
there is no "mute" for "Master" mixer element.

OTOH, "* Capture Switch" is handled as "capture" switch, which is
indicated as "CAPTURE" (and "L" & "R") in the above.  Also, if the
driver supports rather "Capture Source" enum instead of "XXX
Capture Switch", its list items are converted to multiple exclusive 
"capture" switches.

> > And how come even though this switch is a SOC_DOUBLE, I cannot control
> > the left and right channel independently with the < and > keys, and the
> > "M" key doesn't toggle it either.
> 
> This is a property of capture controls.  I'm not entirely sure why,
> CCing in Takashi who should be able to offer more knowledgable comment.

The keys you mentioned above are all for playback mute controls, thus
irrelevant with the capture switch.  User space key to toggle the
capture switch.


Takashi

  reply	other threads:[~2009-04-26 11:08 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-24 13:00 [PATCH 1/3] ASoC: cs4270: fix Master Capture Switch polarity Daniel Mack
2009-04-24 13:00 ` [PATCH 2/3] ASoC: cs4270: add Master Playback Switch Daniel Mack
2009-04-24 13:02   ` Daniel Mack
2009-04-24 13:17   ` Mark Brown
2009-04-24 13:52     ` Daniel Mack
2009-04-24 13:54       ` Mark Brown
2009-04-24 13:59         ` Daniel Mack
2009-04-24 14:37       ` [PATCH 1/2] ASoC: add SOC_DOUBLE_EXT macro Daniel Mack
2009-04-24 14:37         ` [PATCH 2/2] ASoC: cs4270: add Master Playback Switch Daniel Mack
2009-04-27 13:55           ` Timur Tabi
2009-04-24 15:45 ` [PATCH 1/3] ASoC: cs4270: fix Master Capture Switch polarity Timur Tabi
2009-04-24 16:08   ` Daniel Mack
2009-04-24 16:13     ` Timur Tabi
2009-04-24 16:21       ` Daniel Mack
2009-04-26  9:49   ` Mark Brown
2009-04-26 11:08     ` Takashi Iwai [this message]
2009-04-26 11:21       ` Mark Brown
2009-04-26 16:56         ` Takashi Iwai
2009-04-26 11:30       ` Daniel Mack
2009-04-26 16:52         ` Takashi Iwai
2009-04-27  9:37           ` Daniel Mack
2009-04-27  9:38             ` Mark Brown
2009-04-27 12:54               ` Timur Tabi
2009-04-27 13:53 ` Timur Tabi

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=s5hmya3wu3d.wl%tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@sirena.org.uk \
    --cc=timur@freescale.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox