diff options
Diffstat (limited to 'Alc/mixer/mixer_sse2.cpp')
-rw-r--r-- | Alc/mixer/mixer_sse2.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Alc/mixer/mixer_sse2.cpp b/Alc/mixer/mixer_sse2.cpp index 2432342f..26fe26ba 100644 --- a/Alc/mixer/mixer_sse2.cpp +++ b/Alc/mixer/mixer_sse2.cpp @@ -39,6 +39,8 @@ const ALfloat *Resample_lerp_SSE2(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]); |