Add AUDIO_RESAMPLER_NEAREST define

This commit is contained in:
twinaphex 2014-10-03 13:34:55 +02:00
parent cf22277871
commit 622bc64df8
2 changed files with 3 additions and 0 deletions

View File

@ -68,6 +68,7 @@ enum
AUDIO_RESAMPLER_CC,
AUDIO_RESAMPLER_SINC,
AUDIO_RESAMPLER_NEAREST,
INPUT_ANDROID,
INPUT_SDL,

View File

@ -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;
}