aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/wasapi.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-28 23:19:25 -0800
committerChris Robinson <[email protected]>2018-11-28 23:19:25 -0800
commit57bb4670727c3c26644933b19d4620d565a177e2 (patch)
tree1e9b5c1fc185634b31704ef44208524b94b8c975 /Alc/backends/wasapi.cpp
parente017d9e40f4ce1698d31adc2d2a6ac4f13159a39 (diff)
Pass the desired resampler to CreateSampleConverter
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 dfc91489..04afe807 100644
--- a/Alc/backends/wasapi.cpp
+++ b/Alc/backends/wasapi.cpp
@@ -1666,7 +1666,7 @@ HRESULT ALCwasapiCapture::resetProxy()
{
mSampleConv = CreateSampleConverter(
srcType, device->FmtType, ChannelsFromDevFmt(device->FmtChans, device->mAmbiOrder),
- OutputType.Format.nSamplesPerSec, device->Frequency
+ OutputType.Format.nSamplesPerSec, device->Frequency, BSinc24Resampler
);
if(!mSampleConv)
{