Repository navigation
Conversation
libVLC's volume is shared by all players of the process on Windows, so muting through the volume muted or unmuted every copy. Refs Cimbali#364.
youms
force-pushed
the
fix/vlc-mute-noaudio
branch
from
October 28, 2026 13:17
222a512 to
a6f15bf
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #364.
On Windows, libVLC's volume is the volume of the process's audio session, the entry in the Windows volume mixer that Windows remembers across runs. Every Pympress player shares it, so muting the presenter's copy of a video through
audio_set_volume(0)also mutes the content window's, and the other way round.A muted player now opens its media with VLC's
:no-audiooption, so it has no audio track and the shared volume is left alone.mute()records the state and reopens the media, unless the player is playing, in which case it applies from the next start.Changes
media_overlays/vlc_backend.pyonly.This applies to
mainas it is today. It edits lines that #369 (for #363) and #371 (for #367) also touch, so whichever of those merges first, I will rebase this one. I tested it on top of #363 and #367, since I expect those two to land first. The deck is 1080p with stereo AAC audio on slide 7. I visited slide 7 twice and read the libVLC console (--verbose=2):audio is disabled, not selecting ESline.audio is disabled, not selecting ESlines (the content window's player, one per visit).Not tested: the GStreamer backend (unchanged), other platforms, muting while a clip is already playing (applies from the next start, as described).