From 6ea050cc6cb2df6e84d58638b83cfd191ea05d98 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 21 May 2014 15:37:22 -0700 Subject: [PATCH] Use the current buffer item for static sources too --- Alc/mixer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Alc/mixer.c b/Alc/mixer.c index 0c8bdef3..0d52b9e3 100644 --- a/Alc/mixer.c +++ b/Alc/mixer.c @@ -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; -- 2.11.4.GIT