aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-05-10 03:21:40 -0700
committerChris Robinson <[email protected]>2014-05-10 03:21:40 -0700
commitc4383b65e20c2223b0e390c5e5254edbb6aada8f (patch)
treee649a3733043041cc9274d5760e718401fc9682b /Alc/ALu.c
parenteea46f268dd491537bbbf46d2856d96c79832d24 (diff)
Store the current buffer queue item, rather than played buffer count
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r--Alc/ALu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 25d2db42..d2746d68 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -1324,7 +1324,7 @@ ALvoid aluHandleDisconnect(ALCdevice *device)
if(source->state == AL_PLAYING)
{
source->state = AL_STOPPED;
- source->BuffersPlayed = source->BuffersInQueue;
+ source->current_buffer = NULL;
source->position = 0;
source->position_fraction = 0;
}