diff options
author | Chris Robinson <[email protected]> | 2023-06-14 23:33:32 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-06-14 23:33:32 -0700 |
commit | a318126ee33c47b3e017d4970b09eaf581f73004 (patch) | |
tree | 565e280d77c8900588fc68c37fc1e16a3c44755c /core/hrtf.cpp | |
parent | ec8064d1001daf968a73c8bc4f6088e905488cb7 (diff) |
Use inline variables instead of functions with static variables
Diffstat (limited to 'core/hrtf.cpp')
-rw-r--r-- | core/hrtf.cpp | 2 |
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]; } |