From b78d75280362af62d4474a2a7d51ec5070d1509a Mon Sep 17 00:00:00 2001 From: Roman Fomin Date: Mon, 3 Jul 2023 16:59:59 +0700 Subject: [PATCH] fix pause for Fluidsynth 2.3.3 version --- src/i_flmusic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/i_flmusic.c b/src/i_flmusic.c index 40aedc97..e978e25c 100644 --- a/src/i_flmusic.c +++ b/src/i_flmusic.c @@ -309,7 +309,7 @@ static void I_FL_PauseSong(void *handle) { if (player) { - fluid_player_stop(player); + I_OAL_HookMusic(NULL); } } @@ -317,7 +317,7 @@ static void I_FL_ResumeSong(void *handle) { if (player) { - fluid_player_play(player); + I_OAL_HookMusic(FL_Callback); } }