[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4E2AE3C9.8060509@drcomp.erfurt.thur.de>
Date: Sat, 23 Jul 2011 17:07:53 +0200
From: Adrian Knoth <adi@...omp.erfurt.thur.de>
To: Fons Adriaensen <fons@...uxaudio.org>
CC: Tom Gundersen <teg@...m.no>,
General Discussion about Arch Linux
<arch-general@...hlinux.org>, Takashi Iwai <tiwai@...e.de>,
LKML <linux-kernel@...r.kernel.org>, alsa-devel@...a-project.org
Subject: Re: [arch-general] Panic - no sound devices after upgrade
On 07/23/11 16:21, Fons Adriaensen wrote:
Note: I suggest to narrow the CC list a bit and better move the
discussion to alsa-devel. At least, let's drop LKML and arch.
>>> Seems to have solved the problem :-) :-)
>> Good to know. I'll wait for your final confirmation and then commit it.
>
> One problem: the gain settings have changed, now having a range of 0..64.
> How do these values map to the internal ones (0..0xffff) ? I *hope* there
> is value corresponding to EXACTLY 0x8000 (gain = 1) !!!
For the simple ALSA mixer, the driver does
gain = ucontrol->value.integer.value[0]*UNITY_GAIN/64;
UNITY_GAIN is 32768 (0x8000), so if you select 64 on the ALSA side, it
gives you exactly what you need. Or in other words: faders to 100% in
alsamixer, that's it.
With hdspmixer or any other software that's using the full mixer, you
can still use the fine-grained 65k steps.
> BTW, why was this change made?
No idea. I reckon faberman was tired of stepping through 65k mixer
levels in alsamixer. ;) (disclaimer: I never used the old driver, so I
don't know how it was before)
Cheers
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists