aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/mixer/mixer_sse2.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-25 10:50:42 -0800
committerChris Robinson <[email protected]>2018-11-25 10:52:17 -0800
commitad2639248a8825cb2dbd0416ebacd840000fd9f0 (patch)
tree725afa91f681b4a77cf89098a2d37a66a0415460 /Alc/mixer/mixer_sse2.cpp
parentadcdb8ce64e76a7e772b05fe3be8ce633d29aa90 (diff)
Avoid another DECL_TEMPLATE macro
Diffstat (limited to 'Alc/mixer/mixer_sse2.cpp')
-rw-r--r--Alc/mixer/mixer_sse2.cpp2
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]);