Commit ceb53966 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

FLUID_FAILED is not defined in version 1.0.x

(cherry picked from commit 3eacdd5ad7445d1620f9e249014b5e6d124d5017)
parent b4d29ff5
...@@ -40,6 +40,7 @@ ...@@ -40,6 +40,7 @@
#if (FLUIDSYNTH_VERSION_MAJOR < 1) \ #if (FLUIDSYNTH_VERSION_MAJOR < 1) \
|| (FLUIDSYNTH_VERSION_MAJOR == 1 && FLUIDSYNTH_VERSION_MINOR < 1) || (FLUIDSYNTH_VERSION_MAJOR == 1 && FLUIDSYNTH_VERSION_MINOR < 1)
# define FLUID_FAILED (-1)
# define fluid_synth_sysex(synth, ptr, len, d, e, f, g) (FLUID_FAILED) # define fluid_synth_sysex(synth, ptr, len, d, e, f, g) (FLUID_FAILED)
# define fluid_synth_system_reset(synth) (FLUID_FAILED) # define fluid_synth_system_reset(synth) (FLUID_FAILED)
# define fluid_synth_channel_pressure(synth, channel, p) (FLUID_FAILED) # define fluid_synth_channel_pressure(synth, channel, p) (FLUID_FAILED)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment