Mercurial > hg > webaudioevaluationtool
changeset 2507:ae445d57687a
Minor fix. consistently use setValueAtTime
author | Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk> |
---|---|
date | Thu, 13 Oct 2016 12:04:06 +0100 |
parents | 6b3d98260a88 |
children | 9b536838a962 |
files | js/core.js |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/js/core.js Thu Oct 13 10:22:23 2016 +0100 +++ b/js/core.js Thu Oct 13 12:04:06 2016 +0100 @@ -1858,7 +1858,7 @@ this.bufferNode.stop(stopTime); this.bufferNode = undefined; } - this.outputGain.gain.value = 0.0; + this.outputGain.gain.setValueAtTime(0.0, stopTime); this.interfaceDOM.stopPlayback(); };