Page 1 of 1

VLC suddenly unmutes after playlist-loop

Posted: 23 Dec 2020 05:15
by Hampelmen
Hello,

the following is basically a bug, but I can't nail it down at the moment. Maybe other people have a similar problem.

I start my vlc with:

Code: Select all

/usr/bin/vlc --no-one-instance

Here's the situation:
  • I always have one vlc instance running, that play a single long audio track in a loop with muted sound (let's call it instance "A")
  • I open another player playing music or video with sound (not muted); They always start with muted sound, probably because instance A is running muted. So I always unmute them before I'm able to listen (this is not a problem)
  • On a certain point I close all "other" instances of vlc and leave only instace A running.
  • Here's the bug: Sometimes when the loop of instance A finishes and the track restarts, the "mute"-state gets "resolved" - meaning, the player is not muted anymore.
My guess:
Somehow, under certain circumstances, the volume settings of other instances set the volume settings for instance A.
Maybe because vlc completely reloads certain details from disk after a playlist is finished playing and starts again.

Unfortunately I cannot reproduce it on purpose, yet.

Regards

Re: VLC suddenly unmutes after playlist-loop

Posted: 23 Dec 2020 11:21
by RĂ©mi Denis-Courmont
The initial volume and mute flag for any stream is determined by the audio output. If you use PulseAudio, it's whatever the PulseAudio daemon decide. If not (ALSA), then VLC will restore the value from its configuration, which is of course shared by all instances of one single system user.