From b37ddf9086e6325ab0e3c5d50a87a7768cdaa26c Mon Sep 17 00:00:00 2001 From: xtremeqg Date: Wed, 20 Nov 2024 13:30:21 +0200 Subject: [PATCH] Separate music volume from "main" volume. --- src/frontmenu_options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontmenu_options.c b/src/frontmenu_options.c index c9c8e84318..a472c1b126 100644 --- a/src/frontmenu_options.c +++ b/src/frontmenu_options.c @@ -317,7 +317,6 @@ void gui_set_sound_volume(struct GuiButton *gbtn) settings.sound_volume = new_val; save_settings(); SetSoundMasterVolume(new_val); - SetMusicMasterVolume(new_val); for (int i = 0; i <= EXTERNAL_SOUNDS_COUNT; i++) { if (Ext_Sounds[i] != NULL) @@ -332,6 +331,7 @@ void gui_set_music_volume(struct GuiButton *gbtn) settings.redbook_volume = make_audio_slider_nonlinear(gbtn->content.lval); save_settings(); SetMusicPlayerVolume(settings.redbook_volume); + SetMusicMasterVolume(settings.redbook_volume); } void gui_set_mentor_volume(struct GuiButton *gbtn)