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

Issue 2683033003: Tell CoreAudio how to interpret Chrome's channel layout. (Closed)

Created:
3 years, 10 months ago by DaleCurtis
Modified:
3 years, 10 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, mac-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Tell CoreAudio how to interpret Chrome's channel layout. Previously we always assumed the default layout which causes channels to be mapped incorrectly if the user has manually assigned channels. Instead, configure the AUHAL with our known channel layout, or in the case of discrete the most likely layout so that macOS will remap the channels in the appropriate order during playout. BUG=671308, 675787 TEST=5.1 virtual device configured with mixed channels plays the correct order. https://storage.googleapis.com/dalecurtis/dolby6.mp4 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2683033003 Cr-Commit-Position: refs/heads/master@{#449694} Committed: https://chromium.googlesource.com/chromium/src/+/30068b4b24fc18a1a6473866dcc9a8ff28d4ec30

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address comments. #

Total comments: 1

Patch Set 3 : Fix 8ch+ discrete layouts. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -0 lines) Patch
M media/audio/mac/audio_auhal_mac.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M media/audio/mac/audio_auhal_mac.cc View 1 2 4 chunks +84 lines, -0 lines 0 comments Download
M media/base/channel_layout.h View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (14 generated)
DaleCurtis
+folk whose help I need in testing this :)
3 years, 10 months ago (2017-02-09 02:30:41 UTC) #3
Avi (use Gerrit)
https://codereview.chromium.org/2683033003/diff/1/media/audio/mac/audio_auhal_mac.cc File media/audio/mac/audio_auhal_mac.cc (right): https://codereview.chromium.org/2683033003/diff/1/media/audio/mac/audio_auhal_mac.cc#newcode48 media/audio/mac/audio_auhal_mac.cc:48: "Channel positions must max OSX channel order."); "must match"? ...
3 years, 10 months ago (2017-02-09 02:44:38 UTC) #5
DaleCurtis
Thanks for the drive by! https://codereview.chromium.org/2683033003/diff/1/media/audio/mac/audio_auhal_mac.cc File media/audio/mac/audio_auhal_mac.cc (right): https://codereview.chromium.org/2683033003/diff/1/media/audio/mac/audio_auhal_mac.cc#newcode48 media/audio/mac/audio_auhal_mac.cc:48: "Channel positions must max ...
3 years, 10 months ago (2017-02-09 03:18:39 UTC) #7
Avi (use Gerrit)
lgtm drive-by approval then
3 years, 10 months ago (2017-02-09 03:33:46 UTC) #8
hongchan
I will test the CL against my 16 channel audio interface. https://codereview.chromium.org/2683033003/diff/40001/media/audio/mac/audio_auhal_mac.cc File media/audio/mac/audio_auhal_mac.cc (right): ...
3 years, 10 months ago (2017-02-09 04:10:25 UTC) #9
hongchan
On 2017/02/09 04:10:25, hongchan wrote: > I will test the CL against my 16 channel ...
3 years, 10 months ago (2017-02-09 20:31:39 UTC) #11
hongchan
On 2017/02/09 20:31:39, hongchan wrote: > On 2017/02/09 04:10:25, hongchan wrote: > > I will ...
3 years, 10 months ago (2017-02-09 21:23:46 UTC) #12
hongchan
I confirmed that PS3 fixes the web audio multichannel (8 >) issue. lgtm
3 years, 10 months ago (2017-02-09 23:13:00 UTC) #13
DaleCurtis
Great thanks for review! rtoy@ did you have anything to add or ready for CQ?
3 years, 10 months ago (2017-02-09 23:25:24 UTC) #14
Raymond Toy
On 2017/02/09 23:25:24, DaleCurtis wrote: > Great thanks for review! rtoy@ did you have anything ...
3 years, 10 months ago (2017-02-09 23:58:14 UTC) #15
DaleCurtis
On 2017/02/09 at 23:58:14, rtoy wrote: > On 2017/02/09 23:25:24, DaleCurtis wrote: > > Great ...
3 years, 10 months ago (2017-02-10 00:10:17 UTC) #16
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/2683033003/60001
3 years, 10 months ago (2017-02-10 00:10:51 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: mac_optional_gpu_tests_rel on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_optional_gpu_tests_rel/builds/6927)
3 years, 10 months ago (2017-02-10 00:59:04 UTC) #22
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/2683033003/60001
3 years, 10 months ago (2017-02-10 02:13:51 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/387525)
3 years, 10 months ago (2017-02-10 08:14:57 UTC) #26
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/2683033003/60001
3 years, 10 months ago (2017-02-10 17:52:24 UTC) #28
commit-bot: I haz the power
3 years, 10 months ago (2017-02-10 19:40:23 UTC) #31
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/30068b4b24fc18a1a6473866dcc9...

Powered by Google App Engine
This is Rietveld 408576698