From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: How to implement capture_switch control? Date: Wed, 22 Jun 2011 14:06:44 +0100 Message-ID: <20110622130644.GG23666@sirena.org.uk> References: <20110621015149.GA3753@sirena.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from cassiel.sirena.org.uk (cassiel.sirena.org.uk [80.68.93.111]) by alsa0.perex.cz (Postfix) with ESMTP id CC8D31039F7 for ; Wed, 22 Jun 2011 15:06:44 +0200 (CEST) Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Adam Jiang Cc: Alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org On Wed, Jun 22, 2011 at 04:56:26PM +0900, Adam Jiang wrote: > 2011/6/21 Mark Brown : > > 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