mirror of
https://github.com/libretro/RetroArch
synced 2025-02-01 20:54:10 +00:00
Add HAVE_NEAREST_RESAMPLER ifdef
This commit is contained in:
parent
395fd7fea7
commit
69756ebd93
@ -279,8 +279,14 @@ OBJ += \
|
||||
gfx/video_filter.o \
|
||||
$(LIBRETRO_COMM_DIR)/audio/resampler/audio_resampler.o \
|
||||
$(LIBRETRO_COMM_DIR)/audio/dsp_filter.o \
|
||||
$(LIBRETRO_COMM_DIR)/audio/resampler/drivers/sinc_resampler.o \
|
||||
$(LIBRETRO_COMM_DIR)/audio/resampler/drivers/nearest_resampler.o \
|
||||
$(LIBRETRO_COMM_DIR)/audio/resampler/drivers/sinc_resampler.o
|
||||
|
||||
ifeq ($(HAVE_NEAREST_RESAMPLER), 1)
|
||||
DEFINES += -DHAVE_NEAREST_RESAMPLER
|
||||
OBJ += $(LIBRETRO_COMM_DIR)/audio/resampler/drivers/nearest_resampler.o
|
||||
endif
|
||||
|
||||
OBJ += \
|
||||
$(LIBRETRO_COMM_DIR)/utils/md5.o \
|
||||
playlist.o \
|
||||
$(LIBRETRO_COMM_DIR)/features/features_cpu.o \
|
||||
|
@ -797,7 +797,9 @@ AUDIO RESAMPLER
|
||||
============================================================ */
|
||||
#include "../libretro-common/audio/resampler/audio_resampler.c"
|
||||
#include "../libretro-common/audio/resampler/drivers/sinc_resampler.c"
|
||||
#ifdef HAVE_NEAREST_RESAMPLER
|
||||
#include "../libretro-common/audio/resampler/drivers/nearest_resampler.c"
|
||||
#endif
|
||||
#ifdef HAVE_CC_RESAMPLER
|
||||
#include "../audio/drivers_resampler/cc_resampler.c"
|
||||
#endif
|
||||
|
@ -47,7 +47,9 @@ static const retro_resampler_t *resampler_drivers[] = {
|
||||
#ifdef HAVE_CC_RESAMPLER
|
||||
&CC_resampler,
|
||||
#endif
|
||||
#ifdef HAVE_NEAREST_RESAMPLER
|
||||
&nearest_resampler,
|
||||
#endif
|
||||
&null_resampler,
|
||||
NULL,
|
||||
};
|
||||
|
@ -25,6 +25,7 @@ HAVE_DSOUND=auto # DirectSound support
|
||||
HAVE_XAUDIO=auto # XAudio support
|
||||
HAVE_WASAPI=auto # WASAPI support
|
||||
HAVE_WINMM=auto # WinMM support
|
||||
HAVE_NEAREST_RESAMPLER=yes # Nearest resampler
|
||||
HAVE_CC_RESAMPLER=yes # CC Resampler
|
||||
HAVE_SSL=auto # SSL/mbedtls support
|
||||
C89_SSL=no
|
||||
|
Loading…
x
Reference in New Issue
Block a user