From: Adrian Knoth <adi@drcomp.erfurt.thur.de>
To: Fons Adriaensen <fons@linuxaudio.org>
Cc: Tom Gundersen <teg@jklm.no>,
General Discussion about Arch Linux <arch-general@archlinux.org>,
Takashi Iwai <tiwai@suse.de>, LKML <linux-kernel@vger.kernel.org>,
alsa-devel@alsa-project.org
Subject: Re: [arch-general] Panic - no sound devices after upgrade
Date: Sat, 23 Jul 2011 17:07:53 +0200 [thread overview]
Message-ID: <4E2AE3C9.8060509@drcomp.erfurt.thur.de> (raw)
In-Reply-To: <20110723142117.GA21836@linuxaudio.org>
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
next prev parent reply other threads:[~2011-07-23 15:08 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20110719143758.GA15283@linuxaudio.org>
[not found] ` <CAFEhRJf-5U=cS3iptpvGEVSHV+S=aBF_mWfWkC_QMRty_WnoPA@mail.gmail.com>
[not found] ` <20110720131120.GA1836@linuxaudio.org>
[not found] ` <CAFEhRJd9ZCSpx52S__vMdWK18mhMQrRoU9R5zNaZE=wksLRTvg@mail.gmail.com>
[not found] ` <20110720153023.GA11502@linuxaudio.org>
[not found] ` <CAFEhRJczj=_B7fK7GvBEnqpB2GJGnCnGkoA2w5vzbFfM2wAGZw@mail.gmail.com>
[not found] ` <20110720163844.GB16901@linuxaudio.org>
[not found] ` <CAG-2HqWqATSJ=oJTTvULXwPEG82yN+8e6GJFs759hPA-=krAOQ@mail.gmail.com>
[not found] ` <20110721100944.GA13971@linuxaudio.org>
[not found] ` <CAG-2HqX23C79vfccnu0tMqx+6K9Z5pS0_HekaLizQx7XfkPQ1Q@mail.gmail.com>
[not found] ` <20110721112331.GA15059@linuxaudio.org>
2011-07-21 13:00 ` [arch-general] Panic - no sound devices after upgrade Tom Gundersen
2011-07-21 13:10 ` Fons Adriaensen
2011-07-21 14:01 ` Adrian Knoth
2011-07-21 17:25 ` Tom Gundersen
2011-07-21 19:02 ` Fons Adriaensen
2011-07-22 19:37 ` Fons Adriaensen
2011-07-22 23:14 ` Adrian Knoth
2011-07-23 14:21 ` Fons Adriaensen
2011-07-23 15:07 ` Adrian Knoth [this message]
2011-07-25 15:26 ` Fons Adriaensen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E2AE3C9.8060509@drcomp.erfurt.thur.de \
--to=adi@drcomp.erfurt.thur.de \
--cc=alsa-devel@alsa-project.org \
--cc=arch-general@archlinux.org \
--cc=fons@linuxaudio.org \
--cc=linux-kernel@vger.kernel.org \
--cc=teg@jklm.no \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox