diff options
author | Chris Robinson <[email protected]> | 2014-05-10 03:21:40 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-05-10 03:21:40 -0700 |
commit | c4383b65e20c2223b0e390c5e5254edbb6aada8f (patch) | |
tree | e649a3733043041cc9274d5760e718401fc9682b /Alc/ALu.c | |
parent | eea46f268dd491537bbbf46d2856d96c79832d24 (diff) |
Store the current buffer queue item, rather than played buffer count
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r-- | Alc/ALu.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |