diff options
Diffstat (limited to 'core/hrtf.cpp')
-rw-r--r-- | core/hrtf.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/hrtf.cpp b/core/hrtf.cpp index d4d69815..1903898e 100644 --- a/core/hrtf.cpp +++ b/core/hrtf.cpp @@ -269,10 +269,11 @@ void DirectHrtfState::build(const HrtfStore *Hrtf, const uint irSize, }; const double xover_norm{double{XOverFreq} / Hrtf->sampleRate}; + 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]}; - mChannels[i].mSplitter.init(static_cast<float>(xover_norm)); + mChannels[i].mSplitter = mChannels[0].mSplitter; mChannels[i].mHfScale = AmbiOrderHFGain[order]; } |