[alsa-devel] [PATCH 1/3] ASoC: cs4270: fix Master Capture Switch polarity

Timur Tabi timur at freescale.com
Fri Apr 24 18:13:08 CEST 2009


Daniel Mack wrote:

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

Beats me.  I'm the one asking questions!  But you still haven't told me
the difference between "------" and "L    R".  Does "------" mean that
capture should be muted, because it's been switched off?

> 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

I guess it's an alsamixer bug.

-- 
Timur Tabi
Linux kernel developer at Freescale


More information about the Alsa-devel mailing list