mirror of https://code.videolan.org/videolan/vlc
fluidsynth: require version 1.1.x
1.0.x is full of memory leaks and race conditions, and lacks features.
This commit is contained in:
parent
8b970ddcb0
commit
9419d728df
|
@ -2830,7 +2830,7 @@ fi
|
|||
dnl
|
||||
dnl libfluidsynth (MIDI synthetizer) plugin
|
||||
dnl
|
||||
PKG_ENABLE_MODULES_VLC([FLUIDSYNTH], [], [fluidsynth], [MIDI synthetiser with libfluidsynth], [auto])
|
||||
PKG_ENABLE_MODULES_VLC([FLUIDSYNTH], [], [fluidsynth >= 1.1.0], [MIDI synthetiser with libfluidsynth], [auto])
|
||||
|
||||
dnl
|
||||
dnl Teletext Modules
|
||||
|
|
|
@ -45,14 +45,6 @@
|
|||
|
||||
#include <fluidsynth.h>
|
||||
|
||||
#if (FLUIDSYNTH_VERSION_MAJOR < 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_system_reset(synth) (FLUID_FAILED)
|
||||
# define fluid_synth_channel_pressure(synth, channel, p) (FLUID_FAILED)
|
||||
#endif
|
||||
|
||||
#define SOUNDFONT_TEXT N_("Sound fonts")
|
||||
#define SOUNDFONT_LONGTEXT N_( \
|
||||
"A sound fonts file is required for software synthesis." )
|
||||
|
|
Loading…
Reference in New Issue