From dc61e7c59d24fb4422c3ea939eeb32ef2f4038c4 Mon Sep 17 00:00:00 2001 From: Chris Robinson <chris.kcat@gmail.com> Date: Fri, 27 Jan 2023 02:39:42 -0800 Subject: Change the default resampler to cubic This has notably better quality than linear, while still being faster than bsinc. --- core/voice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/voice.cpp') diff --git a/core/voice.cpp b/core/voice.cpp index 5fa9f677..972628a5 100644 --- a/core/voice.cpp +++ b/core/voice.cpp @@ -55,7 +55,7 @@ static_assert(!(sizeof(DeviceBase::MixerBufferLine)&15), "DeviceBase::MixerBufferLine must be a multiple of 16 bytes"); static_assert(!(MaxResamplerEdge&3), "MaxResamplerEdge is not a multiple of 4"); -Resampler ResamplerDefault{Resampler::Linear}; +Resampler ResamplerDefault{Resampler::Cubic}; namespace { -- cgit v1.2.3