From 41163331aa882765e528c0e716f6e49cee2411cb Mon Sep 17 00:00:00 2001 From: Milek7 Date: Sun, 12 Jan 2020 15:21:16 +0100 Subject: Fix: Silence all notes when stopping song in fluidsynth --- src/music/fluidsynth.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/music/fluidsynth.cpp b/src/music/fluidsynth.cpp index 3b4789c66..89cb7273f 100644 --- a/src/music/fluidsynth.cpp +++ b/src/music/fluidsynth.cpp @@ -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; } -- cgit v1.2.3-54-g00ecf