From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Longerbeam Subject: Re: [PATCH] Add support for gain in softvol plugin Date: Thu, 17 May 2007 15:00:35 -0700 Message-ID: <464CD083.6090306@embeddedalley.com> References: <463A33D8.3090907@embeddedalley.com> <463A6100.3070708@embeddedalley.com> <463B5EFC.6080801@embeddedalley.com> <463B6E5C.70802@embeddedalley.com> <46437916.2050408@embeddedalley.com> <4648BA6B.3020101@embeddedalley.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from smtp105.biz.mail.re2.yahoo.com (smtp105.biz.mail.re2.yahoo.com [206.190.52.174]) by alsa0.perex.cz (Postfix) with SMTP id A9396244CF for ; Fri, 18 May 2007 00:00:53 +0200 (CEST) In-Reply-To: <4648BA6B.3020101@embeddedalley.com> 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, Jaroslav Kysela List-Id: alsa-devel@alsa-project.org Steve Longerbeam wrote: > Takashi Iwai wrote: > >> At Thu, 10 May 2007 12:57:10 -0700, >> Steve Longerbeam wrote: >> >> >>> Hi Takashi, >>> >>> Thanks, that's much better. I tried doing that myself a while ago, but I >>> must have been doing something wrong because the capture device wasn't >>> being recognized. But your version works. >>> >>> Version 4 of the patch is attached. It's much better, only two modified >>> files: pcm_softvol.c and HDA-Intel.conf. >>> >>> I also reduced the gain range, it's now -30 to +30 dB. >>> >>> >> I'm afraid that this choice would be bad for the current TLV >> representation. The default resolution is 256, so -30/30 dB range >> doesn't match to this resolution. We should change either resolution >> (e.g. 120, corresponding to 0.5dB step), or the range. >> >> > > ok, that's no problem. How about we change the range to (in HDA-Intel.conf): > > min_dB: -21.0 > max_dB: 30.0 > > > Hi Takashi, should I send another patch with this change? Steve >> Otherwise it looks fine to me. >> >> >> Thanks, >> >> Takashi >> >> >> > > _______________________________________________ > Alsa-devel mailing list > Alsa-devel@alsa-project.org > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel > >