[pulseaudio-tickets] [Bug 55262] If volume was at 0% at shutdown upon reboot it's at 100%.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Sep 24 08:25:14 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=55262

--- Comment #3 from Tanu Kaskinen <tanuk at iki.fi> ---
module-device-restore fails to load the saved volume, because when the volume
is originally set and saved, it's saved for the current port. But when
module-device-restore tries to restore the volume, the port of the new sink is
not yet known, unless it has been restored too.

The sink port will only be restored if the user has manually changed it. So, a
workaround for this problem is to change the sink port to something else and
then back, for example with pavucontrol (go to the Output Devices tab and
change the Port of the appropriate device).

How to fix this then? pa_device_port should be extended to store the port
volume, and then module-card-restore can restore the port volumes. Once the
port volumes are properly restored, the sink volume can then be just copied
from the port once it has been chosen.

I'm not volunteering to do the fix in the near future. Hopefully someone else
will pick up this...

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20120924/e9d941e0/attachment-0001.html>


More information about the pulseaudio-bugs mailing list