diff options
Diffstat (limited to 'Alc/mixer/mixer_sse41.cpp')
-rw-r--r-- | Alc/mixer/mixer_sse41.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Alc/mixer/mixer_sse41.cpp b/Alc/mixer/mixer_sse41.cpp index 34b405f8..cfda905b 100644 --- a/Alc/mixer/mixer_sse41.cpp +++ b/Alc/mixer/mixer_sse41.cpp @@ -40,6 +40,8 @@ const ALfloat *Resample_lerp_SSE41(const InterpState* UNUSED(state), ALsizei todo, pos, i; ASSUME(numsamples > 0); + ASSUME(increment > 0); + ASSUME(frac >= 0); InitiatePositionArrays(frac, increment, frac_, pos_, 4); frac4 = _mm_setr_epi32(frac_[0], frac_[1], frac_[2], frac_[3]); |