diff options
Diffstat (limited to 'alc')
-rw-r--r-- | alc/mixvoice.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/alc/mixvoice.cpp b/alc/mixvoice.cpp index df955719..8c54b706 100644 --- a/alc/mixvoice.cpp +++ b/alc/mixvoice.cpp @@ -195,14 +195,7 @@ void aluInitMixer() ResamplerDefault = FIR4Resampler; } else - { - char *end; - long n = strtol(str, &end, 0); - if(*end == '\0' && (n == PointResampler || n == LinearResampler || n == FIR4Resampler)) - ResamplerDefault = static_cast<Resampler>(n); - else - WARN("Invalid resampler: %s\n", str); - } + ERR("Invalid resampler: %s\n", str); } MixHrtfBlendSamples = SelectHrtfBlendMixer(); |