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

Issue 2708933005: Fix WebAudio support for discrete channel layouts. (Closed)

Created:
3 years, 10 months ago by DaleCurtis
Modified:
3 years, 10 months ago
Reviewers:
esprehn, hongchan
CC:
chromium-reviews, darin-cc_chromium.org, feature-media-reviews_chromium.org, jam, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix WebAudio support for discrete channel layouts. The code would fire DCHECKs in debug builds since it was not properly handling creation requests for discrete layouts > 8 channels. BUG=671308 TEST=new unittest. Review-Url: https://codereview.chromium.org/2708933005 Cr-Commit-Position: refs/heads/master@{#452672} Committed: https://chromium.googlesource.com/chromium/src/+/9bcabb08699d2b7c0fc6ac18d8b74b821f5b53d7

Patch Set 1 #

Total comments: 6

Patch Set 2 : Add comment. #

Patch Set 3 : Zero session_id. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -39 lines) Patch
M content/renderer/media/renderer_webaudiodevice_impl.h View 3 chunks +6 lines, -0 lines 0 comments Download
M content/renderer/media/renderer_webaudiodevice_impl.cc View 1 2 chunks +7 lines, -2 lines 0 comments Download
M content/renderer/media/renderer_webaudiodevice_impl_unittest.cc View 1 4 chunks +31 lines, -1 line 0 comments Download
M content/renderer/renderer_blink_platform_impl.cc View 1 2 1 chunk +5 lines, -36 lines 0 comments Download

Messages

Total messages: 17 (8 generated)
DaleCurtis
hongchan: Per our earlier discussion. The layouts change slightly, but I don't think it's going ...
3 years, 10 months ago (2017-02-21 22:22:44 UTC) #2
DaleCurtis
@esprehn for: content/renderer/renderer_blink_platform_impl.cc
3 years, 10 months ago (2017-02-21 22:23:09 UTC) #3
esprehn
lgtm for content/renderer, I'd also love to see this code moved into blink instead so ...
3 years, 10 months ago (2017-02-22 01:37:27 UTC) #4
hongchan
lgtm Confirmed the WebAudio multichannel output test runs fine with a 16 channel audio interface. ...
3 years, 10 months ago (2017-02-23 18:43:37 UTC) #5
DaleCurtis
https://codereview.chromium.org/2708933005/diff/1/content/renderer/media/renderer_webaudiodevice_impl.cc File content/renderer/media/renderer_webaudiodevice_impl.cc (right): https://codereview.chromium.org/2708933005/diff/1/content/renderer/media/renderer_webaudiodevice_impl.cc#newcode140 content/renderer/media/renderer_webaudiodevice_impl.cc:140: sink_params_.set_channels_for_discrete(channels); On 2017/02/23 at 18:43:37, hongchan wrote: > Can ...
3 years, 10 months ago (2017-02-23 20:06:07 UTC) #8
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/2708933005/20001
3 years, 10 months ago (2017-02-23 20:06:43 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/354900)
3 years, 10 months ago (2017-02-23 20:40:20 UTC) #11
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/2708933005/40001
3 years, 10 months ago (2017-02-23 22:34:51 UTC) #14
commit-bot: I haz the power
3 years, 10 months ago (2017-02-23 23:34:45 UTC) #17
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/9bcabb08699d2b7c0fc6ac18d8b7...

Powered by Google App Engine
This is Rietveld 408576698