fluidsynth: correctly version guard methods

We bumped the minimum version to 2.1 but the api we used
wasn't introduced till version 2.2 of fluidsynth

Follow-up to gstreamer/gstreamer!2718

https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2718

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2835>
This commit is contained in:
Jordan Petridis 2022-08-03 19:36:11 +03:00 committed by GStreamer Marge Bot
parent 43209d0ee6
commit a7f9c97454

View file

@ -62,6 +62,11 @@
GST_DEBUG_CATEGORY_STATIC (gst_fluid_dec_debug); GST_DEBUG_CATEGORY_STATIC (gst_fluid_dec_debug);
#define GST_CAT_DEFAULT gst_fluid_dec_debug #define GST_CAT_DEFAULT gst_fluid_dec_debug
#if !GST_HAVE_FLUIDSYNTH_VERSION(2, 2, 0)
#define fluid_synth_chorus_on(synth,fx_group,on) fluid_synth_set_chorus_on(synth,on)
#define fluid_synth_reverb_on(synth,fx_group,on) fluid_synth_set_reverb_on(synth,on)
#endif
enum enum
{ {
/* FILL ME */ /* FILL ME */