diff options
author | Chris Robinson <[email protected]> | 2018-04-21 02:44:01 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-04-21 02:44:01 -0700 |
commit | 4ee26f4ca3dc952dc9d7fdf58b735396b798df9c (patch) | |
tree | 819734490a330b1282cfeeff2c5aecfae2031e3f /Alc/mixer/mixer_sse.c | |
parent | a55c93e1f59dfadda64a63e4c1b0881ca34dbad8 (diff) |
Add some more ASSUME statements
Diffstat (limited to 'Alc/mixer/mixer_sse.c')
-rw-r--r-- | Alc/mixer/mixer_sse.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Alc/mixer/mixer_sse.c b/Alc/mixer/mixer_sse.c index 81dc0a34..a178477f 100644 --- a/Alc/mixer/mixer_sse.c +++ b/Alc/mixer/mixer_sse.c @@ -139,6 +139,7 @@ void Mix_SSE(const ALfloat *data, ALsizei OutChans, ALfloat (*restrict OutBuffer __m128 gain4; ALsizei c; + ASSUME(OutChans > 0); ASSUME(BufferSize > 0); delta = (Counter > 0) ? 1.0f/(ALfloat)Counter : 0.0f; @@ -211,6 +212,7 @@ void MixRow_SSE(ALfloat *OutBuffer, const ALfloat *Gains, const ALfloat (*restri __m128 gain4; ALsizei c; + ASSUME(InChans > 0); ASSUME(BufferSize > 0); for(c = 0;c < InChans;c++) |