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

Issue 1277443005: Use interpolation for setValueCurveAtTime (Closed)

Created:
5 years, 4 months ago by Raymond Toy
Modified:
5 years, 4 months ago
Reviewers:
hongchan
CC:
blink-reviews, Raymond Toy
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Use interpolation for setValueCurveAtTime In issue https://github.com/WebAudio/web-audio-api/issues/131, the computation of setValueCurveAtTime is clarified to use interpolation (https://github.com/WebAudio/web-audio-api/issues/131#issuecomment-113935918). This is not backward compatible. Consider a curve with two points over a long duration. Previously, the output would be a step. Now it's line between the two points. BUG=514452 TEST=audioparam-setValueCurveAtTime-interpolation.html Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=200349

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : More tests #

Total comments: 42

Patch Set 4 : Update threshold for setValueCurveAtTime.html #

Total comments: 2

Patch Set 5 : Update according to review. #

Patch Set 6 : Update expected results for trybot testing #

Patch Set 7 : Corrected test thresholds and results #

Unified diffs Side-by-side diffs Delta from patch set Stats (+425 lines, -23 lines) Patch
M LayoutTests/webaudio/audioparam-setValueCurveAtTime.html View 1 2 3 1 chunk +4 lines, -3 lines 0 comments Download
A LayoutTests/webaudio/audioparam-setValueCurveAtTime-interpolation.html View 1 2 3 4 5 6 1 chunk +254 lines, -0 lines 0 comments Download
A LayoutTests/webaudio/audioparam-setValueCurveAtTime-interpolation-expected.txt View 1 2 3 4 5 6 1 chunk +65 lines, -0 lines 0 comments Download
M LayoutTests/webaudio/resources/audio-testing.js View 1 2 14 chunks +54 lines, -2 lines 0 comments Download
M Source/modules/webaudio/AudioParamTimeline.cpp View 1 2 2 chunks +48 lines, -18 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
Raymond Toy
PTAL. I'm still waiting for the try jobs to finish so I can get the ...
5 years, 4 months ago (2015-08-06 21:50:33 UTC) #2
hongchan
I think we need a better pattern when we use Audit for the same task ...
5 years, 4 months ago (2015-08-07 17:32:52 UTC) #3
Raymond Toy
https://codereview.chromium.org/1277443005/diff/40001/LayoutTests/webaudio/audioparam-setValueCurveAtTime.html File LayoutTests/webaudio/audioparam-setValueCurveAtTime.html (right): https://codereview.chromium.org/1277443005/diff/40001/LayoutTests/webaudio/audioparam-setValueCurveAtTime.html#newcode1 LayoutTests/webaudio/audioparam-setValueCurveAtTime.html:1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> On 2015/08/07 ...
5 years, 4 months ago (2015-08-07 18:52:27 UTC) #4
Raymond Toy
https://codereview.chromium.org/1277443005/diff/40001/LayoutTests/webaudio/audioparam-setValueCurveAtTime-interpolation.html File LayoutTests/webaudio/audioparam-setValueCurveAtTime-interpolation.html (right): https://codereview.chromium.org/1277443005/diff/40001/LayoutTests/webaudio/audioparam-setValueCurveAtTime-interpolation.html#newcode7 LayoutTests/webaudio/audioparam-setValueCurveAtTime-interpolation.html:7: <script src="../resources/js-test.js"></script> On 2015/08/07 17:32:51, hoch wrote: > js-test.js ...
5 years, 4 months ago (2015-08-07 18:58:33 UTC) #5
Raymond Toy
PTAL. Patch 7 has the corrected thresholds and expected results now.
5 years, 4 months ago (2015-08-07 23:21:31 UTC) #6
hongchan
lgtm
5 years, 4 months ago (2015-08-11 15:15:00 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1277443005/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1277443005/120001
5 years, 4 months ago (2015-08-11 15:27:11 UTC) #9
commit-bot: I haz the power
5 years, 4 months ago (2015-08-11 20:13:15 UTC) #10
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=200349

Powered by Google App Engine
This is Rietveld 408576698