From: Takashi Iwai Subject: Re: Alsamixer naming conventions Date: Tue, 19 Sep 2006 16:49:19 +0200 Message-ID: References: <64cf23610609190458hea9a617w98e4f31f7f50d759@mail.gmail.com> <64cf23610609190521h1ef0251md7f04be932e0da6@mail.gmail.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <64cf23610609190521h1ef0251md7f04be932e0da6@mail.gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@lists.sourceforge.net Errors-To: alsa-devel-bounces@lists.sourceforge.net To: Vishwas P S Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Tue, 19 Sep 2006 17:51:23 +0530, Vishwas P S wrote: > > Adding to the below mail, even if I define a component as "Master Playback Balance", > in the alsamixer window, I could see two components as "Master Playback Balance" and > "Master Playback Balance capture" .. > > I would like to know If I need to modify any other kcontrol fields to make it only for > playback or only for capture.. The playback- and capture-specific control names have a style "XXX (Payback|Catpure) (Switch|Volume)", such as "Master Playback Switch" or "Mic Capture Volume". The other suffices are not parsed as the valid playback/capture modifies, so "Master Playback Balance" is handled as a global control element without directional information. It's a recent feature (or bug) of alsa-lib that global mixer elements are handled as both playback and capture elements in the mixer abstraction layer. (In the earlier version, it appeared only in playback.) I don't like this new feature, too, honestly. Anyway, in your case, rename it like "Master Balance Playback Switch" or so. Then it should be handled as "Master Balance" for playback. Takashi ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV