commit | b1fd9cf76c2e80540100262b09911600936f2ae3 | [log] [tgz] |
---|---|---|
author | rtoy <rtoy@chromium.org> | Wed May 04 19:18:25 2016 |
committer | Commit bot <commit-bot@chromium.org> | Wed May 04 19:19:25 2016 |
tree | 17f0b7d2c17a39eecc3160d61d9abd6c2c1d44e8 | |
parent | ced897af4ba797e3824a615b847701cbe80e0c95 [diff] |
Make setTarget followed by linear or exponential ramp continuous. When setTarget is followed by a linear or exponential ramp, the current behavior produces discontinuous curves. In this case, make the curve continuous by inserting a setValue to freeze the curve at the last value of the setTarget. This establishes the starting point for the following linear and exponential ramp to make it continuous. WebAudio issue: https://github.com/WebAudio/web-audio-api/issues/652 Spec proposal: https://github.com/WebAudio/web-audio-api/pull/665 BUG=564157 TEST=audioparam-setTargetAtTime-continuous.html Review-Url: https://codereview.chromium.org/1485003002 Cr-Commit-Position: refs/heads/master@{#391597}