diff options
Diffstat (limited to 'Alc/mixer/mixer_c.c')
-rw-r--r-- | Alc/mixer/mixer_c.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Alc/mixer/mixer_c.c b/Alc/mixer/mixer_c.c index 05b7932d..84485206 100644 --- a/Alc/mixer/mixer_c.c +++ b/Alc/mixer/mixer_c.c @@ -122,6 +122,7 @@ void Mix_C(const ALfloat *data, ALsizei OutChans, ALfloat (*restrict OutBuffer)[ ALfloat gain, delta, step; ALsizei c; + ASSUME(OutChans > 0); ASSUME(BufferSize > 0); delta = (Counter > 0) ? 1.0f/(ALfloat)Counter : 0.0f; @@ -160,6 +161,7 @@ void MixRow_C(ALfloat *OutBuffer, const ALfloat *Gains, const ALfloat (*restrict { ALsizei c, i; + ASSUME(InChans > 0); ASSUME(BufferSize > 0); for(c = 0;c < InChans;c++) |