diff options
author | Chris Robinson <[email protected]> | 2018-02-25 09:51:07 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-02-25 09:51:07 -0800 |
commit | 455763aa9a1e46470ffb2baf1ecb12e7276f8fb2 (patch) | |
tree | abbbd7038f1d2221029111b7ef2f2e5ee72298dd /Alc | |
parent | c7456affd541b7aef9ff252da51031e671c30734 (diff) |
Count all buffers in a list item for processed and queued
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/mixer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/mixer.c b/Alc/mixer.c index eb4568b2..4946cb7b 100644 --- a/Alc/mixer.c +++ b/Alc/mixer.c @@ -749,7 +749,7 @@ ALboolean MixSource(ALvoice *voice, ALuint SourceID, ALCcontext *Context, ALsize if(CompLen > DataPosInt) break; - buffers_done++; + buffers_done += BufferListItem->num_buffers; BufferListItem = ATOMIC_LOAD(&BufferListItem->next, almemory_order_acquire); if(!BufferListItem && !(BufferListItem=BufferLoopItem)) { |