Mercurial > hg > webaudioevaluationtool
diff js/core.js @ 2408:fbc22422d73d
Initial work for #1
author | Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk> |
---|---|
date | Thu, 26 May 2016 10:07:15 +0100 |
parents | dde1f3254762 |
children | f595f5f5a7b9 |
line wrap: on
line diff
--- a/js/core.js Thu May 26 09:35:07 2016 +0100 +++ b/js/core.js Thu May 26 10:07:15 2016 +0100 @@ -1676,7 +1676,7 @@ } else { this.outputGain.gain.setValueAtTime(0.0,startTime); } - this.bufferNode.start(startTime); + this.bufferNode.start(startTime,this.specification.startTime || 0, this.specification.stopTime-this.specification.startTime || this.buffer.buffer.duration); this.bufferNode.playbackStartTime = audioEngineContext.timer.getTestTime(); } };