aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends/wasapi.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-09-28 03:44:13 -0700
committerChris Robinson <[email protected]>2019-09-28 03:44:13 -0700
commit2d2e5539c0df2e180ab4d748413248422f3b1e30 (patch)
tree9b6c512d9c32a2947ce1edb9e649ccee820dc41a /alc/backends/wasapi.cpp
parentcbc00bcffeb62eddac0dcf92d315f8188629b15b (diff)
Use FastBSinc24 for WASAPI and CoreAudio capture
Given a fixed rate, there's no downside to the fast version.
Diffstat (limited to 'alc/backends/wasapi.cpp')
-rw-r--r--alc/backends/wasapi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/backends/wasapi.cpp b/alc/backends/wasapi.cpp
index e1a8dc6f..2a610c8d 100644
--- a/alc/backends/wasapi.cpp
+++ b/alc/backends/wasapi.cpp
@@ -1568,7 +1568,7 @@ HRESULT WasapiCapture::resetProxy()
if(mDevice->Frequency != OutputType.Format.nSamplesPerSec || mDevice->FmtType != srcType)
{
mSampleConv = CreateSampleConverter(srcType, mDevice->FmtType, mDevice->channelsFromFmt(),
- OutputType.Format.nSamplesPerSec, mDevice->Frequency, Resampler::BSinc24);
+ OutputType.Format.nSamplesPerSec, mDevice->Frequency, Resampler::FastBSinc24);
if(!mSampleConv)
{
ERR("Failed to create converter for %s format, dst: %s %uhz, src: %s %luhz\n",