diff options
author | Chris Robinson <chris.kcat@gmail.com> | 2021-04-24 13:46:52 -0700 |
---|---|---|
committer | Chris Robinson <chris.kcat@gmail.com> | 2021-04-24 13:46:52 -0700 |
commit | 440ce71dcedb39e827660d0925b6cc2046c6d0f0 (patch) | |
tree | d8d5f11c71bf8d2852e176a9ec55e0cd1dc140b3 /alc/voice.cpp | |
parent | f10cc1e1acb11bbabd5a16b62e0d435d6b1e9337 (diff) |
Move GetHFOrderScales to a more appropriate place
Diffstat (limited to 'alc/voice.cpp')
-rw-r--r-- | alc/voice.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/alc/voice.cpp b/alc/voice.cpp index 206444d9..79c47588 100644 --- a/alc/voice.cpp +++ b/alc/voice.cpp @@ -44,7 +44,6 @@ #include "alstring.h" #include "alu.h" #include "async_event.h" -#include "bformatdec.h" #include "buffer_storage.h" #include "core/ambidefs.h" #include "core/cpu_caps.h" @@ -840,7 +839,7 @@ void Voice::prepare(DeviceBase *device) { const uint8_t *OrderFromChan{(mFmtChannels == FmtBFormat2D) ? AmbiIndex::OrderFrom2DChannel().data() : AmbiIndex::OrderFromChannel().data()}; - const auto scales = BFormatDec::GetHFOrderScales(mAmbiOrder, device->mAmbiOrder); + const auto scales = AmbiScale::GetHFOrderScales(mAmbiOrder, device->mAmbiOrder); const BandSplitter splitter{device->mXOverFreq / static_cast<float>(device->Frequency)}; for(auto &chandata : mChans) |