[alsa-devel] How to implement capture_switch control?

Mark Brown broonie at opensource.wolfsonmicro.com
Wed Jun 22 15:06:44 CEST 2011

On Wed, Jun 22, 2011 at 04:56:26PM +0900, Adam Jiang wrote:
> 2011/6/21 Mark Brown <broonie at opensource.wolfsonmicro.com>:
> > On Mon, Jun 20, 2011 at 04:15:38PM +0900, Adam Jiang wrote:

> > If the hardware does not physically support mute then this should be
> > emulated in software. ?In the case of the WM8903 the device does not
> > have a specific capture mute control, though extremely low gains are
> > supported for the Capture Volume control which function as a mute so
> > you could also set minimum Capture Volume.

> I got the idea about software emulation for mute. Would you please
> point me to an example about device/driver where hardware capture
> switch is supported?

grep "Capture Switch" sound/soc/codecs/*.c

More information about the Alsa-devel mailing list