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

Issue 196993002: Guarantee a thread safety when accessing source location info in pannerNode. (Closed)

Created:
6 years, 9 months ago by KhNo
Modified:
6 years, 9 months ago
CC:
blink-reviews, Raymond Toy
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Guarantee a thread safety when accessing source location info and distance model in pannerNode. ScriptExcution thread can set source location info such as postioin, orientation and velocity. These locations also are read from audio thread. Distance model also need to quarantee a thread safety. FIXME :consider thread safety about m_position in audio thread. FIXME :consider thread safety about m_orientation in audio thread. FIXME :consider thread safety about m_velocity in audio thread. BUG=350583 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169537

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 10

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Total comments: 2

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -24 lines) Patch
M Source/modules/webaudio/PannerNode.h View 1 2 3 4 5 6 7 3 chunks +4 lines, -2 lines 0 comments Download
M Source/modules/webaudio/PannerNode.cpp View 1 2 3 4 5 6 13 chunks +41 lines, -22 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
KhNo
Please review this patch. Thank you. :) https://codereview.chromium.org/196993002/diff/40001/Source/modules/webaudio/PannerNode.cpp File Source/modules/webaudio/PannerNode.cpp (left): https://codereview.chromium.org/196993002/diff/40001/Source/modules/webaudio/PannerNode.cpp#oldcode61 Source/modules/webaudio/PannerNode.cpp:61: , m_cachedDistanceConeGain(0) ...
6 years, 9 months ago (2014-03-13 09:45:10 UTC) #1
Raymond Toy
https://codereview.chromium.org/196993002/diff/40001/Source/modules/webaudio/PannerNode.cpp File Source/modules/webaudio/PannerNode.cpp (right): https://codereview.chromium.org/196993002/diff/40001/Source/modules/webaudio/PannerNode.cpp#newcode162 Source/modules/webaudio/PannerNode.cpp:162: // We must be in the middle of changing ...
6 years, 9 months ago (2014-03-13 21:37:46 UTC) #2
KhNo
Please review the patch set #4. Thanks for reviewing https://codereview.chromium.org/196993002/diff/40001/Source/modules/webaudio/PannerNode.cpp File Source/modules/webaudio/PannerNode.cpp (right): https://codereview.chromium.org/196993002/diff/40001/Source/modules/webaudio/PannerNode.cpp#newcode162 Source/modules/webaudio/PannerNode.cpp:162: ...
6 years, 9 months ago (2014-03-14 10:39:57 UTC) #3
Raymond Toy
Just some nits. https://codereview.chromium.org/196993002/diff/40001/Source/modules/webaudio/PannerNode.h File Source/modules/webaudio/PannerNode.h (right): https://codereview.chromium.org/196993002/diff/40001/Source/modules/webaudio/PannerNode.h#newcode179 Source/modules/webaudio/PannerNode.h:179: // Synchronize process() and setters panningModel, ...
6 years, 9 months ago (2014-03-14 22:30:36 UTC) #4
KhNo
Could you review again? :) Thanks. https://codereview.chromium.org/196993002/diff/40001/Source/modules/webaudio/PannerNode.h File Source/modules/webaudio/PannerNode.h (right): https://codereview.chromium.org/196993002/diff/40001/Source/modules/webaudio/PannerNode.h#newcode179 Source/modules/webaudio/PannerNode.h:179: // Synchronize process() ...
6 years, 9 months ago (2014-03-15 04:58:16 UTC) #5
Raymond Toy
lgtm. You'll need an lgtm from kbr, still.
6 years, 9 months ago (2014-03-18 16:41:52 UTC) #6
KhNo
On 2014/03/18 16:41:52, Raymond Toy wrote: > lgtm. > > You'll need an lgtm from ...
6 years, 9 months ago (2014-03-19 00:27:46 UTC) #7
Ken Russell (switch to Gerrit)
LGTM with one comment. https://codereview.chromium.org/196993002/diff/70001/Source/modules/webaudio/PannerNode.cpp File Source/modules/webaudio/PannerNode.cpp (right): https://codereview.chromium.org/196993002/diff/70001/Source/modules/webaudio/PannerNode.cpp#newcode457 Source/modules/webaudio/PannerNode.cpp:457: ASSERT(context()->isAudioThread()); Since dopplerRate() is public ...
6 years, 9 months ago (2014-03-19 00:37:40 UTC) #8
KhNo
Thanks for reviewing. https://codereview.chromium.org/196993002/diff/70001/Source/modules/webaudio/PannerNode.cpp File Source/modules/webaudio/PannerNode.cpp (right): https://codereview.chromium.org/196993002/diff/70001/Source/modules/webaudio/PannerNode.cpp#newcode457 Source/modules/webaudio/PannerNode.cpp:457: ASSERT(context()->isAudioThread()); On 2014/03/19 00:37:41, Ken Russell ...
6 years, 9 months ago (2014-03-19 01:46:42 UTC) #9
KhNo
The CQ bit was checked by keonho07.kim@samsung.com
6 years, 9 months ago (2014-03-19 02:02:56 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/keonho07.kim@samsung.com/196993002/90001
6 years, 9 months ago (2014-03-19 02:03:04 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-19 02:20:15 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on win_blink_compile_dbg
6 years, 9 months ago (2014-03-19 02:20:17 UTC) #13
KhNo
The CQ bit was checked by keonho07.kim@samsung.com
6 years, 9 months ago (2014-03-19 02:35:40 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/keonho07.kim@samsung.com/196993002/110001
6 years, 9 months ago (2014-03-19 02:35:49 UTC) #15
KhNo
The CQ bit was unchecked by keonho07.kim@samsung.com
6 years, 9 months ago (2014-03-19 09:14:27 UTC) #16
KhNo
The CQ bit was checked by keonho07.kim@samsung.com
6 years, 9 months ago (2014-03-19 09:15:04 UTC) #17
KhNo
The CQ bit was unchecked by keonho07.kim@samsung.com
6 years, 9 months ago (2014-03-19 09:15:07 UTC) #18
KhNo
The CQ bit was checked by keonho07.kim@samsung.com
6 years, 9 months ago (2014-03-19 09:25:25 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/keonho07.kim@samsung.com/196993002/130001
6 years, 9 months ago (2014-03-19 09:25:32 UTC) #20
commit-bot: I haz the power
6 years, 9 months ago (2014-03-19 10:29:07 UTC) #21
Message was sent while issue was closed.
Change committed as 169537

Powered by Google App Engine
This is Rietveld 408576698