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:
parent
321931c21c
commit
ccb5144c95
1 changed files with 0 additions and 3 deletions
|
|
@ -146,9 +146,6 @@ void BufferingAudioSource::getNextAudioBlock (const AudioSourceChannelInfo& info
|
|||
}
|
||||
|
||||
nextPlayPos += info.numSamples;
|
||||
|
||||
if (source->isLooping() && nextPlayPos > 0)
|
||||
nextPlayPos %= source->getTotalLength();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue