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

Issue 1773973002: Complete the implementation of up/down-mixing rules for AudioNode (Closed)

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

Description

Complete the implementation of up/down-mixing rules for AudioNode The majority of up/down-mixing is not implemented in AudioBus.h/cpp. This CL is to implement missing rules and improves an existing layout test for various channel configurations to challenge the implementation extensively. The spec for the mixing rule is here: http://webaudio.github.io/web-audio-api/#channel-up-mixing-and-down-mixing BUG=460958, 465908 TEST=LayoutTests/webaudio/audionode-channel-rules.html Committed: https://crrev.com/c5bf1a9a84aadcf927f94e806f4647d65e3da2c1 Cr-Commit-Position: refs/heads/master@{#380790}

Patch Set 1 : Initial Patch #

Total comments: 71

Patch Set 2 : Addressing Feedback (1) #

Total comments: 4

Patch Set 3 : Simplifying AudioBus::copyFrom #

Total comments: 4

Patch Set 4 : Clean up and addressing feedback #

Total comments: 7

Patch Set 5 : Cleaning up and removing casting (after l-g-t-m) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+542 lines, -279 lines) Patch
M third_party/WebKit/LayoutTests/webaudio/audionode-channel-rules.html View 6 chunks +13 lines, -127 lines 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/audionode-channel-rules-expected.txt View 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/webaudio/resources/mixing-rules.js View 1 2 3 1 chunk +346 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/audio/AudioBus.h View 1 2 3 1 chunk +5 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/audio/AudioBus.cpp View 1 2 3 4 2 chunks +177 lines, -148 lines 0 comments Download

Messages

