aboutsummaryrefslogtreecommitdiffstats
path: root/alc/mixer
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-07-31 10:28:04 -0700
committerChris Robinson <[email protected]>2019-07-31 10:28:04 -0700
commitd1f72624a749bd9c2a17ddeb303703a78f53d4a5 (patch)
treef02c0edec344ec2abe99c853ff684e8400cdeefc /alc/mixer
parent471f905fbd5f665148d2e9f40aca7ee6b1bead7b (diff)
Fix a couple ASSUME statements
Diffstat (limited to 'alc/mixer')
-rw-r--r--alc/mixer/mixer_sse2.cpp2
-rw-r--r--alc/mixer/mixer_sse41.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/alc/mixer/mixer_sse2.cpp b/alc/mixer/mixer_sse2.cpp
index b5d00106..b1c67f09 100644
--- a/alc/mixer/mixer_sse2.cpp
+++ b/alc/mixer/mixer_sse2.cpp
@@ -35,7 +35,7 @@ const ALfloat *Resample_<LerpTag,SSE2Tag>(const InterpState*, const ALfloat *RES
const __m128 fracOne4{_mm_set1_ps(1.0f/FRACTIONONE)};
const __m128i fracMask4{_mm_set1_epi32(FRACTIONMASK)};
- ASSUME(frac > 0);
+ ASSUME(frac >= 0);
ASSUME(increment > 0);
ASSUME(dstlen >= 0);
diff --git a/alc/mixer/mixer_sse41.cpp b/alc/mixer/mixer_sse41.cpp
index 7efbda7b..077be44c 100644
--- a/alc/mixer/mixer_sse41.cpp
+++ b/alc/mixer/mixer_sse41.cpp
@@ -36,7 +36,7 @@ const ALfloat *Resample_<LerpTag,SSE4Tag>(const InterpState*, const ALfloat *RES
const __m128 fracOne4{_mm_set1_ps(1.0f/FRACTIONONE)};
const __m128i fracMask4{_mm_set1_epi32(FRACTIONMASK)};
- ASSUME(frac > 0);
+ ASSUME(frac >= 0);
ASSUME(increment > 0);
ASSUME(dstlen >= 0);