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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user