aboutsummaryrefslogtreecommitdiffstats
path: root/core/voice.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-08-16 13:00:03 -0700
committerChris Robinson <[email protected]>2022-08-16 13:00:03 -0700
commit90f02176dd46f0754ed0c5f1e95b9ba9917839bb (patch)
treee3a792bbbe31939abae8b01a3bf66344b2aa9380 /core/voice.cpp
parent832ccd7f489f7db763a164c663d730f4cadb71bc (diff)
Inline a function and remove an unnecessary parameter
Diffstat (limited to 'core/voice.cpp')
-rw-r--r--core/voice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/voice.cpp b/core/voice.cpp
index 4030fc5b..bda4a113 100644
--- a/core/voice.cpp
+++ b/core/voice.cpp
@@ -899,7 +899,7 @@ void Voice::prepare(DeviceBase *device)
{
const uint8_t *OrderFromChan{Is2DAmbisonic(mFmtChannels) ?
AmbiIndex::OrderFrom2DChannel().data() : AmbiIndex::OrderFromChannel().data()};
- const auto scales = AmbiScale::GetHFOrderScales(mAmbiOrder, device->mAmbiOrder);
+ const auto scales = AmbiScale::GetHFOrderScales(mAmbiOrder);
const BandSplitter splitter{device->mXOverFreq / static_cast<float>(device->Frequency)};
for(auto &chandata : mChans)