Total messages: 37 (15 generated)
hongchan
PTAL. https://codereview.chromium.org/1773973002/diff/20001/third_party/WebKit/LayoutTests/webaudio/audionode-channel-rules-expected.txt File third_party/WebKit/LayoutTests/webaudio/audionode-channel-rules-expected.txt (right): https://codereview.chromium.org/1773973002/diff/20001/third_party/WebKit/LayoutTests/webaudio/audionode-channel-rules-expected.txt#newcode5 third_party/WebKit/LayoutTests/webaudio/audionode-channel-rules-expected.txt:5: Not sure it's relevant, but I believe this ...
4 years, 9 months ago (2016-03-08 00:29:06 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1773973002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1773973002/20001
4 years, 9 months ago (2016-03-08 16:48:37 UTC) #8
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-08 18:02:03 UTC) #10
Raymond Toy
https://codereview.chromium.org/1773973002/diff/20001/third_party/WebKit/LayoutTests/webaudio/audionode-channel-rules-expected.txt File third_party/WebKit/LayoutTests/webaudio/audionode-channel-rules-expected.txt (right): https://codereview.chromium.org/1773973002/diff/20001/third_party/WebKit/LayoutTests/webaudio/audionode-channel-rules-expected.txt#newcode178 third_party/WebKit/LayoutTests/webaudio/audionode-channel-rules-expected.txt:178: TEST COMPLETE Am I missing something? You added a ...
4 years, 9 months ago (2016-03-08 18:04:08 UTC) #11
hongchan
https://codereview.chromium.org/1773973002/diff/20001/third_party/WebKit/LayoutTests/webaudio/audionode-channel-rules-expected.txt File third_party/WebKit/LayoutTests/webaudio/audionode-channel-rules-expected.txt (right): https://codereview.chromium.org/1773973002/diff/20001/third_party/WebKit/LayoutTests/webaudio/audionode-channel-rules-expected.txt#newcode178 third_party/WebKit/LayoutTests/webaudio/audionode-channel-rules-expected.txt:178: TEST COMPLETE On 2016/03/08 18:04:06, Raymond Toy wrote: > ...
4 years, 9 months ago (2016-03-08 23:53:36 UTC) #12
Raymond Toy
https://codereview.chromium.org/1773973002/diff/20001/third_party/WebKit/LayoutTests/webaudio/resources/mixing-rules.js File third_party/WebKit/LayoutTests/webaudio/resources/mixing-rules.js (right): https://codereview.chromium.org/1773973002/diff/20001/third_party/WebKit/LayoutTests/webaudio/resources/mixing-rules.js#newcode54 third_party/WebKit/LayoutTests/webaudio/resources/mixing-rules.js:54: * @return {Number} A computed number of channels. On ...
4 years, 9 months ago (2016-03-08 23:56:54 UTC) #13
hongchan
Here are some numbers from the time-profiler: * Without simplification: (PS2) Total running time - ...
4 years, 9 months ago (2016-03-09 19:34:24 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1773973002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1773973002/60001
4 years, 9 months ago (2016-03-09 19:39:50 UTC) #16
Raymond Toy
On Wed, Mar 9, 2016 at 11:34 AM, <hongchan@chromium.org> wrote: > Here are some numbers ...
4 years, 9 months ago (2016-03-09 21:22:14 UTC) #17
Raymond Toy
On Wed, Mar 9, 2016 at 11:34 AM, <hongchan@chromium.org> wrote: > Here are some numbers ...
4 years, 9 months ago (2016-03-09 21:22:15 UTC) #18
Raymond Toy
https://codereview.chromium.org/1773973002/diff/40001/third_party/WebKit/LayoutTests/webaudio/resources/mixing-rules.js File third_party/WebKit/LayoutTests/webaudio/resources/mixing-rules.js (right): https://codereview.chromium.org/1773973002/diff/40001/third_party/WebKit/LayoutTests/webaudio/resources/mixing-rules.js#newcode29 third_party/WebKit/LayoutTests/webaudio/resources/mixing-rules.js:29: * Create a string displays the content of AudioBuffer. ...
4 years, 9 months ago (2016-03-09 22:14:19 UTC) #19
hongchan
https://codereview.chromium.org/1773973002/diff/40001/third_party/WebKit/LayoutTests/webaudio/resources/mixing-rules.js File third_party/WebKit/LayoutTests/webaudio/resources/mixing-rules.js (right): https://codereview.chromium.org/1773973002/diff/40001/third_party/WebKit/LayoutTests/webaudio/resources/mixing-rules.js#newcode29 third_party/WebKit/LayoutTests/webaudio/resources/mixing-rules.js:29: * Create a string displays the content of AudioBuffer. ...
4 years, 9 months ago (2016-03-09 23:26:12 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1773973002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1773973002/80001
4 years, 9 months ago (2016-03-10 16:37:11 UTC) #22
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/128700)
4 years, 9 months ago (2016-03-10 18:09:37 UTC) #24
Raymond Toy
lgtm with some nits. You don't have to fix the nits. https://codereview.chromium.org/1773973002/diff/80001/third_party/WebKit/Source/platform/audio/AudioBus.cpp File third_party/WebKit/Source/platform/audio/AudioBus.cpp (right): ...
4 years, 9 months ago (2016-03-10 18:56:48 UTC) #25
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1773973002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1773973002/100001
4 years, 9 months ago (2016-03-11 19:47:47 UTC) #27
hongchan
Did some cleaning up in AudioBus.cpp. PTAL. https://codereview.chromium.org/1773973002/diff/80001/third_party/WebKit/Source/platform/audio/AudioBus.cpp File third_party/WebKit/Source/platform/audio/AudioBus.cpp (right): https://codereview.chromium.org/1773973002/diff/80001/third_party/WebKit/Source/platform/audio/AudioBus.cpp#newcode276 third_party/WebKit/Source/platform/audio/AudioBus.cpp:276: if ((numberOfSourceChannels ...
4 years, 9 months ago (2016-03-11 19:48:06 UTC) #28
Raymond Toy
lgtm. https://codereview.chromium.org/1773973002/diff/80001/third_party/WebKit/Source/platform/audio/AudioBus.cpp File third_party/WebKit/Source/platform/audio/AudioBus.cpp (right): https://codereview.chromium.org/1773973002/diff/80001/third_party/WebKit/Source/platform/audio/AudioBus.cpp#newcode276 third_party/WebKit/Source/platform/audio/AudioBus.cpp:276: if ((numberOfSourceChannels == 1 && numberOfDestinationChannels == 2) ...
4 years, 9 months ago (2016-03-11 19:53:17 UTC) #29
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/195638)
4 years, 9 months ago (2016-03-11 20:55:05 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1773973002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1773973002/100001
4 years, 9 months ago (2016-03-11 21:31:32 UTC) #33
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years, 9 months ago (2016-03-11 23:56:55 UTC) #35
commit-bot: I haz the power
4 years, 9 months ago (2016-03-11 23:58:38 UTC) #37
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/c5bf1a9a84aadcf927f94e806f4647d65e3da2c1
Cr-Commit-Position: refs/heads/master@{#380790}

Powered by Google App Engine
This is Rietveld 408576698