fluidsynth: update from now deprecated api
authorJordan Petridis <jordan@centricular.com>
Tue, 5 Jul 2022 14:32:12 +0000 (17:32 +0300)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Sat, 9 Jul 2022 14:19:11 +0000 (14:19 +0000)
commit2fa6ec8733687afd9c76c7265bfa0d85a9516666
treea3f408209625ee10af57f90553c07e576b483fa7
parent18f2f83b4a964e04c6aebcde762259dc8668ad8b
fluidsynth: update from now deprecated api

fluid_synth_set_chorus_on and fluid_synth_set_reverb_on were
deprecated in favor of new funtions where you can also specify
the fx_group the effect would apply.

The behavior of the set_* variants was to apply to all groups
so we pass -1 to the new functions as per documentation.

https://www.fluidsynth.org/api/group__chorus__effect.html#ga3c48310eecdca9cd338799d19f19c32d

and

https://www.fluidsynth.org/api/group__reverb__effect.html#gacb7917564c988cf54f2e35189b509c8e

and the introduction of the change:

https://github.com/FluidSynth/fluidsynth/pull/673

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2718>
subprojects/gst-plugins-bad/ext/fluidsynth/gstfluiddec.c
subprojects/gst-plugins-bad/ext/fluidsynth/meson.build