From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Jacobowitz Subject: Re: [RFC] [Patch 1/2] Add virtual master control Date: Sat, 22 Mar 2008 15:15:51 -0400 Message-ID: <20080322191551.GA16147@caradoc.them.org> References: <20080130151909.GA11068@caradoc.them.org> <20080321190855.GA24510@caradoc.them.org> <20080322153046.GA4439@caradoc.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from nan.false.org (NaN.false.org [208.75.86.248]) by alsa0.perex.cz (Postfix) with ESMTP id 22736103859 for ; Sat, 22 Mar 2008 20:15:54 +0100 (CET) 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: Takashi Iwai Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org On Sat, Mar 22, 2008 at 05:31:21PM +0100, Takashi Iwai wrote: > Thanks. This kind of change is basically good to apply, I think, but > a couple of things related are in my mind: > > - other AC97 codecs need similar hacks, so it could be done > cleaner (in a more generic way) than in each patch_*()? > - headphone and line-out have the similar issue - it's handled as a > bind-control right now, though > - what about if the device actually uses only two channels although > codec supports more than two? Then the additional master control > makes little sense. But, we have no way to know it from the codec > itself. Another quirk table? That's to be avoided... > > Since this is a non-urgent fix and I'll be on vacation for three weeks > from tomorrow, I'd like to keep this pending unless other developers > want to put this in. Is it OK? Fine with me. I don't think I can make broader changes than this kind, because I don't know much about AC97; maybe there can be a flag on recognized codecs saying which channels the front volume really controls? I noticed that the PCM mixer also only affected my front speakers. -- Daniel Jacobowitz CodeSourcery