aboutsummaryrefslogtreecommitdiffstats
path: root/alc/effects/convolution.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2021-04-24 13:46:52 -0700
committerChris Robinson <[email protected]>2021-04-24 13:46:52 -0700
commit440ce71dcedb39e827660d0925b6cc2046c6d0f0 (patch)
treed8d5f11c71bf8d2852e176a9ec55e0cd1dc140b3 /alc/effects/convolution.cpp
parentf10cc1e1acb11bbabd5a16b62e0d435d6b1e9337 (diff)
Move GetHFOrderScales to a more appropriate place
Diffstat (limited to 'alc/effects/convolution.cpp')
-rw-r--r--alc/effects/convolution.cpp3
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];