Movie audio channel not mute

In this forum we discuss the future of Ren'Py, both bug fixes and longer-term development. Pre-releases are announced and discussed here.
Post Reply
Message
Author
User avatar
Divona
Miko-Class Veteran
Posts: 678
Joined: Sun Jun 05, 2016 8:29 pm
Completed: The Falconers: Moonlight
Organization: Bionic Penguin
itch: bionicpenguin
Contact:

Movie audio channel not mute

#1 Post by Divona »

When use Preference("all mute", "toggle") the movie file play by renpy.movie_cutscene() is still playing sound. Problem does not exist if the sound volume is set to 0 manually instead of set to mute.

I have tried set "movie" channel to use another mixer, it still giving the same result.

Code: Select all

renpy.music.register_channel("movie", mixer="movie_sfx", loop=False, stop_on_mute=False, tight=True, buffer_queue=False, movie=True)
This problem also exist in newly create project.

My current work around is using the following code:

Code: Select all

if _preferences.get_volume("sfx") == 0:
    $ renpy.music.set_volume(0, 0, channel="movie")

$ renpy.movie_cutscene("movie.webm")
Is there a fix for this issue?
Completed:
Image

User avatar
PyTom
Ren'Py Creator
Posts: 16088
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Movie audio channel not mute

#2 Post by PyTom »

I'll look into this. The current mute code disables playback entirely, but I can look into making movie-mute simply affect the volume.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

Post Reply

Who is online

Users browsing this forum: No registered users