From babbd44e640c32d7fe4f0abe90202e899feb3132 Mon Sep 17 00:00:00 2001 From: Emanuele Disco Date: Tue, 12 Apr 2022 15:20:47 +0900 Subject: [PATCH] - fixed fluidsynth settings getting reset to default during midi init playback sequence --- source/mididevices/music_fluidsynth_mididevice.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/mididevices/music_fluidsynth_mididevice.cpp b/source/mididevices/music_fluidsynth_mididevice.cpp index 6a0529e..d0478af 100644 --- a/source/mididevices/music_fluidsynth_mididevice.cpp +++ b/source/mididevices/music_fluidsynth_mididevice.cpp @@ -257,7 +257,8 @@ FluidSynthMIDIDevice::~FluidSynthMIDIDevice() int FluidSynthMIDIDevice::OpenRenderer() { - fluid_synth_system_reset(FluidSynth); + // Send MIDI system reset command (big red 'panic' button), turns off notes, resets controllers and restores initial basic channel configuration. + //fluid_synth_system_reset(FluidSynth); return 0; }