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

Issue 176683003: HRTFDatabaseLoader is not an absolute condition to run audioContext (Closed)

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

Description

HRTFDatabaseLoader is not an absolute condition to run audioContext WebAudio feature uses HRTFDatabase(Head-releated transfer function) for pannerNode. However, In constructor of AudioContext::AudioContext, HRTFDatabaseLoader has been created always. It costs approximatively 30MB depends on samplerate even if there is no node to use HRTFDatabase. As according to W3C spec and implementation of current source code, It is used only for PannerNode. HRTFDatabaseLoader should be relocated to pannerNode. Move to check HRTFDatabase on pannerNode::process BUG=342288 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=167887

Patch Set 1 #

Patch Set 2 : #

Total comments: 6

Patch Set 3 : #

Total comments: 4

Patch Set 4 : #

Patch Set 5 : #

Total comments: 1

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -44 lines) Patch
M Source/modules/webaudio/AudioContext.h View 3 chunks +0 lines, -9 lines 0 comments Download
M Source/modules/webaudio/AudioContext.cpp View 3 chunks +0 lines, -17 lines 0 comments Download
M Source/modules/webaudio/AudioDestinationNode.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/webaudio/OfflineAudioDestinationNode.cpp View 2 chunks +5 lines, -9 lines 0 comments Download
M Source/modules/webaudio/PannerNode.h View 2 chunks +4 lines, -0 lines 0 comments Download
M Source/modules/webaudio/PannerNode.cpp View 1 2 3 4 5 4 chunks +16 lines, -3 lines 0 comments Download
M Source/modules/webaudio/RealtimeAnalyser.h View 2 chunks +1 line, -1 line 0 comments Download
M Source/modules/webaudio/RealtimeAnalyser.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M Source/platform/audio/HRTFDatabaseLoader.cpp View 1 chunk +1 line, -3 lines 0 comments Download

Messages

Total messages: 34 (0 generated)
KhNo
Please review the patch set #2. Actually, previous my chromium account has been reset unfortunately. ...
6 years, 10 months ago (2014-02-24 10:14:33 UTC) #1
Ken Russell (switch to Gerrit)
Raymond, could you please review this first?
6 years, 10 months ago (2014-02-24 18:47:54 UTC) #2
Raymond Toy (Google)
https://codereview.chromium.org/176683003/diff/20001/Source/modules/webaudio/PannerNode.cpp File Source/modules/webaudio/PannerNode.cpp (right): https://codereview.chromium.org/176683003/diff/20001/Source/modules/webaudio/PannerNode.cpp#newcode117 Source/modules/webaudio/PannerNode.cpp:117: // HRTFDatabaseLoader and HRTFDatabase should be loaded before proceed. ...
6 years, 10 months ago (2014-02-24 23:01:22 UTC) #3
KhNo
https://codereview.chromium.org/176683003/diff/20001/Source/modules/webaudio/PannerNode.cpp File Source/modules/webaudio/PannerNode.cpp (right): https://codereview.chromium.org/176683003/diff/20001/Source/modules/webaudio/PannerNode.cpp#newcode117 Source/modules/webaudio/PannerNode.cpp:117: // HRTFDatabaseLoader and HRTFDatabase should be loaded before proceed. ...
6 years, 10 months ago (2014-02-25 02:00:24 UTC) #4
KhNo
Please review the patch set #3 which is included about modification of comment.
6 years, 10 months ago (2014-02-25 02:04:17 UTC) #5
Raymond Toy (Google)
A few more comments. And yes, I see that RealtimeAnalyser has a new issue with ...
6 years, 10 months ago (2014-02-25 02:55:49 UTC) #6
KhNo
https://codereview.chromium.org/176683003/diff/100001/Source/modules/webaudio/PannerNode.cpp File Source/modules/webaudio/PannerNode.cpp (right): https://codereview.chromium.org/176683003/diff/100001/Source/modules/webaudio/PannerNode.cpp#newcode55 Source/modules/webaudio/PannerNode.cpp:55: // HRTFDatabaseLoader should be created and load database for ...
6 years, 10 months ago (2014-02-25 04:42:06 UTC) #7
KhNo
Please review the patch set #4
6 years, 10 months ago (2014-02-25 05:35:32 UTC) #8
Raymond Toy (Google)
LGTM, with one minor nit. Also, have you run a some webaudio demos comparing the ...
6 years, 10 months ago (2014-02-25 17:13:53 UTC) #9
KhNo
The CQ bit was checked by keonho07.kim@samsung.com
6 years, 10 months ago (2014-02-26 01:52:34 UTC) #10
KhNo
The CQ bit was unchecked by keonho07.kim@samsung.com
6 years, 10 months ago (2014-02-26 01:52:34 UTC) #11
KhNo
On 2014/02/25 17:13:53, rtoy wrote: > LGTM, with one minor nit. > > Also, have ...
6 years, 10 months ago (2014-02-26 01:52:42 UTC) #12
KhNo
On 2014/02/26 01:52:42, KhNo wrote: > On 2014/02/25 17:13:53, rtoy wrote: > > LGTM, with ...
6 years, 10 months ago (2014-02-26 01:53:06 UTC) #13
KhNo
The CQ bit was checked by keonho07.kim@samsung.com
6 years, 10 months ago (2014-02-26 02:03:35 UTC) #14
KhNo
The CQ bit was unchecked by keonho07.kim@samsung.com
6 years, 10 months ago (2014-02-26 02:07:17 UTC) #15
KhNo
Could you review again the patch set #6. Sorry to bother you? I have checked ...
6 years, 10 months ago (2014-02-26 02:08:30 UTC) #16
Raymond Toy (Google)
On 2014/02/26 02:08:30, KhNo wrote: > Could you review again the patch set #6. Sorry ...
6 years, 10 months ago (2014-02-26 03:12:22 UTC) #17
KhNo
On 2014/02/26 03:12:22, rtoy wrote: > On 2014/02/26 02:08:30, KhNo wrote: > > Could you ...
6 years, 10 months ago (2014-02-26 03:24:25 UTC) #18
KhNo
On 2014/02/26 03:12:22, rtoy wrote: > On 2014/02/26 02:08:30, KhNo wrote: > > Could you ...
6 years, 10 months ago (2014-02-26 03:24:28 UTC) #19
KhNo
The CQ bit was checked by keonho07.kim@samsung.com
6 years, 10 months ago (2014-02-26 03:24:37 UTC) #20
Paweł Hajdan Jr.
The CQ bit was unchecked by phajdan.jr@chromium.org
6 years, 10 months ago (2014-02-26 04:39:32 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/keonho07.kim@samsung.com/176683003/150001
6 years, 10 months ago (2014-02-26 04:39:39 UTC) #22
KhNo
Ken Russell, Could you check OWNER LGTM for this ?
6 years, 10 months ago (2014-02-26 04:56:26 UTC) #23
Paweł Hajdan Jr.
The CQ bit was checked by phajdan.jr@chromium.org
6 years, 10 months ago (2014-02-26 05:29:52 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/keonho07.kim@samsung.com/176683003/150001
6 years, 10 months ago (2014-02-26 05:31:13 UTC) #25
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-26 05:49:11 UTC) #26
commit-bot: I haz the power
Retried try job too often on blink_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=blink_presubmit&number=16732
6 years, 10 months ago (2014-02-26 05:49:12 UTC) #27
KhNo
The CQ bit was checked by keonho07.kim@samsung.com
6 years, 10 months ago (2014-02-26 06:38:31 UTC) #28
KhNo
The CQ bit was unchecked by keonho07.kim@samsung.com
6 years, 10 months ago (2014-02-26 06:38:31 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/keonho07.kim@samsung.com/176683003/150001
6 years, 10 months ago (2014-02-26 06:38:36 UTC) #30
Ken Russell (switch to Gerrit)
Rubber stamp LGTM
6 years, 10 months ago (2014-02-26 07:18:08 UTC) #31
KhNo
The CQ bit was checked by keonho07.kim@samsung.com
6 years, 10 months ago (2014-02-26 08:26:01 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/keonho07.kim@samsung.com/176683003/150001
6 years, 10 months ago (2014-02-26 08:26:10 UTC) #33
commit-bot: I haz the power
6 years, 10 months ago (2014-02-26 10:25:33 UTC) #34
Message was sent while issue was closed.
Change committed as 167887

Powered by Google App Engine
This is Rietveld 408576698