From: Takashi Iwai Subject: Re: dB gain Date: Mon, 29 May 2006 15:08:20 +0200 Message-ID: References: <4478A290.80702@superbug.co.uk> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.suse.de (cantor.suse.de [195.135.220.2]) by alsa.jcu.cz (ALSA's E-mail Delivery System) with ESMTP id 12E69168 for ; Mon, 29 May 2006 15:08:27 +0200 (MEST) In-Reply-To: <4478A290.80702@superbug.co.uk> 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: James Courtier-Dutton Cc: ALSA development List-Id: alsa-devel@alsa-project.org At Sat, 27 May 2006 20:03:44 +0100, James Courtier-Dutton wrote: > > Hi, > > I have made a new attempt at adding support for dB gain reports in > alsamixer. > > See the attached diffs against the current alsa hg repository. 27-5-2006 > > It shows an example of support for the snd-ca0106 driver. > As one can see, this adds minimal amounts of code to each sound card > driver. 22 new lines + 1 per volume control making 33 lines total. > > Any comments? Apart from some small implementation details, it looks almost fine. One remaining thing is the definition of protocol. Shouldn't be numid regardless of container type? Now the numid is checked inside the block of db container type. I think this can be outside. Also, a bit more sensible names are preferred for new stuff. "misc" sounds too ambiguous to me, and "info2" is... I'm not a native speaker, so I expect someone elese has better proposal. Takashi