diff options
author | Chris Robinson <[email protected]> | 2022-09-04 09:09:12 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-09-04 09:09:12 -0700 |
commit | 14bb4ad1b7a0126fe5dfdd2e62bea750ce12d961 (patch) | |
tree | e7b9ec6f392ffed2a71a92f7f2ab9a6a7141b679 /alc/effects/convolution.cpp | |
parent | f2ff2bb2f6f2f9190210b60833b4232fe5398b07 (diff) |
Allow different HF scales for 2D mixing/output
Not actually used yet, the device needs to track whether it's using 2D or 3D
mixing.
Diffstat (limited to 'alc/effects/convolution.cpp')
-rw-r--r-- | alc/effects/convolution.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/effects/convolution.cpp b/alc/effects/convolution.cpp index 196238fc..26a99ef9 100644 --- a/alc/effects/convolution.cpp +++ b/alc/effects/convolution.cpp @@ -420,7 +420,7 @@ void ConvolutionState::update(const ContextBase *context, const EffectSlot *slot if(device->mAmbiOrder > mAmbiOrder) { mMix = &ConvolutionState::UpsampleMix; - const auto scales = AmbiScale::GetHFOrderScales(mAmbiOrder, device->mAmbiOrder); + const auto scales = AmbiScale::GetHFOrderScales(mAmbiOrder, device->mAmbiOrder, false); (*mChans)[0].mHfScale = scales[0]; for(size_t i{1};i < mChans->size();++i) (*mChans)[i].mHfScale = scales[1]; |