comparison core.js @ 1636:9c186f1b068c

Possible fix to loop playback bugs
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Wed, 27 May 2015 18:10:56 +0100
parents 97f23a756fe5
children 16852cf211eb
comparison
equal deleted inserted replaced
1635:97f23a756fe5 1636:9c186f1b068c
430 if (this.audioObjectsReady == false) { 430 if (this.audioObjectsReady == false) {
431 this.audioObjectsReady = this.checkAllReady(); 431 this.audioObjectsReady = this.checkAllReady();
432 } 432 }
433 if (this.audioObjectsReady == true) { 433 if (this.audioObjectsReady == true) {
434 this.timer.startTest(); 434 this.timer.startTest();
435 if (this.loopPlayback) {
436 for(var i=0; i<this.audioObjects.length; i++) {
437 this.audioObjects[i].play(this.timer.getTestTime()+1);
438 }
439 }
435 this.status = 1; 440 this.status = 1;
436 } 441 }
437 } 442 }
438 }; 443 };
439 444