[pulseaudio-tickets] [Bug 77925] vlc player instances interchange volume and mute settings

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Apr 26 02:09:38 PDT 2014


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

--- Comment #1 from Tanu Kaskinen <tanuk at iki.fi> ---
All vlc instances probably share the same entry in the module-stream-restore
database, so they all share the same volume. You can check the stream-restore
classification by running "pactl list sink-inputs". If all VLC streams have the
same "module-stream-restore.id" property value, then they all share the same
volume.

The fact that the volume jumps on track changes can be considered a PulseAudio
bug. In my opinion when you change the volume of one VLC instance, the volume
of all VLC instances should change immediately, and this is something that
could be fixed in PulseAudio.

You probably don't want all VLC instances to share the volume in that way,
however. You could disable volume restoring in PulseAudio by commenting out
module-stream-restore in default.pa, but that's not really ideal either - you
may still want to restore the volume for other applications.

Here's a workaround that might be good enough for you: when you start a VLC
instance, set environment variable
PULSE_PROP_module-stream-restore.id=something. Replace "something" with
different strings for different VLC instances. You can choose the id string
freely. That should make each VLC instance have independent volume. One caveat:
the module-stream-restore.id property isn't part of any stable interface, so
this may stop working at some point in the future. I don't think it will stop
working any time soon, though.

-- 
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/20140426/5a24044e/attachment.html>


More information about the pulseaudio-bugs mailing list