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

Issue 2014343002: Defer changes to channelInterpretation to pre/post rendering. (Closed)

Created:
4 years, 7 months ago by Raymond Toy
Modified:
4 years, 6 months ago
Reviewers:
Nico, hongchan
CC:
chromium-reviews, blink-reviews, haraken, Raymond Toy
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Defer changes to channelInterpretation to pre/post rendering. If the main thread changes the channel interpretation, record the change and do the update to the channel interpretation in the pre and/or post rendering phase in the deferred task handler. This removes the race in setting the interpretation in the main thread while also reading it in the audio thread which uses the interpretation to determine how to sum a bunch of connections together. BUG=615093, 613332 TEST=none Committed: https://crrev.com/dd2bffb1f8812c26400a2aca38f1eb9c1fced985 Cr-Commit-Position: refs/heads/master@{#396317}

Patch Set 1 #

Patch Set 2 : #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -6 lines) Patch
M third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.h View 1 1 chunk +0 lines, -2 lines 3 comments Download
M third_party/WebKit/Source/modules/webaudio/AudioNode.h View 2 chunks +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/AudioNode.cpp View 3 chunks +13 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.h View 1 4 chunks +8 lines, -2 lines 1 comment Download
M third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.cpp View 3 chunks +24 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (7 generated)
Raymond Toy
PTAL
4 years, 7 months ago (2016-05-26 20:48:21 UTC) #3
hongchan
lgtm - does this resolve associated bugs? (perhaps we want to dry run with tsan ...
4 years, 7 months ago (2016-05-26 21:00:57 UTC) #4
Raymond Toy
I tested with a local tsan build that the bug in 615093 is actually fixed. ...
4 years, 7 months ago (2016-05-26 21:06:59 UTC) #5
hongchan
On 2016/05/26 21:06:59, Raymond Toy wrote: > I tested with a local tsan build that ...
4 years, 7 months ago (2016-05-26 21:09:37 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2014343002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2014343002/20001
4 years, 7 months ago (2016-05-26 23:03:56 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-05-26 23:34:28 UTC) #11
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/dd2bffb1f8812c26400a2aca38f1eb9c1fced985 Cr-Commit-Position: refs/heads/master@{#396317}
4 years, 7 months ago (2016-05-26 23:36:55 UTC) #13
Nico
This broke release component builds. https://codereview.chromium.org/2014343002/diff/20001/third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.h File third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.h (left): https://codereview.chromium.org/2014343002/diff/20001/third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.h#oldcode238 third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.h:238: #endif On 2016/05/26 21:06:58, ...
4 years, 6 months ago (2016-05-27 13:09:33 UTC) #15
Nico
I'll try to fix. The CQ will probably let me know why you removed the ...
4 years, 6 months ago (2016-05-27 13:11:43 UTC) #16
Nico
4 years, 6 months ago (2016-05-27 13:11:53 UTC) #17
Message was sent while issue was closed.
(fix wip at  https://codereview.chromium.org/2017923002 )

Powered by Google App Engine
This is Rietveld 408576698