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

Issue 232453003: Add logic to cache elements of panner node from calculation with own attributes and AudioListener (Closed)

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

Description

Add logic to cache elements of panner node from calculation with own attributes and AudioListener. In a panner node, there are several elements, azimuth, elevation, distanceConeGain and dopplerRate which are calculatedby attributes such as the panning model, source's location information, listener, distance parameters and sound cones. AudioListener lock and pannerNode lock are required to quarantee a thread safety when cached elements is queued. In addition, listener will have a list that contain all pannerNode instance in the context to be used update dirtys of each panner nodes. BUG=350583 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=172135

Patch Set 1 : #

Total comments: 20

Patch Set 2 : #

Total comments: 24

Patch Set 3 : Fix some comments and function names #

Total comments: 6

Patch Set 4 : Unrelated fix has been separated. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+280 lines, -154 lines) Patch
M Source/modules/webaudio/AudioListener.h View 1 2 2 chunks +24 lines, -12 lines 0 comments Download
M Source/modules/webaudio/AudioListener.cpp View 1 2 2 chunks +96 lines, -0 lines 0 comments Download
M Source/modules/webaudio/PannerNode.h View 1 2 3 5 chunks +29 lines, -30 lines 0 comments Download
M Source/modules/webaudio/PannerNode.cpp View 1 2 3 13 chunks +131 lines, -112 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
KhNo
Could you review ? I have left some comments. https://codereview.chromium.org/232453003/diff/80002/Source/modules/webaudio/AudioListener.h File Source/modules/webaudio/AudioListener.h (left): https://codereview.chromium.org/232453003/diff/80002/Source/modules/webaudio/AudioListener.h#oldcode50 Source/modules/webaudio/AudioListener.h:50: ...
6 years, 8 months ago (2014-04-14 11:23:30 UTC) #1
KhNo
Please review this patch. I left some comment to explain my approaching.
6 years, 8 months ago (2014-04-16 00:40:33 UTC) #2
Raymond Toy
https://codereview.chromium.org/232453003/diff/120001/Source/modules/webaudio/AudioListener.cpp File Source/modules/webaudio/AudioListener.cpp (right): https://codereview.chromium.org/232453003/diff/120001/Source/modules/webaudio/AudioListener.cpp#newcode35 Source/modules/webaudio/AudioListener.cpp:35: #include "modules/webaudio/PannerNode.h" Is this necessary? https://codereview.chromium.org/232453003/diff/120001/Source/modules/webaudio/AudioListener.cpp#newcode74 Source/modules/webaudio/AudioListener.cpp:74: void AudioListener::updatePannersDirty(unsigned ...
6 years, 8 months ago (2014-04-16 17:36:15 UTC) #3
KhNo
PTAL :) https://codereview.chromium.org/232453003/diff/120001/Source/modules/webaudio/AudioListener.cpp File Source/modules/webaudio/AudioListener.cpp (right): https://codereview.chromium.org/232453003/diff/120001/Source/modules/webaudio/AudioListener.cpp#newcode35 Source/modules/webaudio/AudioListener.cpp:35: #include "modules/webaudio/PannerNode.h" On 2014/04/16 17:36:15, Raymond Toy ...
6 years, 8 months ago (2014-04-17 13:41:02 UTC) #4
Raymond Toy
lgtm with a few nits. https://codereview.chromium.org/232453003/diff/140001/Source/modules/webaudio/PannerNode.cpp File Source/modules/webaudio/PannerNode.cpp (left): https://codereview.chromium.org/232453003/diff/140001/Source/modules/webaudio/PannerNode.cpp#oldcode218 Source/modules/webaudio/PannerNode.cpp:218: Question: If you didn't ...
6 years, 8 months ago (2014-04-21 16:48:25 UTC) #5
KhNo
Please refer my comments. Thanks https://codereview.chromium.org/232453003/diff/140001/Source/modules/webaudio/PannerNode.cpp File Source/modules/webaudio/PannerNode.cpp (left): https://codereview.chromium.org/232453003/diff/140001/Source/modules/webaudio/PannerNode.cpp#oldcode218 Source/modules/webaudio/PannerNode.cpp:218: On 2014/04/21 16:48:26, Raymond ...
6 years, 8 months ago (2014-04-21 17:29:01 UTC) #6
Raymond Toy
https://codereview.chromium.org/232453003/diff/140001/Source/modules/webaudio/PannerNode.cpp File Source/modules/webaudio/PannerNode.cpp (left): https://codereview.chromium.org/232453003/diff/140001/Source/modules/webaudio/PannerNode.cpp#oldcode218 Source/modules/webaudio/PannerNode.cpp:218: On 2014/04/21 17:29:01, KhNo wrote: > On 2014/04/21 16:48:26, ...
6 years, 8 months ago (2014-04-22 00:57:48 UTC) #7
KhNo
https://codereview.chromium.org/232453003/diff/140001/Source/modules/webaudio/PannerNode.cpp File Source/modules/webaudio/PannerNode.cpp (left): https://codereview.chromium.org/232453003/diff/140001/Source/modules/webaudio/PannerNode.cpp#oldcode218 Source/modules/webaudio/PannerNode.cpp:218: On 2014/04/22 00:57:49, Raymond Toy wrote: > On 2014/04/21 ...
6 years, 8 months ago (2014-04-22 06:20:09 UTC) #8
KhNo
The CQ bit was checked by keonho07.kim@samsung.com
6 years, 8 months ago (2014-04-22 12:07:17 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/keonho07.kim@samsung.com/232453003/160001
6 years, 8 months ago (2014-04-22 12:07:23 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-22 12:38:08 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on linux_blink_rel
6 years, 8 months ago (2014-04-22 12:38:09 UTC) #12
KhNo
The CQ bit was checked by keonho07.kim@samsung.com
6 years, 8 months ago (2014-04-22 13:17:05 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/keonho07.kim@samsung.com/232453003/160001
6 years, 8 months ago (2014-04-22 13:17:10 UTC) #14
commit-bot: I haz the power
6 years, 8 months ago (2014-04-22 13:17:53 UTC) #15
Message was sent while issue was closed.
Change committed as 172135

Powered by Google App Engine
This is Rietveld 408576698