fluiddec: Avoid deprecated fluid_synth_set_sample_rate
authorJan Alexander Steffens (heftig) <jan.steffens@gmail.com>
Wed, 5 Feb 2020 10:17:32 +0000 (11:17 +0100)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 11 Feb 2020 12:10:50 +0000 (12:10 +0000)
commitc35e80dc0e6f820c6e5eaf3addcfa758136c27d6
tree2d6a8a376a099fd4670814ad73723fc7cb60297e
parent3df3c3c5f6c5adc0a73a6470da253ea6b8e6bb6d
fluiddec: Avoid deprecated fluid_synth_set_sample_rate

This function is used to change the rate at runtime, which has issues:
https://github.com/FluidSynth/fluidsynth/issues/585

Use the settings key instead (which already defaults to 44100, but I did
test other rates).

https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/merge_requests/1026
ext/fluidsynth/gstfluiddec.c