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

Issue 2471353004: Implement AudioScheduledSourceNode (Closed)

Created:
4 years, 1 month ago by Raymond Toy
Modified:
3 years, 11 months ago
Reviewers:
tkent, haraken, hongchan
CC:
blink-reviews, chromium-reviews, haraken, hongchan
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement AudioScheduledSourceNode Add AudioScheduledSourceNode as a base class of schedulable source nodes to capture the common features of these source nodes. Intent: https://groups.google.com/a/chromium.org/d/msg/blink-dev/Vr6XJNfVAK4/RU3AP19WAQAJ BUG=661207 TEST=audio-scheduled-source-basic.html Committed: https://crrev.com/00971f38908388728f49cd5127b9c6c6761d035f Cr-Commit-Position: refs/heads/master@{#441277}

Patch Set 1 #

Patch Set 2 : Rebaseline #

Patch Set 3 : Fix IDL and add test #

Patch Set 4 : Fix IDL again #

Patch Set 5 : Rebaseline test result #

Patch Set 6 : Rebaseline test results #

Patch Set 7 : Rebaseline for linux #

Patch Set 8 : Rebase for win #

Patch Set 9 : Rebase #

Patch Set 10 : Rebase #

Total comments: 14

Patch Set 11 : Update according to review #

Total comments: 2

Patch Set 12 : Address review comments #

Total comments: 3

Patch Set 13 : Rebase #

Patch Set 14 : Rebase tests results #

Patch Set 15 : Rebase #

Patch Set 16 : Rebase test result #

Patch Set 17 : Rebase #

Patch Set 18 : Rebase #

Patch Set 19 : Rebase #

Patch Set 20 : Rebase #

Patch Set 21 : Rebase mac results. #

Patch Set 22 : Rebase #

Patch Set 23 : Rebase tests on linux #

Patch Set 24 : Rebase and regenerate test results #

Patch Set 25 : Regenerate expected result #

Patch Set 26 : Rebaseline test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+139 lines, -96 lines) Patch
M third_party/WebKit/LayoutTests/imported/wpt/html/browsers/origin/cross-origin-objects/cross-origin-objects-exceptions-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +1 line, -1 line 0 comments Download
A + third_party/WebKit/LayoutTests/platform/linux/virtual/stable/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 4 chunks +10 lines, -14 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/virtual/stable/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 4 chunks +10 lines, -14 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/stable/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 4 chunks +10 lines, -14 lines 0 comments Download
A third_party/WebKit/LayoutTests/webaudio/audio-scheduled-source-basic.html View 1 2 3 4 5 6 7 8 9 10 1 chunk +69 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/dom-exceptions-expected.txt View 1 3 4 3 chunks +14 lines, -14 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 4 chunks +10 lines, -14 lines 0 comments Download
M third_party/WebKit/Source/modules/modules_idl_files.gni View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/AudioBufferSourceNode.idl View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +3 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 3 chunks +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +1 line, -1 line 0 comments Download
A + third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.idl View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +3 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/ConstantSourceNode.idl View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +2 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/OscillatorNode.idl View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +1 line, -7 lines 0 comments Download

Messages

