comparison core.js @ 131:67cc1058bfad

Possible fix to loop playback bugs
author Nicholas Jillings <nicholas.jillings@eecs.qmul.ac.uk>
date Wed, 27 May 2015 18:10:56 +0100
parents 0e13112d8501
children 76d6207784a6
comparison
equal deleted inserted replaced
130:cf5653a90c20 131:67cc1058bfad
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