diff options
Diffstat (limited to 'Alc/mixer_neon.c')
-rw-r--r-- | Alc/mixer_neon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/mixer_neon.c b/Alc/mixer_neon.c index 0c50140e..a89caeae 100644 --- a/Alc/mixer_neon.c +++ b/Alc/mixer_neon.c @@ -118,7 +118,7 @@ void Mix_Neon(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; } |