diff options
author | Chris Robinson <[email protected]> | 2018-01-02 19:29:58 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-01-02 19:29:58 -0800 |
commit | b8de63d60806bdaabde0179b16b0837e0bb7afb7 (patch) | |
tree | df58099b445445aade44013e16567b10111930c2 /Alc/mixer.c | |
parent | dcc0f6e25d40f140e986cc9f137c7853cb33d1c8 (diff) |
Reset CompLen when loading loop repeats in the mixer
Diffstat (limited to 'Alc/mixer.c')
-rw-r--r-- | Alc/mixer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Alc/mixer.c b/Alc/mixer.c index bbbfba18..5e5ba760 100644 --- a/Alc/mixer.c +++ b/Alc/mixer.c @@ -427,6 +427,7 @@ ALboolean MixSource(ALvoice *voice, ALsource *Source, ALCdevice *Device, ALsizei { const ALsizei SizeToDo = mini(SrcBufferSize - FilledAmt, LoopSize); + CompLen = 0; for(i = 0;i < BufferListItem->num_buffers;i++) { const ALbuffer *buffer = BufferListItem->buffers[i]; |