From dc10e56babf61b62c6cc779414103d7183100c58 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 29 Sep 2015 18:27:11 -0700 Subject: Implement a 6-point sinc-lanczos filter --- Alc/ALc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Alc/ALc.c') diff --git a/Alc/ALc.c b/Alc/ALc.c index fcb6504b..b9c01128 100644 --- a/Alc/ALc.c +++ b/Alc/ALc.c @@ -1011,9 +1011,11 @@ static void alc_initconfig(void) DefaultResampler = LinearResampler; else if(strcasecmp(str, "sinc4") == 0) DefaultResampler = FIR4Resampler; + else if(strcasecmp(str, "sinc6") == 0) + DefaultResampler = FIR6Resampler; else if(strcasecmp(str, "cubic") == 0) { - ERR("Resampler option \"cubic\" is deprecated, using sinc4\n"); + WARN("Resampler option \"cubic\" is deprecated, using sinc4\n"); DefaultResampler = FIR4Resampler; } else -- cgit v1.2.3