aboutsummaryrefslogtreecommitdiffstats
path: root/core/hrtf.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-06-14 23:33:32 -0700
committerChris Robinson <[email protected]>2023-06-14 23:33:32 -0700
commita318126ee33c47b3e017d4970b09eaf581f73004 (patch)
tree565e280d77c8900588fc68c37fc1e16a3c44755c /core/hrtf.cpp
parentec8064d1001daf968a73c8bc4f6088e905488cb7 (diff)
Use inline variables instead of functions with static variables
Diffstat (limited to 'core/hrtf.cpp')
-rw-r--r--core/hrtf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/hrtf.cpp b/core/hrtf.cpp
index 7d11ee19..f131e72d 100644
--- a/core/hrtf.cpp
+++ b/core/hrtf.cpp
@@ -289,7 +289,7 @@ void DirectHrtfState::build(const HrtfStore *Hrtf, const uint irSize, const bool
mChannels[0].mSplitter.init(static_cast<float>(xover_norm));
for(size_t i{0};i < mChannels.size();++i)
{
- const size_t order{AmbiIndex::OrderFromChannel()[i]};
+ const size_t order{AmbiIndex::OrderFromChannel[i]};
mChannels[i].mSplitter = mChannels[0].mSplitter;
mChannels[i].mHfScale = AmbiOrderHFGain[order];
}