diff options
-rw-r--r-- | Alc/mixer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/mixer.c b/Alc/mixer.c index 34c4563c..5d6d14d7 100644 --- a/Alc/mixer.c +++ b/Alc/mixer.c @@ -434,7 +434,7 @@ ALboolean MixSource(ALvoice *voice, ALsource *Source, ALCdevice *Device, ALsizei const ALubyte *Data = buffer->data; ALsizei DataSize; - if(DataPosInt >= buffer->SampleLen) + if(LoopStart >= buffer->SampleLen) continue; DataSize = mini(SizeToDo, buffer->SampleLen - LoopStart); |