mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 13:11:06 +00:00
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:
parent
43209d0ee6
commit
a7f9c97454
1 changed files with 5 additions and 0 deletions
|
@ -62,6 +62,11 @@
|
|||
GST_DEBUG_CATEGORY_STATIC (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
|
||||
{
|
||||
/* FILL ME */
|
||||
|
|
Loading…
Reference in a new issue