summaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-09-24 21:21:59 -0700
committerChris Robinson <[email protected]>2011-09-24 21:21:59 -0700
commit1dee1245ff8497e99f832146f473d68762e27838 (patch)
treede29f8ee7be85688a13e9d2cc7e0d9508b321af2 /Alc
parente9da6950eeef2d7d3b43e3878db0b0804cf397b0 (diff)
A static source only has one buffer in the queue
Diffstat (limited to 'Alc')
-rw-r--r--Alc/mixer.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Alc/mixer.c b/Alc/mixer.c
index 4112abcf..f78ffb40 100644
--- a/Alc/mixer.c
+++ b/Alc/mixer.c
@@ -797,7 +797,6 @@ ALvoid MixSource(ALsource *Source, ALCdevice *Device, ALuint SamplesToDo)
if(Looping && Source->lSourceType == AL_STATIC)
{
- BufferListItem = Source->queue;
DataPosInt = ((DataPosInt-LoopStart)%(LoopEnd-LoopStart)) + LoopStart;
break;
}