From 49b8bedc867acb080ca450960c007c2a206898d0 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sat, 5 Oct 2019 11:23:46 +0300 Subject: [PATCH] - fixed: soundfont selection for FluidSynth was ignored --- libraries/zmusic/mididevices/music_fluidsynth_mididevice.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/zmusic/mididevices/music_fluidsynth_mididevice.cpp b/libraries/zmusic/mididevices/music_fluidsynth_mididevice.cpp index 6377e4b7d..fee61bcb7 100644 --- a/libraries/zmusic/mididevices/music_fluidsynth_mididevice.cpp +++ b/libraries/zmusic/mididevices/music_fluidsynth_mididevice.cpp @@ -573,6 +573,8 @@ extern "C" unsigned __stdcall GetSystemDirectoryA(char* lpBuffer, unsigned uSize void Fluid_SetupConfig(const char* patches, std::vector &patch_paths, bool systemfallback) { + if (*patches == 0) patches = fluidConfig.fluid_patchset.c_str(); + //Resolve the paths here, the renderer will only get a final list of file names. if (musicCallbacks.PathForSoundfont)