diff options
author | Chris Robinson <[email protected]> | 2015-09-29 18:27:11 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2015-09-29 20:39:12 -0700 |
commit | dc10e56babf61b62c6cc779414103d7183100c58 (patch) | |
tree | 302dd43223b8c3678cbc726655de628bf5b617fb /Alc/ALc.c | |
parent | e13d553aefe68f63c1c7d479df80c44f4ab70a0f (diff) |
Implement a 6-point sinc-lanczos filter
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r-- | Alc/ALc.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |