1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-31 02:19:09 +00:00

Fix: Silence all notes when stopping song in fluidsynth

This commit is contained in:
Milek7
2020-01-12 15:21:16 +01:00
committed by Charles Pigott
parent 1ab3fe6b85
commit 41163331aa

View File

@@ -136,6 +136,7 @@ void MusicDriver_FluidSynth::StopSong()
}
delete_fluid_player(_midi.player);
fluid_synth_system_reset(_midi.synth);
fluid_synth_all_sounds_off(_midi.synth, -1);
_midi.player = nullptr;
}