diff options
author | Chris Robinson <[email protected]> | 2019-09-04 19:31:30 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-09-04 19:31:30 -0700 |
commit | e873165019e8ae9300be9066101554c18a29df83 (patch) | |
tree | 2989d306c2189204f36d8a0e6bcf9b89e4322adf /alc/mixer/mixer_c.cpp | |
parent | 8940bbd034177182bb6fc1e3953e57674e488309 (diff) |
Only ASSUME values where a variable is used
Diffstat (limited to 'alc/mixer/mixer_c.cpp')
-rw-r--r-- | alc/mixer/mixer_c.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/mixer/mixer_c.cpp b/alc/mixer/mixer_c.cpp index 7a79d1e2..a8fb9a19 100644 --- a/alc/mixer/mixer_c.cpp +++ b/alc/mixer/mixer_c.cpp @@ -103,7 +103,7 @@ const ALfloat *Resample_<BSincTag,CTag>(const InterpState *state, const ALfloat static inline void ApplyCoeffs(size_t /*Offset*/, float2 *RESTRICT Values, const ALsizei IrSize, const HrirArray &Coeffs, const ALfloat left, const ALfloat right) { - ASSUME(IrSize >= 2); + ASSUME(IrSize >= 4); for(ALsizei c{0};c < IrSize;++c) { Values[c][0] += Coeffs[c][0] * left; |