diff --git a/subprojects/gst-plugins-bad/ext/fluidsynth/gstfluiddec.c b/subprojects/gst-plugins-bad/ext/fluidsynth/gstfluiddec.c index c53325526a..82f6668c88 100644 --- a/subprojects/gst-plugins-bad/ext/fluidsynth/gstfluiddec.c +++ b/subprojects/gst-plugins-bad/ext/fluidsynth/gstfluiddec.c @@ -200,8 +200,8 @@ gst_fluid_dec_init (GstFluidDec * filter) filter->synth = new_fluid_synth (filter->settings); filter->sf = -1; - fluid_synth_set_chorus_on (filter->synth, filter->synth_chorus); - fluid_synth_set_reverb_on (filter->synth, filter->synth_reverb); + fluid_synth_chorus_on (filter->synth, -1, filter->synth_chorus); + fluid_synth_reverb_on (filter->synth, -1, filter->synth_reverb); fluid_synth_set_gain (filter->synth, filter->synth_gain); fluid_synth_set_polyphony (filter->synth, filter->synth_polyphony); } @@ -634,11 +634,11 @@ gst_fluid_dec_set_property (GObject * object, guint prop_id, break; case PROP_SYNTH_CHORUS: fluiddec->synth_chorus = g_value_get_boolean (value); - fluid_synth_set_chorus_on (fluiddec->synth, fluiddec->synth_chorus); + fluid_synth_chorus_on (fluiddec->synth, -1, fluiddec->synth_chorus); break; case PROP_SYNTH_REVERB: fluiddec->synth_reverb = g_value_get_boolean (value); - fluid_synth_set_reverb_on (fluiddec->synth, fluiddec->synth_reverb); + fluid_synth_reverb_on (fluiddec->synth, -1, fluiddec->synth_reverb); break; case PROP_SYNTH_GAIN: fluiddec->synth_gain = g_value_get_double (value); diff --git a/subprojects/gst-plugins-bad/ext/fluidsynth/meson.build b/subprojects/gst-plugins-bad/ext/fluidsynth/meson.build index 278b697f2b..672ad4fcc9 100644 --- a/subprojects/gst-plugins-bad/ext/fluidsynth/meson.build +++ b/subprojects/gst-plugins-bad/ext/fluidsynth/meson.build @@ -1,4 +1,4 @@ -fluidsynth_dep = dependency('fluidsynth', version : '>= 1.0', required : get_option('fluidsynth')) +fluidsynth_dep = dependency('fluidsynth', version : '>= 2.1', required : get_option('fluidsynth')) if fluidsynth_dep.found() gstfluidsynth = library('gstfluidsynthmidi',