aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/mixer/mixer_sse.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_sse.cpp
parentadcdb8ce64e76a7e772b05fe3be8ce633d29aa90 (diff)
Avoid another DECL_TEMPLATE macro
Diffstat (limited to 'Alc/mixer/mixer_sse.cpp')
-rw-r--r--Alc/mixer/mixer_sse.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Alc/mixer/mixer_sse.cpp b/Alc/mixer/mixer_sse.cpp
index 8492a1c8..000196ca 100644
--- a/Alc/mixer/mixer_sse.cpp
+++ b/Alc/mixer/mixer_sse.cpp
@@ -26,6 +26,8 @@ const ALfloat *Resample_bsinc_SSE(const InterpState *state, const ALfloat *RESTR
ASSUME(m > 0);
ASSUME(dstlen > 0);
+ ASSUME(increment > 0);
+ ASSUME(frac >= 0);
src -= state->bsinc.l;
for(i = 0;i < dstlen;i++)