diff options
author | Chris Robinson <[email protected]> | 2019-09-28 03:44:13 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-09-28 03:44:13 -0700 |
commit | 2d2e5539c0df2e180ab4d748413248422f3b1e30 (patch) | |
tree | 9b6c512d9c32a2947ce1edb9e649ccee820dc41a /alc/backends/coreaudio.cpp | |
parent | cbc00bcffeb62eddac0dcf92d315f8188629b15b (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/coreaudio.cpp')
-rw-r--r-- | alc/backends/coreaudio.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/backends/coreaudio.cpp b/alc/backends/coreaudio.cpp index 9e8291e2..92064336 100644 --- a/alc/backends/coreaudio.cpp +++ b/alc/backends/coreaudio.cpp @@ -618,7 +618,7 @@ ALCenum CoreAudioCapture::open(const ALCchar *name) if(outputFormat.mSampleRate != mDevice->Frequency) mConverter = CreateSampleConverter(mDevice->FmtType, mDevice->FmtType, mFormat.mChannelsPerFrame, static_cast<ALuint>(hardwareFormat.mSampleRate), - mDevice->Frequency, Resampler::BSinc24); + mDevice->Frequency, Resampler::FastBSinc24); mRing = CreateRingBuffer(outputFrameCount, mFrameSize, false); if(!mRing) return ALC_INVALID_VALUE; |