1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Fix for BufferingAudioSource when looping.

This commit is contained in:
jules 2012-04-26 16:55:30 +01:00
parent 321931c21c
commit ccb5144c95

View file

@ -146,9 +146,6 @@ void BufferingAudioSource::getNextAudioBlock (const AudioSourceChannelInfo& info
}
nextPlayPos += info.numSamples;
if (source->isLooping() && nextPlayPos > 0)
nextPlayPos %= source->getTotalLength();
}
}