From 622bc64df8ba1365839708d8ad545221ac7976b5 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 3 Oct 2014 13:34:55 +0200 Subject: [PATCH] Add AUDIO_RESAMPLER_NEAREST define --- config.def.h | 1 + settings.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/config.def.h b/config.def.h index 35f115b872..160836b117 100644 --- a/config.def.h +++ b/config.def.h @@ -68,6 +68,7 @@ enum AUDIO_RESAMPLER_CC, AUDIO_RESAMPLER_SINC, + AUDIO_RESAMPLER_NEAREST, INPUT_ANDROID, INPUT_SDL, diff --git a/settings.c b/settings.c index 4ee3e94448..5bb2afc55a 100644 --- a/settings.c +++ b/settings.c @@ -90,6 +90,8 @@ const char *config_get_default_audio_resampler(void) return "cc"; case AUDIO_RESAMPLER_SINC: return "sinc"; + case AUDIO_RESAMPLER_NEAREST: + return "nearest"; default: return NULL; }