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

Compile time support for FluidSynth 1.0

Packagers shall be responsible for fixing FluidSynth thread-safety
issues if they choose to use this old buggy version.
(cherry picked from commit 5e896a268cc1c11ad1934aa70c378e0f94d12372)
parent 89953037
......@@ -38,6 +38,13 @@
#include <fluidsynth.h>
#if (FLUIDSYNTH_VERSION_MAJOR < 1) \
|| (FLUIDSYNTH_VERSION_MAJOR == 1 && FLUIDSYNTH_VERSION_MINOR < 1)
# define fluid_synth_sysex(synth, ptr, len, d, e, f, g) (FLUID_FAILED)
# define fluid_synth_system_reset(synth) (FLUID_FAILED)
# define fluid_synth_channel_pressure(synth, channel, p) (FLUID_FAILED)
#endif
#define SOUNDFONT_TEXT N_("Sound fonts (required)")
#define SOUNDFONT_LONGTEXT N_( \
"A sound fonts file is required for software synthesis." )
......
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