setTargetAtTime should throw if time constant is not strictly positive |
|
Issue descriptionConsider this snippet: var c = new AudioContext(); var g = c.createGain(); g.gain.setTargetAtTime(1,1,0); The call to setTargetAtTime should throw because the time constant (0) is not strictly positive. It does correctly throw if the time constant is negative. |
|
►
Sign in to add a comment |
|
Comment 1 by rtoy@chromium.org
, Apr 25 2016