mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 21:59:17 +00:00
AUDIO: MT32: Fix Internal Sample Rate Converter Code
This was previously disabled implicitly by the missing define symbols in the SampleRateConvertor module. This has now been enabled to use the internal rate convertor code. This was generating undefined macro warnings from GCC when -Wundef was passed.
This commit is contained in:
parent
9afafb700c
commit
a1de9a95c6
@ -14,7 +14,9 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <cstddef>
|
||||
#define MT32EMU_WITH_LIBSOXR_RESAMPLER 0
|
||||
#define MT32EMU_WITH_LIBSAMPLERATE_RESAMPLER 0
|
||||
#define MT32EMU_WITH_INTERNAL_RESAMPLER 1
|
||||
|
||||
#include "SampleRateConverter.h"
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user