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

Issue 810763006: Support more than 8 channels for AudioContext.destination node on OSX (Closed)

Created:
5 years, 11 months ago by hongchan
Modified:
5 years, 5 months ago
CC:
chromium-reviews, mkwst+moarreviews-renderer_chromium.org, darin-cc_chromium.org, jam, mlamouri+watch-content_chromium.org, Raymond Toy, DaleCurtis
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Support more than 8 channels on AudioContext.destination node on OSX. Note that this patch does not fix the issue for Windows/Linux multichannel support. When an audio hardware with 8 or more outputs used by Chrome, setting AudioContext.destination.channelCount beyond 8 results silence. context.destination.channelCount = 9; // Result silence. This is because the current implementation of channel layout with corresponding channel count is incomplete. This patch resolves the issue by: - Enforcing CHANNEL_LAYOUT_DISCRETE when user sets the channel count more than 8. - When the channel layout is 'discrete', use explicit channel count specified by user to create a WebAudioDevice object. BUG=424795 Committed: https://crrev.com/1d8996d3c518a873d213962990ebb6c755fdb8df Cr-Commit-Position: refs/heads/master@{#340305}

Patch Set 1 #

Total comments: 3

Patch Set 2 : #

Patch Set 3 : Bring ToT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -4 lines) Patch
M content/renderer/renderer_blink_platform_impl.cc View 1 2 3 chunks +6 lines, -4 lines 0 comments Download

Messages

Total messages: 25 (7 generated)
Raymond Toy
https://codereview.chromium.org/810763006/diff/1/content/renderer/renderer_blink_platform_impl.cc File content/renderer/renderer_blink_platform_impl.cc (left): https://codereview.chromium.org/810763006/diff/1/content/renderer/renderer_blink_platform_impl.cc#oldcode704 content/renderer/renderer_blink_platform_impl.cc:704: // TODO(crogers): WebKit should give the channel layout instead ...
5 years, 11 months ago (2015-01-08 21:55:54 UTC) #2
hongchan
https://codereview.chromium.org/810763006/diff/1/content/renderer/renderer_blink_platform_impl.cc File content/renderer/renderer_blink_platform_impl.cc (left): https://codereview.chromium.org/810763006/diff/1/content/renderer/renderer_blink_platform_impl.cc#oldcode704 content/renderer/renderer_blink_platform_impl.cc:704: // TODO(crogers): WebKit should give the channel layout instead ...
5 years, 11 months ago (2015-01-08 21:58:33 UTC) #3
DaleCurtis
This is fine with me, but I think this will only work on OSX since ...
5 years, 11 months ago (2015-01-08 22:01:21 UTC) #4
Raymond Toy
https://codereview.chromium.org/810763006/diff/1/content/renderer/renderer_blink_platform_impl.cc File content/renderer/renderer_blink_platform_impl.cc (left): https://codereview.chromium.org/810763006/diff/1/content/renderer/renderer_blink_platform_impl.cc#oldcode704 content/renderer/renderer_blink_platform_impl.cc:704: // TODO(crogers): WebKit should give the channel layout instead ...
5 years, 11 months ago (2015-01-08 22:02:57 UTC) #5
DaleCurtis
For this file I don't think there's much unittest you can add if there's not ...
5 years, 11 months ago (2015-01-08 22:03:03 UTC) #6
hongchan
On 2015/01/08 22:01:21, DaleCurtis wrote: > This is fine with me, but I think this ...
5 years, 11 months ago (2015-01-08 22:09:41 UTC) #7
hongchan
On 2015/01/08 22:02:57, Raymond Toy wrote: > https://codereview.chromium.org/810763006/diff/1/content/renderer/renderer_blink_platform_impl.cc > File content/renderer/renderer_blink_platform_impl.cc (left): > > https://codereview.chromium.org/810763006/diff/1/content/renderer/renderer_blink_platform_impl.cc#oldcode704 ...
5 years, 11 months ago (2015-01-08 22:11:38 UTC) #8
DaleCurtis
Sorry I don't really have any pointer other than to see what AudioManagerMac is doing ...
5 years, 11 months ago (2015-01-08 22:19:31 UTC) #9
hongchan
On 2015/01/08 22:19:31, DaleCurtis wrote: > Sorry I don't really have any pointer other than ...
5 years, 11 months ago (2015-01-08 22:19:59 UTC) #10
Avi (use Gerrit)
On 2015/01/08 22:19:59, hoch wrote: > On 2015/01/08 22:19:31, DaleCurtis wrote: > > Sorry I ...
5 years, 11 months ago (2015-01-09 19:02:39 UTC) #12
Raymond Toy
Please file a bug to say this needs to be implemented for Windows and Linux. ...
5 years, 11 months ago (2015-01-09 19:07:14 UTC) #14
hongchan
On 2015/01/09 19:07:14, Raymond Toy wrote: > Please file a bug to say this needs ...
5 years, 11 months ago (2015-01-09 19:19:15 UTC) #15
Avi (use Gerrit)
On 2015/01/09 19:19:15, hoch wrote: > On 2015/01/09 19:07:14, Raymond Toy wrote: > > Please ...
5 years, 11 months ago (2015-01-09 19:27:41 UTC) #16
hongchan
Here is the verification report after L-G-T-M: Tested PS3 with the recently obtained multichannel audio ...
5 years, 5 months ago (2015-07-24 17:23:52 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/810763006/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/810763006/60001
5 years, 5 months ago (2015-07-24 17:53:11 UTC) #21
DaleCurtis
Still lgtm, thanks for getting the toys and testing :)
5 years, 5 months ago (2015-07-24 17:53:12 UTC) #23
commit-bot: I haz the power
Committed patchset #3 (id:60001)
5 years, 5 months ago (2015-07-24 19:05:49 UTC) #24
commit-bot: I haz the power
5 years, 5 months ago (2015-07-24 19:06:36 UTC) #25
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/1d8996d3c518a873d213962990ebb6c755fdb8df
Cr-Commit-Position: refs/heads/master@{#340305}

Powered by Google App Engine
This is Rietveld 408576698