SHA256
1
0
forked from pool/gzdoom
gzdoom/fl2.patch

24 lines
923 B
Diff

---
src/sound/mididevices/music_fluidsynth_mididevice.cpp | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
Index: gzdoom-3.6.0/src/sound/mididevices/music_fluidsynth_mididevice.cpp
===================================================================
--- gzdoom-3.6.0.orig/src/sound/mididevices/music_fluidsynth_mididevice.cpp
+++ gzdoom-3.6.0/src/sound/mididevices/music_fluidsynth_mididevice.cpp
@@ -78,10 +78,13 @@ extern "C" unsigned __stdcall GetSystemD
#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 --------------------------------------------