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

Issue 1464673002: Support multichannel audio stream more than 2 in MediaStreamDestinationNode (Closed)

Created:
5 years, 1 month ago by hongchan
Modified:
5 years ago
Reviewers:
DaleCurtis, Raymond Toy
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org, blink-reviews, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Support multichannel audio stream more than 2 in MediaStreamDestinationNode WebAudioCapturerSource does not have the support for multichannel audio bus greater than 2. This CL is to implement the support up to 8 channels in WebAudioCapturerSource, also put checks/blocks in MediaStreamDestinationNode before passing the multichannel audio bus. I also discovered the flakiness of onended event in OscillatorNode while I was creating a manual test for this CL: https://code.google.com/p/chromium/issues/detail?id=559220 BUG=557185 TEST= LayoutTests/webaudio/mediastreamaudiodestinationnode.html ManualTests/webaudio/multichannel-mediastreamdestination.html Committed: https://crrev.com/5b2c345c7e535ca7e4024eb09fedda3b30b9b924 Cr-Commit-Position: refs/heads/master@{#362215}

Patch Set 1 #

Patch Set 2 : Added tests #

Total comments: 20

Patch Set 3 : Addressed feedback from rtoy #

Total comments: 3

Patch Set 4 : Fixed intdentation #

Messages

Total messages: 24 (10 generated)
hongchan
PTAL. I am still figuring out the right way to test this. Please feel free ...
5 years, 1 month ago (2015-11-20 00:38:04 UTC) #4
Raymond Toy
https://codereview.chromium.org/1464673002/diff/40001/third_party/WebKit/ManualTests/webaudio/multichannel-mediastreamdestination.html File third_party/WebKit/ManualTests/webaudio/multichannel-mediastreamdestination.html (right): https://codereview.chromium.org/1464673002/diff/40001/third_party/WebKit/ManualTests/webaudio/multichannel-mediastreamdestination.html#newcode26 third_party/WebKit/ManualTests/webaudio/multichannel-mediastreamdestination.html:26: <p>This test is for multichannel (> 2 channels) support ...
5 years, 1 month ago (2015-11-20 14:47:19 UTC) #5
hongchan
https://codereview.chromium.org/1464673002/diff/40001/third_party/WebKit/ManualTests/webaudio/multichannel-mediastreamdestination.html File third_party/WebKit/ManualTests/webaudio/multichannel-mediastreamdestination.html (right): https://codereview.chromium.org/1464673002/diff/40001/third_party/WebKit/ManualTests/webaudio/multichannel-mediastreamdestination.html#newcode26 third_party/WebKit/ManualTests/webaudio/multichannel-mediastreamdestination.html:26: <p>This test is for multichannel (> 2 channels) support ...
5 years, 1 month ago (2015-11-20 18:02:59 UTC) #6
DaleCurtis
media/ lgtm https://codereview.chromium.org/1464673002/diff/60001/content/renderer/media/webaudio_capturer_source.cc File content/renderer/media/webaudio_capturer_source.cc (right): https://codereview.chromium.org/1464673002/diff/60001/content/renderer/media/webaudio_capturer_source.cc#newcode43 content/renderer/media/webaudio_capturer_source.cc:43: media::CHANNEL_LAYOUT_DISCRETE : fix indent.
5 years ago (2015-11-24 21:48:11 UTC) #7
hongchan
https://codereview.chromium.org/1464673002/diff/60001/content/renderer/media/webaudio_capturer_source.cc File content/renderer/media/webaudio_capturer_source.cc (right): https://codereview.chromium.org/1464673002/diff/60001/content/renderer/media/webaudio_capturer_source.cc#newcode43 content/renderer/media/webaudio_capturer_source.cc:43: media::CHANNEL_LAYOUT_DISCRETE : On 2015/11/24 21:48:11, DaleCurtis wrote: > fix ...
5 years ago (2015-11-30 18:04:50 UTC) #8
Raymond Toy
lgtm with nit. https://codereview.chromium.org/1464673002/diff/40001/third_party/WebKit/ManualTests/webaudio/multichannel-mediastreamdestination.html File third_party/WebKit/ManualTests/webaudio/multichannel-mediastreamdestination.html (right): https://codereview.chromium.org/1464673002/diff/40001/third_party/WebKit/ManualTests/webaudio/multichannel-mediastreamdestination.html#newcode122 third_party/WebKit/ManualTests/webaudio/multichannel-mediastreamdestination.html:122: // collected and the |onended| event ...
5 years ago (2015-11-30 18:06:09 UTC) #9
hongchan
https://codereview.chromium.org/1464673002/diff/40001/third_party/WebKit/ManualTests/webaudio/multichannel-mediastreamdestination.html File third_party/WebKit/ManualTests/webaudio/multichannel-mediastreamdestination.html (right): https://codereview.chromium.org/1464673002/diff/40001/third_party/WebKit/ManualTests/webaudio/multichannel-mediastreamdestination.html#newcode122 third_party/WebKit/ManualTests/webaudio/multichannel-mediastreamdestination.html:122: // collected and the |onended| event won't be fired. ...
5 years ago (2015-11-30 18:10:44 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1464673002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1464673002/80001
5 years ago (2015-11-30 18:11:16 UTC) #13
DaleCurtis
https://codereview.chromium.org/1464673002/diff/60001/content/renderer/media/webaudio_capturer_source.cc File content/renderer/media/webaudio_capturer_source.cc (right): https://codereview.chromium.org/1464673002/diff/60001/content/renderer/media/webaudio_capturer_source.cc#newcode43 content/renderer/media/webaudio_capturer_source.cc:43: media::CHANNEL_LAYOUT_DISCRETE : On 2015/11/30 18:04:50, hoch wrote: > On ...
5 years ago (2015-11-30 18:53:58 UTC) #14
Raymond Toy
On 2015/11/30 18:10:44, hoch wrote: > https://codereview.chromium.org/1464673002/diff/40001/third_party/WebKit/ManualTests/webaudio/multichannel-mediastreamdestination.html > File > third_party/WebKit/ManualTests/webaudio/multichannel-mediastreamdestination.html > (right): > > ...
5 years ago (2015-11-30 18:55:37 UTC) #15
commit-bot: I haz the power
Dry run: Commit queue failed due to new patchset.
5 years ago (2015-11-30 19:26:50 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1464673002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1464673002/100001
5 years ago (2015-11-30 19:27:14 UTC) #20
commit-bot: I haz the power
Committed patchset #4 (id:100001)
5 years ago (2015-11-30 20:49:48 UTC) #22
commit-bot: I haz the power
5 years ago (2015-11-30 20:50:55 UTC) #24
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/5b2c345c7e535ca7e4024eb09fedda3b30b9b924
Cr-Commit-Position: refs/heads/master@{#362215}

Powered by Google App Engine
This is Rietveld 408576698