diff options
Diffstat (limited to 'Alc/mixer_sse.c')
-rw-r--r-- | Alc/mixer_sse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/mixer_sse.c b/Alc/mixer_sse.c index 12765486..c618f966 100644 --- a/Alc/mixer_sse.c +++ b/Alc/mixer_sse.c @@ -195,7 +195,7 @@ void Mix_SSE(const ALfloat *data, ALuint OutChans, ALfloat (*restrict OutBuffer) Gains[c].Current = gain; /* Mix until pos is aligned with 4 or the mix is done. */ - minsize = minu(BufferSize, (pos+3)&3); + minsize = minu(BufferSize, (pos+3)&~3); for(;pos < minsize;pos++) OutBuffer[c][OutPos+pos] += data[pos]*gain; } |