From mboxrd@z Thu Jan 1 00:00:00 1970 From: Clemens Ladisch Subject: Re: On mixer controls naming Date: Mon, 13 Jan 2014 12:12:40 +0100 Message-ID: <52D3CA28.3070500@ladisch.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by alsa0.perex.cz (Postfix) with ESMTP id 76E552608B7 for ; Mon, 13 Jan 2014 12:12:43 +0100 (CET) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: "R. Lemos" , alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org R. Lemos wrote: > The other control I've named "Tone Control - Bass", as indicated in > writing-an-alsa-driver.pdf. But alsamixer shows it under both > "Playback" and "Capture" views. > > How can I restrict this latter control to just playback? For a control to be classified as a playback control, its name must have one of the suffixes " Playback Enum", " Playback Switch", " Playback Route", or " Playback Volume". Regards, Clemens