diff options
author | Chris Robinson <[email protected]> | 2020-12-25 20:52:18 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-12-25 20:52:18 -0800 |
commit | 5f233a2c24de58fde98e08ad8acb6cfe1803d716 (patch) | |
tree | a62086d205cfa4d66719dd2d4b42eac7563ded39 /core/mixer/mixer_c.cpp | |
parent | 223f93e13d2a36375fa71251a2e565799cc2ab3e (diff) |
Use more constexpr variables instead of macros
Diffstat (limited to 'core/mixer/mixer_c.cpp')
-rw-r--r-- | core/mixer/mixer_c.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/mixer/mixer_c.cpp b/core/mixer/mixer_c.cpp index 6b25b6cc..6d4909f4 100644 --- a/core/mixer/mixer_c.cpp +++ b/core/mixer/mixer_c.cpp @@ -86,7 +86,7 @@ const float *DoResample(const InterpState *state, const float *RESTRICT src, uin inline void ApplyCoeffs(float2 *RESTRICT Values, const size_t IrSize, const HrirArray &Coeffs, const float left, const float right) { - ASSUME(IrSize >= MIN_IR_LENGTH); + ASSUME(IrSize >= MinIrLength); for(size_t c{0};c < IrSize;++c) { Values[c][0] += Coeffs[c][0] * left; |