I'm working on an audio sample machine using minim. I want one player to pause another and I've gotten the timer to stop but does anyone know why this snippet causes a loop my app can't get out of?.
while(Ads[i].isPlaying()){
if (Ads[i].position()==Ads[i].length()) {
Ads[i].pause();
}
savedTime=millis();
}
↧
Infinite loop?
↧