[pulseaudio-discuss] RFC: Saving volumes when suspended

Colin Guthrie gmane at colin.guthr.ie
Tue Jan 5 03:18:35 PST 2010


Hi,

It seems that there is conflict between GDM and real user accounts which
is affecting volume saving.

The short description of the problem is that after logout, your user's
PA remains until the exit timeout but still processes volume saves. As
you logout, GDM is spawned and restores the volume to the value it has
in it's m-d-r database, your PA notices this "change from ALSA" and
saves it thus overwriting the real volume you left it with.

More detailed info here:
http://pulseaudio.org/ticket/572#comment:19


So, what to do about this?

I propose that while consolekit says our user is inactive we ignore any
volume changes that come in via alsa. When our user becomes active, we
restore the device volumes.

Comments?

Col

-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
  Mandriva Linux Contributor [http://www.mandriva.com/]
  PulseAudio Hacker [http://www.pulseaudio.org/]
  Trac Hacker [http://trac.edgewall.org/]




More information about the pulseaudio-discuss mailing list