Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(207)

Issue 1485003002: Make setTarget followed by linear or exponential ramp continuous. (Closed)

Created:
5 years ago by Raymond Toy
Modified:
4 years, 7 months ago
Reviewers:
hongchan
CC:
chromium-reviews, blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

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 Committed: https://crrev.com/b1fd9cf76c2e80540100262b09911600936f2ae3 Cr-Commit-Position: refs/heads/master@{#391597}

Patch Set 1 : #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : Rebase #

Patch Set 6 : Rebase #

Total comments: 8

Patch Set 7 : Add comments. #

Total comments: 3

Patch Set 8 : Rebase and fix test failures #

Unified diffs Side-by-side diffs Delta from patch set Stats (+313 lines, -2 lines) Patch
A third_party/WebKit/LayoutTests/webaudio/audioparam-setTargetAtTime-continuous.html View 1 2 3 4 5 6 7 1 chunk +235 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/webaudio/audioparam-setTargetAtTime-continuous-expected.txt View 1 2 3 1 chunk +33 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp View 1 2 3 4 5 6 7 3 chunks +45 lines, -2 lines 0 comments Download

Messages

Total messages: 21 (8 generated)
Raymond Toy
PTAL.
4 years, 11 months ago (2016-01-14 20:30:45 UTC) #6
hongchan
https://codereview.chromium.org/1485003002/diff/120001/third_party/WebKit/LayoutTests/webaudio/audioparam-setTargetAtTime-continuous.html File third_party/WebKit/LayoutTests/webaudio/audioparam-setTargetAtTime-continuous.html (right): https://codereview.chromium.org/1485003002/diff/120001/third_party/WebKit/LayoutTests/webaudio/audioparam-setTargetAtTime-continuous.html#newcode27 third_party/WebKit/LayoutTests/webaudio/audioparam-setTargetAtTime-continuous.html:27: audit.defineTask("linear ramp replace", function (done) { Can we have ...
4 years, 10 months ago (2016-01-29 18:53:59 UTC) #7
Raymond Toy
https://codereview.chromium.org/1485003002/diff/120001/third_party/WebKit/LayoutTests/webaudio/audioparam-setTargetAtTime-continuous.html File third_party/WebKit/LayoutTests/webaudio/audioparam-setTargetAtTime-continuous.html (right): https://codereview.chromium.org/1485003002/diff/120001/third_party/WebKit/LayoutTests/webaudio/audioparam-setTargetAtTime-continuous.html#newcode27 third_party/WebKit/LayoutTests/webaudio/audioparam-setTargetAtTime-continuous.html:27: audit.defineTask("linear ramp replace", function (done) { On 2016/01/29 18:53:58, ...
4 years, 8 months ago (2016-04-26 16:38:54 UTC) #8
hongchan
lgtm with nits. https://codereview.chromium.org/1485003002/diff/140001/third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp File third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp (right): https://codereview.chromium.org/1485003002/diff/140001/third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp#newcode408 third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp:408: ParamEvent::Type nextEventType = nextEvent ? static_cast<ParamEvent::Type>(nextEvent->type()) ...
4 years, 7 months ago (2016-04-27 21:40:09 UTC) #9
Raymond Toy
https://codereview.chromium.org/1485003002/diff/140001/third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp File third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp (right): https://codereview.chromium.org/1485003002/diff/140001/third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp#newcode408 third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp:408: ParamEvent::Type nextEventType = nextEvent ? static_cast<ParamEvent::Type>(nextEvent->type()) : ParamEvent::LastType /* ...
4 years, 7 months ago (2016-04-27 21:43:15 UTC) #10
hongchan
On 2016/04/27 21:43:15, Raymond Toy wrote: > https://codereview.chromium.org/1485003002/diff/140001/third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp > File third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp (right): > > https://codereview.chromium.org/1485003002/diff/140001/third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp#newcode408 ...
4 years, 7 months ago (2016-04-27 22:15:21 UTC) #11
Raymond Toy
https://codereview.chromium.org/1485003002/diff/140001/third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp File third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp (right): https://codereview.chromium.org/1485003002/diff/140001/third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp#newcode408 third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp:408: ParamEvent::Type nextEventType = nextEvent ? static_cast<ParamEvent::Type>(nextEvent->type()) : ParamEvent::LastType /* ...
4 years, 7 months ago (2016-04-27 22:57:03 UTC) #12
Raymond Toy
PTAL. Due to various changes, rebasing this required a bit of rework to get the ...
4 years, 7 months ago (2016-04-27 23:23:52 UTC) #13
Raymond Toy
On 2016/04/27 23:23:52, Raymond Toy wrote: > PTAL. Due to various changes, rebasing this required ...
4 years, 7 months ago (2016-05-04 15:43:20 UTC) #14
hongchan
lgtm
4 years, 7 months ago (2016-05-04 16:52:09 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1485003002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1485003002/160001
4 years, 7 months ago (2016-05-04 17:49:21 UTC) #17
commit-bot: I haz the power
Committed patchset #8 (id:160001)
4 years, 7 months ago (2016-05-04 19:18:35 UTC) #19
commit-bot: I haz the power
4 years, 7 months ago (2016-05-04 19:19:35 UTC) #21
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/b1fd9cf76c2e80540100262b09911600936f2ae3
Cr-Commit-Position: refs/heads/master@{#391597}

Powered by Google App Engine
This is Rietveld 408576698