Re: [PATCH 1/3] ASoC: cs4270: fix Master Capture Switch polarity

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
> 
> I have a question.  In alsamixer, the capture switch looks either like this:
> 
>                             ------
> 
>                           < Master >
> 
> or like this:
> 
> 
>                             L    R
>                             CAPTUR
> 
>                           < Master >
> 
> What exactly does this mean?  Which one is supposed to mean "muted"?

The switch's name is 'Master Capture Switch' which means to me that it
is a thing that switches the capture on and off, and hence, it should be
set to 'on' for normal operation. If it was meant to mute the input
when switched on, the name should be 'Master Caputure Mute Switch' or
something, right?

> 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.

Don't know about the alsamixer tool, but with amixer, you can set the
channels individually with the following syntax:

$ amixer cset numid=8 on,off
numid=8,iface=MIXER,name='Master Playback Switch'
  ; type=BOOLEAN,access=rw------,values=2
  : values=on,off

Daniel

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux