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

Issue 393363002: Move handle of HRTFDatabaseLoader to AudioListener. (Closed)

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

Description

Move handle of HRTFDatabaseLoader to AudioListener. Fix regression on specific application. http://googlechrome.github.io/web-audio-samples/samples/audio/box2d-js/box2d-audio.html Although a HRTFDatabaseLoader should keep the handle until AudioContext is destroyed, a panner node tries to create the loader again since being removed the handle by deref() of AudioNode. The handle has been moved to AudioListener that is related mostly to keep the handle. BUG=393751 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=178583

Patch Set 1 #

Total comments: 12

Patch Set 2 : Update as review. #

Total comments: 3

Patch Set 3 : Move all HRTF loader functionality to AudioListener. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -9 lines) Patch
M Source/modules/webaudio/AudioListener.h View 1 2 3 chunks +9 lines, -1 line 0 comments Download
M Source/modules/webaudio/AudioListener.cpp View 1 2 2 chunks +17 lines, -0 lines 0 comments Download
M Source/modules/webaudio/PannerNode.h View 1 2 2 chunks +0 lines, -3 lines 0 comments Download
M Source/modules/webaudio/PannerNode.cpp View 1 2 4 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
KhNo
PTAL. :)
6 years, 5 months ago (2014-07-16 16:14:56 UTC) #1
Raymond Toy
Looks good overall. Just a few questions. https://codereview.chromium.org/393363002/diff/1/Source/modules/webaudio/AudioListener.h File Source/modules/webaudio/AudioListener.h (right): https://codereview.chromium.org/393363002/diff/1/Source/modules/webaudio/AudioListener.h#newcode109 Source/modules/webaudio/AudioListener.h:109: // HRTF ...
6 years, 5 months ago (2014-07-16 16:35:39 UTC) #2
tkent
https://codereview.chromium.org/393363002/diff/1/Source/modules/webaudio/AudioListener.h File Source/modules/webaudio/AudioListener.h (right): https://codereview.chromium.org/393363002/diff/1/Source/modules/webaudio/AudioListener.h#newcode83 Source/modules/webaudio/AudioListener.h:83: void setHRTFDatabaseLoader(PassRefPtrWillBeRawPtr<HRTFDatabaseLoader>); PassRefPtrWIllBeRawPtr should be PassRefPtr because HRTFDatabaseLoader is ...
6 years, 5 months ago (2014-07-16 23:32:25 UTC) #3
KhNo
PTAL. My try bot is broken. Need to notice to sheriffs. I will. https://codereview.chromium.org/393363002/diff/1/Source/modules/webaudio/AudioListener.h File ...
6 years, 5 months ago (2014-07-17 16:23:17 UTC) #4
Raymond Toy
Looks good, but I have a few more comments. Mostly, can we remove the HRTFDatabaseLoader ...
6 years, 5 months ago (2014-07-17 17:25:46 UTC) #5
KhNo
On 2014/07/17 17:25:46, Raymond Toy wrote: > Looks good, but I have a few more ...
6 years, 5 months ago (2014-07-17 17:35:09 UTC) #6
KhNo
PTAL. :)
6 years, 5 months ago (2014-07-20 07:42:07 UTC) #7
Raymond Toy
LGTM. A question: if you create two AudioContext's, will there now be two copies of ...
6 years, 5 months ago (2014-07-21 17:43:22 UTC) #8
KhNo
On 2014/07/21 17:43:22, Raymond Toy wrote: > LGTM. > > A question: if you create ...
6 years, 5 months ago (2014-07-21 17:48:41 UTC) #9
KhNo
On 2014/07/21 17:48:41, KhNo wrote: > On 2014/07/21 17:43:22, Raymond Toy wrote: > > LGTM. ...
6 years, 5 months ago (2014-07-21 18:02:52 UTC) #10
KhNo
The CQ bit was checked by keonho07.kim@samsung.com
6 years, 5 months ago (2014-07-21 18:03:27 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/keonho07.kim@samsung.com/393363002/140001
6 years, 5 months ago (2014-07-21 18:03:42 UTC) #12
Raymond Toy
On 2014/07/21 17:48:41, KhNo wrote: > On 2014/07/21 17:43:22, Raymond Toy wrote: > > LGTM. ...
6 years, 5 months ago (2014-07-21 18:04:05 UTC) #13
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_gpu on tryserver.chromium.gpu ...
6 years, 5 months ago (2014-07-21 19:04:29 UTC) #14
commit-bot: I haz the power
6 years, 5 months ago (2014-07-21 20:02:55 UTC) #15
Message was sent while issue was closed.
Change committed as 178583

Powered by Google App Engine
This is Rietveld 408576698