diff --git a/audio/softsynth/mt32/SampleRateConverter.cpp b/audio/softsynth/mt32/SampleRateConverter.cpp index aec13263a3e..7beac346b70 100644 --- a/audio/softsynth/mt32/SampleRateConverter.cpp +++ b/audio/softsynth/mt32/SampleRateConverter.cpp @@ -14,7 +14,9 @@ * along with this program. If not, see . */ -#include +#define MT32EMU_WITH_LIBSOXR_RESAMPLER 0 +#define MT32EMU_WITH_LIBSAMPLERATE_RESAMPLER 0 +#define MT32EMU_WITH_INTERNAL_RESAMPLER 1 #include "SampleRateConverter.h" diff --git a/audio/softsynth/mt32/module.mk b/audio/softsynth/mt32/module.mk index 7c50f3edaac..5b7a602bb65 100644 --- a/audio/softsynth/mt32/module.mk +++ b/audio/softsynth/mt32/module.mk @@ -21,6 +21,12 @@ MODULE_OBJS := \ TVP.o \ sha1/sha1.o \ c_interface/c_interface.o \ + srchelper/InternalResampler.o \ + srchelper/srctools/src/FIRResampler.o \ + srchelper/srctools/src/IIR2xResampler.o \ + srchelper/srctools/src/LinearResampler.o \ + srchelper/srctools/src/ResamplerModel.o \ + srchelper/srctools/src/SincResampler.o \ SampleRateConverter.o # Include common rules