[Scummvm-git-logs] scummvm master -> cc27c959c0a230218c84698b4736fca8a0e6e634
lephilousophe
noreply at scummvm.org
Fri Jul 24 11:21:39 UTC 2026
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
cc27c959c0 AUDIO: Prevent loading of Fluidsynth audio drivers
Commit: cc27c959c0a230218c84698b4736fca8a0e6e634
https://github.com/scummvm/scummvm/commit/cc27c959c0a230218c84698b4736fca8a0e6e634
Author: Le Philousophe (lephilousophe at users.noreply.github.com)
Date: 2026-07-24T13:15:02+02:00
Commit Message:
AUDIO: Prevent loading of Fluidsynth audio drivers
We don't use them and they can cause crashes.
Changed paths:
audio/softsynth/fluidsynth.cpp
diff --git a/audio/softsynth/fluidsynth.cpp b/audio/softsynth/fluidsynth.cpp
index 4371aea495e..523546b90c0 100644
--- a/audio/softsynth/fluidsynth.cpp
+++ b/audio/softsynth/fluidsynth.cpp
@@ -333,6 +333,15 @@ int MidiDriver_FluidSynth::open() {
if (_isOpen)
return MERR_ALREADY_OPEN;
+#if !defined(USE_FLUIDLITE) && (FS_API_VERSION > 0x0101 || \
+ (FS_API_VERSION == 0x0101 && FLUIDSYNTH_VERSION_MICRO >= 9))
+ // This function got introduced in 1.1.9
+ // Disable every audio drivers
+ // We don't use them and they can cause crashes
+ static const char *fluid_audio_drivers[] = { nullptr };
+ fluid_audio_driver_register(fluid_audio_drivers);
+#endif
+
fluid_set_log_function(FLUID_PANIC, logHandler, nullptr);
fluid_set_log_function(FLUID_ERR, logHandler, nullptr);
fluid_set_log_function(FLUID_WARN, logHandler, nullptr);
More information about the Scummvm-git-logs
mailing list