A static source only has one buffer in the queue

This commit is contained in:
Chris Robinson
2011-09-24 21:21:59 -07:00
parent e9da6950ee
commit 1dee1245ff
-1
View File
@@ -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;
}