mirror of
https://git.cavemanon.xyz/Cavemanon/SnootGame.git
synced 2025-02-02 06:46:34 +01:00
new mixer
This commit is contained in:
parent
665ee694ba
commit
8f6393ab79
2 changed files with 8 additions and 2 deletions
|
@ -53,7 +53,7 @@ define config.play_channel = "uisounds"
|
|||
|
||||
##Custom Channels?
|
||||
init -1 python:
|
||||
renpy.music.register_channel("uisounds", "voice", loop=False, stop_on_mute=True)
|
||||
renpy.music.register_channel("uisounds", "ui", loop=False, stop_on_mute=True)
|
||||
|
||||
|
||||
## To allow the user to play a test sound on the sound or voice channel,
|
||||
|
|
|
@ -912,6 +912,12 @@ screen preferences():
|
|||
hbox:
|
||||
bar value Preference("music volume")
|
||||
|
||||
if config.has_music:
|
||||
label _("UI Sounds Volume")
|
||||
|
||||
hbox:
|
||||
bar value Preference("ui volume")
|
||||
|
||||
if config.has_sound:
|
||||
|
||||
label _("Sound Volume")
|
||||
|
@ -932,7 +938,7 @@ screen preferences():
|
|||
if config.sample_voice:
|
||||
textbutton _("Test") action Play("voice", config.sample_voice)
|
||||
|
||||
if config.has_music or config.has_sound or config.has_voice:
|
||||
if config.has_music or config.has_sound or config.has_voice or config.has_ui:
|
||||
null height gui.pref_spacing
|
||||
|
||||
textbutton _("Mute All"):
|
||||
|
|
Loading…
Reference in a new issue