Use the current buffer item for static sources too

This commit is contained in:
Chris Robinson
2014-05-21 15:37:22 -07:00
parent 4b433c900e
commit 6ea050cc6c
+1 -1
View File
@@ -182,7 +182,7 @@ ALvoid MixSource(ALactivesource *src, ALCdevice *Device, ALuint SamplesToDo)
if(Source->SourceType == AL_STATIC)
{
const ALbuffer *ALBuffer = Source->queue->buffer;
const ALbuffer *ALBuffer = BufferListItem->buffer;
const ALubyte *Data = ALBuffer->data;
ALuint DataSize;
ALuint pos;