Mercurial > hg > webaudioevaluationtool
comparison core.js @ 2126:1c20619c6321
Fix bugs #1628, #1483
author | Nicholas Jillings <nickjillings@users.noreply.github.com> |
---|---|
date | Tue, 23 Feb 2016 16:19:29 +0000 |
parents | 937c6671892f |
children | b62b545b78f4 |
comparison
equal
deleted
inserted
replaced
2125:873705335ddd | 2126:1c20619c6321 |
---|---|
1372 this.interfaceDOM.startPlayback(); | 1372 this.interfaceDOM.startPlayback(); |
1373 } else { | 1373 } else { |
1374 this.outputGain.gain.setValueAtTime(0.0,startTime); | 1374 this.outputGain.gain.setValueAtTime(0.0,startTime); |
1375 } | 1375 } |
1376 this.bufferNode.start(startTime); | 1376 this.bufferNode.start(startTime); |
1377 this.bufferNode.playbackStartTime = startTime; | 1377 this.bufferNode.playbackStartTime = audioEngineContext.timer.getTestTime(); |
1378 } | 1378 } |
1379 }; | 1379 }; |
1380 | 1380 |
1381 this.stop = function(stopTime) { | 1381 this.stop = function(stopTime) { |
1382 this.outputGain.gain.cancelScheduledValues(audioContext.currentTime); | 1382 this.outputGain.gain.cancelScheduledValues(audioContext.currentTime); |