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

Issue 2330393002: Change sync primitives ownership for audio rendering. (Closed)

Created:
4 years, 3 months ago by Max Morin
Modified:
4 years, 2 months ago
Reviewers:
DaleCurtis, o1ka
CC:
chromium-reviews, darin-cc_chromium.org, feature-media-reviews_chromium.org, jam, miu+watch_chromium.org, posciak+watch_chromium.org, audio-mojo-cl_google.com
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Change sync primitives ownership for audio rendering. See blue (new code) and magenta (old code) in https://docs.google.com/drawings/d/1QDNHnCENITeH7RFnrokOls1Bbm8ydvTJie1lx7Q7V2I/edit. Also fixed the lint warnings. BUG=425368 Committed: https://crrev.com/b2230c4434368728ecd7a5888754204ed451d986 Cr-Commit-Position: refs/heads/master@{#419427}

Patch Set 1 #

Patch Set 2 : Fix. #

Patch Set 3 : Refactor. Fix unit test. #

Patch Set 4 : New design. #

Patch Set 5 : Small fix. #

Patch Set 6 : Fixes. #

Patch Set 7 : Remove incorrect comment. #

Total comments: 18

Patch Set 8 : Comments. #

Total comments: 8

Patch Set 9 : Comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -86 lines) Patch
M content/browser/renderer_host/media/audio_renderer_host.cc View 1 2 3 4 5 6 7 8 9 chunks +61 lines, -60 lines 0 comments Download
M content/browser/renderer_host/media/audio_renderer_host_unittest.cc View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/renderer_host/media/audio_sync_reader.h View 1 2 3 4 5 6 7 3 chunks +17 lines, -10 lines 0 comments Download
M content/browser/renderer_host/media/audio_sync_reader.cc View 1 2 3 4 5 6 7 8 4 chunks +35 lines, -16 lines 0 comments Download

Messages

Total messages: 22 (11 generated)
Max Morin
Olga: PTAL.
4 years, 3 months ago (2016-09-14 08:20:24 UTC) #5
Max Morin
How about this?
4 years, 3 months ago (2016-09-16 09:13:23 UTC) #6
o1ka
Nice! https://codereview.chromium.org/2330393002/diff/120001/content/browser/renderer_host/media/audio_renderer_host.cc File content/browser/renderer_host/media/audio_renderer_host.cc (left): https://codereview.chromium.org/2330393002/diff/120001/content/browser/renderer_host/media/audio_renderer_host.cc#oldcode330 content/browser/renderer_host/media/audio_renderer_host.cc:330: // mapping shared memory and sharing with the ...
4 years, 3 months ago (2016-09-16 10:51:59 UTC) #7
Max Morin
Olga: PTAL https://codereview.chromium.org/2330393002/diff/120001/content/browser/renderer_host/media/audio_renderer_host.cc File content/browser/renderer_host/media/audio_renderer_host.cc (left): https://codereview.chromium.org/2330393002/diff/120001/content/browser/renderer_host/media/audio_renderer_host.cc#oldcode330 content/browser/renderer_host/media/audio_renderer_host.cc:330: // mapping shared memory and sharing with ...
4 years, 3 months ago (2016-09-16 12:46:15 UTC) #8
o1ka
lgtm
4 years, 3 months ago (2016-09-16 13:01:38 UTC) #9
Max Morin
Dale: PTAL.
4 years, 3 months ago (2016-09-16 13:14:37 UTC) #12
DaleCurtis
lgtm https://codereview.chromium.org/2330393002/diff/140001/content/browser/renderer_host/media/audio_renderer_host.cc File content/browser/renderer_host/media/audio_renderer_host.cc (right): https://codereview.chromium.org/2330393002/diff/140001/content/browser/renderer_host/media/audio_renderer_host.cc#newcode224 content/browser/renderer_host/media/audio_renderer_host.cc:224: return {}; Just return nullptr? https://codereview.chromium.org/2330393002/diff/140001/content/browser/renderer_host/media/audio_renderer_host.cc#newcode354 content/browser/renderer_host/media/audio_renderer_host.cc:354: size_t ...
4 years, 3 months ago (2016-09-16 23:29:13 UTC) #13
Max Morin
https://codereview.chromium.org/2330393002/diff/140001/content/browser/renderer_host/media/audio_renderer_host.cc File content/browser/renderer_host/media/audio_renderer_host.cc (right): https://codereview.chromium.org/2330393002/diff/140001/content/browser/renderer_host/media/audio_renderer_host.cc#newcode224 content/browser/renderer_host/media/audio_renderer_host.cc:224: return {}; On 2016/09/16 23:29:12, DaleCurtis wrote: > Just ...
4 years, 3 months ago (2016-09-19 10:13:02 UTC) #14
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/2330393002/160001
4 years, 3 months ago (2016-09-19 10:13:16 UTC) #17
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 3 months ago (2016-09-19 10:52:20 UTC) #19
commit-bot: I haz the power
4 years, 3 months ago (2016-09-19 10:53:57 UTC) #21
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/b2230c4434368728ecd7a5888754204ed451d986
Cr-Commit-Position: refs/heads/master@{#419427}

Powered by Google App Engine
This is Rietveld 408576698