diff --git a/src/decoder_fluidsynth.cpp b/src/decoder_fluidsynth.cpp index a4d6bf3c925..2c6506d023e 100644 --- a/src/decoder_fluidsynth.cpp +++ b/src/decoder_fluidsynth.cpp @@ -347,4 +347,8 @@ fluid_synth_t *FluidSynthDecoder::GetSynthInstance() { } } +bool FluidSynthDecoder::NeedsSoftReset() { + return true; +} + #endif diff --git a/src/decoder_fluidsynth.h b/src/decoder_fluidsynth.h index a5e2896d8f3..f0799413e30 100644 --- a/src/decoder_fluidsynth.h +++ b/src/decoder_fluidsynth.h @@ -69,6 +69,8 @@ class FluidSynthDecoder : public MidiDecoder { #endif }; + bool NeedsSoftReset() override; + private: #if defined(HAVE_FLUIDSYNTH) || defined(HAVE_FLUIDLITE) fluid_synth_t* GetSynthInstance();