diff options
author | Chris Robinson <[email protected]> | 2021-04-24 13:46:52 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2021-04-24 13:46:52 -0700 |
commit | 440ce71dcedb39e827660d0925b6cc2046c6d0f0 (patch) | |
tree | d8d5f11c71bf8d2852e176a9ec55e0cd1dc140b3 /alc/effects/convolution.cpp | |
parent | f10cc1e1acb11bbabd5a16b62e0d435d6b1e9337 (diff) |
Move GetHFOrderScales to a more appropriate place
Diffstat (limited to 'alc/effects/convolution.cpp')
-rw-r--r-- | alc/effects/convolution.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/alc/effects/convolution.cpp b/alc/effects/convolution.cpp index 0a1bd214..072bc034 100644 --- a/alc/effects/convolution.cpp +++ b/alc/effects/convolution.cpp @@ -14,7 +14,6 @@ #include "alcontext.h" #include "almalloc.h" #include "alspan.h" -#include "bformatdec.h" #include "buffer_storage.h" #include "core/ambidefs.h" #include "core/filters/splitter.h" @@ -398,7 +397,7 @@ void ConvolutionState::update(const ContextBase *context, const EffectSlot *slot if(device->mAmbiOrder > mAmbiOrder) { mMix = &ConvolutionState::UpsampleMix; - const auto scales = BFormatDec::GetHFOrderScales(mAmbiOrder, device->mAmbiOrder); + const auto scales = AmbiScale::GetHFOrderScales(mAmbiOrder, device->mAmbiOrder); (*mChans)[0].mHfScale = scales[0]; for(size_t i{1};i < mChans->size();++i) (*mChans)[i].mHfScale = scales[1]; |