Total messages: 47 (25 generated)
Raymond Toy
4 years ago (2016-11-30 21:58:34 UTC) #12
haraken
https://codereview.chromium.org/2471353004/diff/180001/third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.idl File third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.idl (right): https://codereview.chromium.org/2471353004/diff/180001/third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.idl#newcode8 third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.idl:8: DependentLifetime Do you know why we need to add ...
4 years ago (2016-11-30 23:54:07 UTC) #14
hongchan
https://codereview.chromium.org/2471353004/diff/180001/third_party/WebKit/LayoutTests/webaudio/audio-scheduled-source-basic.html File third_party/WebKit/LayoutTests/webaudio/audio-scheduled-source-basic.html (right): https://codereview.chromium.org/2471353004/diff/180001/third_party/WebKit/LayoutTests/webaudio/audio-scheduled-source-basic.html#newcode7 third_party/WebKit/LayoutTests/webaudio/audio-scheduled-source-basic.html:7: <script src="resources/audio-testing.js"></script> I know this might be too late ...
4 years ago (2016-12-01 00:11:22 UTC) #15
Raymond Toy
On 2016/11/30 23:54:07, haraken wrote: > https://codereview.chromium.org/2471353004/diff/180001/third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.idl > File third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.idl > (right): > > https://codereview.chromium.org/2471353004/diff/180001/third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.idl#newcode8 ...
4 years ago (2016-12-01 00:12:11 UTC) #16
Raymond Toy
https://codereview.chromium.org/2471353004/diff/180001/third_party/WebKit/LayoutTests/webaudio/audio-scheduled-source-basic.html File third_party/WebKit/LayoutTests/webaudio/audio-scheduled-source-basic.html (right): https://codereview.chromium.org/2471353004/diff/180001/third_party/WebKit/LayoutTests/webaudio/audio-scheduled-source-basic.html#newcode7 third_party/WebKit/LayoutTests/webaudio/audio-scheduled-source-basic.html:7: <script src="resources/audio-testing.js"></script> On 2016/12/01 00:11:22, hongchan wrote: > I ...
4 years ago (2016-12-01 00:13:36 UTC) #17
Raymond Toy
https://codereview.chromium.org/2471353004/diff/180001/third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.idl File third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.idl (right): https://codereview.chromium.org/2471353004/diff/180001/third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.idl#newcode8 third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.idl:8: DependentLifetime On 2016/11/30 23:54:07, haraken wrote: > > Do ...
4 years ago (2016-12-01 16:35:16 UTC) #18
Raymond Toy
https://codereview.chromium.org/2471353004/diff/180001/third_party/WebKit/LayoutTests/webaudio/audio-scheduled-source-basic.html File third_party/WebKit/LayoutTests/webaudio/audio-scheduled-source-basic.html (right): https://codereview.chromium.org/2471353004/diff/180001/third_party/WebKit/LayoutTests/webaudio/audio-scheduled-source-basic.html#newcode7 third_party/WebKit/LayoutTests/webaudio/audio-scheduled-source-basic.html:7: <script src="resources/audio-testing.js"></script> On 2016/12/01 00:13:36, Raymond Toy wrote: > ...
4 years ago (2016-12-01 18:48:32 UTC) #19
hongchan
lgtm for WebAudio side. Need opinions from haraken@ for GC and IDL lifetime attributes.
4 years ago (2016-12-02 17:55:07 UTC) #20
haraken
LGTM https://codereview.chromium.org/2471353004/diff/200001/third_party/WebKit/Source/modules/webaudio/AudioBufferSourceNode.h File third_party/WebKit/Source/modules/webaudio/AudioBufferSourceNode.h (right): https://codereview.chromium.org/2471353004/diff/200001/third_party/WebKit/Source/modules/webaudio/AudioBufferSourceNode.h#newcode169 third_party/WebKit/Source/modules/webaudio/AudioBufferSourceNode.h:169: USING_GARBAGE_COLLECTED_MIXIN(AudioBufferSourceNode); We won't need this.
4 years ago (2016-12-03 02:06:58 UTC) #21
Raymond Toy
https://codereview.chromium.org/2471353004/diff/200001/third_party/WebKit/Source/modules/webaudio/AudioBufferSourceNode.h File third_party/WebKit/Source/modules/webaudio/AudioBufferSourceNode.h (right): https://codereview.chromium.org/2471353004/diff/200001/third_party/WebKit/Source/modules/webaudio/AudioBufferSourceNode.h#newcode169 third_party/WebKit/Source/modules/webaudio/AudioBufferSourceNode.h:169: USING_GARBAGE_COLLECTED_MIXIN(AudioBufferSourceNode); On 2016/12/03 02:06:58, haraken wrote: > > We ...
4 years ago (2016-12-05 16:44:54 UTC) #22
Raymond Toy
tkent: PTAL at the expected test results and as an API OWNER.
4 years ago (2016-12-05 16:51:03 UTC) #24
tkent
lgtm https://codereview.chromium.org/2471353004/diff/220001/third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.h File third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.h (right): https://codereview.chromium.org/2471353004/diff/220001/third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.h#newcode144 third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.h:144: DEFINE_INLINE_VIRTUAL_TRACE() { AudioNode::trace(visitor); } Looks this function is ...
4 years ago (2016-12-05 23:34:46 UTC) #25
Raymond Toy
https://codereview.chromium.org/2471353004/diff/220001/third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.h File third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.h (right): https://codereview.chromium.org/2471353004/diff/220001/third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.h#newcode144 third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.h:144: DEFINE_INLINE_VIRTUAL_TRACE() { AudioNode::trace(visitor); } On 2016/12/05 23:34:45, tkent wrote: ...
4 years ago (2016-12-06 00:04:00 UTC) #26
tkent
https://codereview.chromium.org/2471353004/diff/220001/third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.h File third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.h (right): https://codereview.chromium.org/2471353004/diff/220001/third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.h#newcode144 third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.h:144: DEFINE_INLINE_VIRTUAL_TRACE() { AudioNode::trace(visitor); } On 2016/12/06 at 00:04:00, Raymond ...
4 years ago (2016-12-06 00:25:03 UTC) #27
Raymond Toy
On 2016/12/06 00:25:03, tkent wrote: > https://codereview.chromium.org/2471353004/diff/220001/third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.h > File third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.h > (right): > > https://codereview.chromium.org/2471353004/diff/220001/third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.h#newcode144 ...
4 years ago (2016-12-06 16:05:40 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2471353004/220001
4 years ago (2016-12-06 16:06:10 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/318205) mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years ago (2016-12-06 16:09:03 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2471353004/240001
4 years ago (2016-12-06 16:29:16 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/344663)
4 years ago (2016-12-06 18:23:43 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2471353004/500001
3 years, 11 months ago (2017-01-03 23:36:10 UTC) #42
commit-bot: I haz the power
Committed patchset #26 (id:500001)
3 years, 11 months ago (2017-01-04 01:21:13 UTC) #45
commit-bot: I haz the power
3 years, 11 months ago (2017-01-04 01:23:35 UTC) #47
Message was sent while issue was closed.
Patchset 26 (id:??) landed as
https://crrev.com/00971f38908388728f49cd5127b9c6c6761d035f
Cr-Commit-Position: refs/heads/master@{#441277}

Powered by Google App Engine
This is Rietveld 408576698