[pulseaudio-discuss] [PATCH] check if mixer is volume control before using it
Lennart Poettering
lennart at poettering.net
Wed Jan 7 16:15:32 PST 2009
On Mon, 08.12.08 22:03, Adel Gadllah (adel.gadllah at gmail.com) wrote:
> Hi,
>
> On my system the "Master" mixer is just an odd switch, while "PCM" is
> the real one. (discussion in #fedora-desktop)
I have now commited a more sophisticated patch that accomplishes the
same. (c245050)
This will now prefer volume controls with both a mute switch and a
volume slider over those that have only a volume slider over those
which have only a mute switch. This should fix your problem.
Hmm, you said using the switch-only control triggered other volume
handling bugs in PA. Is that true? Looking at the code I am pretty
sure I handle this case correctly and the ALSA sink should still use
the hw mute switch but fall back to software voolume control. And I
cannot spot any bug in that code. Could you please elaborate!
Sorry for the long delay fixing this,
Lennart
--
Lennart Poettering Red Hat, Inc.
lennart [at] poettering [dot] net ICQ# 11060553
http://0pointer.net/lennart/ GnuPG 0x1A015CC4
More information about the pulseaudio-discuss
mailing list