From 7d149cd6bea7de8f42a9aaae1866cb7c8f75617d Mon Sep 17 00:00:00 2001 From: ceski <56656010+ceski-1@users.noreply.github.com> Date: Thu, 6 Feb 2025 00:09:39 -0800 Subject: [PATCH] Disable SysEx for FluidSynth --- src/Audio/MIDIPlayer.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Audio/MIDIPlayer.cpp b/src/Audio/MIDIPlayer.cpp index bd4762fe9..5cc962c6b 100644 --- a/src/Audio/MIDIPlayer.cpp +++ b/src/Audio/MIDIPlayer.cpp @@ -341,6 +341,9 @@ class FluidSynthMIDIPlayer : public MIDIPlayer if (!fs_driver_str.empty()) fluid_settings_setstr(fs_settings_, "audio.driver", fs_driver_str.c_str()); + // Disable SysEx + fluid_settings_setint(fs_settings_, "synth.device-id", 0); + // Create fluidsynth objects fs_synth_ = new_fluid_synth(fs_settings_); fs_player_ = new_fluid_player(fs_synth_);