[alsa-devel] [PATCH] Add support for gain in softvol plugin
stevel at embeddedalley.com
Mon May 14 21:37:15 CEST 2007
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):
> Otherwise it looks fine to me.
More information about the Alsa-devel