From f16c09badb03ff7f101fe95475e6086bfb316f50 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 16 Oct 2018 14:29:56 +0200 Subject: [PATCH] Make the build work with fluidsynth 2.x. --- src/sound/mididevices/music_fluidsynth_mididevice.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/sound/mididevices/music_fluidsynth_mididevice.cpp b/src/sound/mididevices/music_fluidsynth_mididevice.cpp index bf3b6d061a..3e1932275e 100644 --- a/src/sound/mididevices/music_fluidsynth_mididevice.cpp +++ b/src/sound/mididevices/music_fluidsynth_mididevice.cpp @@ -148,10 +148,13 @@ extern "C" unsigned __stdcall GetSystemDirectoryA(char *lpBuffer, unsigned uSize #define FLUID_CHORUS_DEFAULT_LEVEL 2.0f #define FLUID_CHORUS_DEFAULT_SPEED 0.3f #define FLUID_CHORUS_DEFAULT_DEPTH 8.0f -#define FLUID_CHORUS_DEFAULT_TYPE FLUID_CHORUS_MOD_SINE #endif +#ifndef FLUID_CHORUS_DEFAULT_TYPE +#define FLUID_CHORUS_DEFAULT_TYPE FLUID_CHORUS_MOD_SINE +#endif + // TYPES ------------------------------------------------------------------- // EXTERNAL FUNCTION PROTOTYPES --------------------------------------------