aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-05-21 15:37:22 -0700
committerChris Robinson <[email protected]>2014-05-21 15:37:22 -0700
commit6ea050cc6cb2df6e84d58638b83cfd191ea05d98 (patch)
tree5b9f74d5913a4252396c3a399dcde58e704c2e04 /Alc
parent4b433c900ebec9f0bcdc8a4238291d572f89f1c3 (diff)
Use the current buffer item for static sources too
Diffstat (limited to 'Alc')
-rw-r--r--Alc/mixer.c2
1 files changed, 1 insertions, 1 deletions
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;