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

Issue 2440583002: Use AudioUtilities::kRenderQuantumFrames everywhere (Closed)

Created:
4 years, 2 months ago by Raymond Toy
Modified:
4 years, 1 month ago
Reviewers:
hongchan
CC:
blink-reviews, chromium-reviews, haraken
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use AudioUtilities::kRenderQuantumFrames everywhere Use this instead of AudioHandler::ProcessingSizeInFrames so that there's only one definition of the rendering size. Basically ran sed -i 's;ProcessingSizeInFrames;AudioUtilities::kRenderQuantumFrames;g' for all files and then manually fixing up a few places that said AudioHandler::AudioUtilities::kRenderQuantumFrames BUG=657620 TESTS=none; an internal change not visible. Committed: https://crrev.com/b7198aeec6e82994ef5060872852997fccd74410 Cr-Commit-Position: refs/heads/master@{#428875}

Patch Set 1 #

Patch Set 2 : Remove unneeded include of AudioUtilities.h. #

Total comments: 2

Patch Set 3 : Address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -50 lines) Patch
M third_party/WebKit/Source/modules/webaudio/AudioDestinationNode.h View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webaudio/AudioNode.h View 2 chunks +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/AudioNodeInput.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/AudioNodeOutput.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/AudioParam.cpp View 1 2 2 chunks +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.cpp View 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/ConstantSourceNode.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webaudio/ConvolverNode.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/DelayDSPKernel.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webaudio/GainNode.cpp View 1 chunk +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/MediaStreamAudioDestinationNode.cpp View 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/OscillatorNode.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/PannerNode.cpp View 2 chunks +27 lines, -21 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/ScriptProcessorNode.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/StereoPannerNode.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 16 (6 generated)
Raymond Toy
PTAL.
4 years, 2 months ago (2016-10-19 22:34:24 UTC) #3
hongchan
I am still not sure which is the right design: 1. Make all the parts ...
4 years, 1 month ago (2016-10-24 16:23:24 UTC) #5
Raymond Toy
On 2016/10/24 16:23:24, hongchan wrote: > I am still not sure which is the right ...
4 years, 1 month ago (2016-10-26 17:09:08 UTC) #6
hongchan
On 2016/10/26 17:09:08, Raymond Toy wrote: > On 2016/10/24 16:23:24, hongchan wrote: > > I ...
4 years, 1 month ago (2016-10-31 21:39:14 UTC) #7
Raymond Toy
https://codereview.chromium.org/2440583002/diff/20001/third_party/WebKit/Source/modules/webaudio/AudioParam.cpp File third_party/WebKit/Source/modules/webaudio/AudioParam.cpp (right): https://codereview.chromium.org/2440583002/diff/20001/third_party/WebKit/Source/modules/webaudio/AudioParam.cpp#newcode277 third_party/WebKit/Source/modules/webaudio/AudioParam.cpp:277: // equal to AudioHandler::AudioUtilities::kRenderQuantumFrames (the render On 2016/10/24 at ...
4 years, 1 month ago (2016-10-31 22:30:06 UTC) #8
Raymond Toy
On 2016/10/31 at 21:39:14, hongchan wrote: > On 2016/10/26 17:09:08, Raymond Toy wrote: > > ...
4 years, 1 month ago (2016-10-31 22:38:43 UTC) #9
hongchan
lgtm
4 years, 1 month ago (2016-10-31 22:43:04 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2440583002/40001
4 years, 1 month ago (2016-10-31 22:48:13 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-11-01 00:10:29 UTC) #14
commit-bot: I haz the power
4 years, 1 month ago (2016-11-01 00:15:03 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/b7198aeec6e82994ef5060872852997fccd74410
Cr-Commit-Position: refs/heads/master@{#428875}

Powered by Google App Engine
This is Rietveld 408576698