aboutsummaryrefslogtreecommitdiffstats
path: root/core/voice.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-01-27 02:39:42 -0800
committerChris Robinson <[email protected]>2023-01-27 02:39:42 -0800
commitdc61e7c59d24fb4422c3ea939eeb32ef2f4038c4 (patch)
tree2415972bdadbaaf0dc530fa7dc3fe53cfecb3271 /core/voice.cpp
parent3f6e0e3d9666c7fc0f7599aa35535ad0f843a88a (diff)
Change the default resampler to cubic
This has notably better quality than linear, while still being faster than bsinc.
Diffstat (limited to 'core/voice.cpp')
-rw-r--r--core/voice.cpp2
1 files changed, 1 insertions, 1 deletions
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 {