Bug 77925 - vlc player instances interchange volume and mute settings
Summary: vlc player instances interchange volume and mute settings
Status: RESOLVED MOVED
Alias: None
Product: PulseAudio
Classification: Unclassified
Component: clients (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: pulseaudio-bugs
QA Contact: pulseaudio-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-25 13:35 UTC by g.schlisio
Modified: 2018-07-30 10:34 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description g.schlisio 2014-04-25 13:35:42 UTC
my different vlc instances interchange volume and mute settings on title change, this is annoying (e.g. if i watch a video and have radio in background).
i've reported this to vlc [0] but been pointed here.
my pulseaudio version is 5.0 on an up-to-date archlinux.
please indicate, if further info is required.

[0] https://trac.videolan.org/vlc/ticket/11334
Comment 1 Tanu Kaskinen 2014-04-26 09:09:38 UTC
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.
Comment 2 Mark Andrew Gerads 2017-12-29 16:47:19 UTC
This should be fixed. I listen to multiple pieces of music at the same time, and sometimes one song sounds about 80% the volume of the other songs I am listening to, meaning that it needs to be turned up to 125% volume to be heard. I like having the voices of multiple songs being as audible as the other voices.

Someone else had the same problem, and the VLC developers plan to not make a work-around: https://trac.videolan.org/vlc/ticket/11334
Comment 3 GitLab Migration User 2018-07-30 10:34:32 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/512.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.