Mercurial > hg > webaudioevaluationtool
comparison ape.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 |
---|---|
341 } | 341 } |
342 } else { | 342 } else { |
343 loopPlayback = false; | 343 loopPlayback = false; |
344 } | 344 } |
345 audioEngineContext.loopPlayback = loopPlayback; | 345 audioEngineContext.loopPlayback = loopPlayback; |
346 loopPlayback = false; | |
347 // Create AudioEngine bindings for playback | 346 // Create AudioEngine bindings for playback |
348 if (loopPlayback) { | 347 if (loopPlayback) { |
349 audioEngineContext.selectedTrack = function(id) { | 348 audioEngineContext.selectedTrack = function(id) { |
350 for (var i=0; i<this.audioObjects.length; i++) | 349 for (var i=0; i<this.audioObjects.length; i++) |
351 { | 350 { |