fix pause for Fluidsynth 2.3.3 version

This commit is contained in:
Roman Fomin 2023-07-03 16:59:59 +07:00
parent 1d269da0f9
commit b78d752803

View File

@ -309,7 +309,7 @@ static void I_FL_PauseSong(void *handle)
{ {
if (player) if (player)
{ {
fluid_player_stop(player); I_OAL_HookMusic(NULL);
} }
} }
@ -317,7 +317,7 @@ static void I_FL_ResumeSong(void *handle)
{ {
if (player) if (player)
{ {
fluid_player_play(player); I_OAL_HookMusic(FL_Callback);
} }
} }