VLC suddenly unmutes after playlist-loop

*nix specific usage questions
Hampelmen
New Cone
New Cone
Posts: 6
Joined: 01 Oct 2019 15:46

VLC suddenly unmutes after playlist-loop

Postby Hampelmen » 23 Dec 2020 05:15

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

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC suddenly unmutes after playlist-loop

Postby Rémi Denis-Courmont » 23 Dec 2020 11:21

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.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 3 guests