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

Issue 14628008: Require use of AudioBus::create() to avoid ref-counting issues (Closed)

Created:
7 years, 7 months ago by xingnan.wang
Modified:
7 years, 7 months ago
Reviewers:
Chris Rogers, aarya
CC:
blink-reviews, jeez, James Wei, inferno
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Require use of AudioBus::create() to avoid ref-counting issues BUG=235733 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=149804

Patch Set 1 #

Total comments: 7

Patch Set 2 : Add adoptRef for new AudioBus #

Patch Set 3 : Require use of #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -74 lines) Patch
M Source/core/platform/audio/AudioBus.h View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M Source/core/platform/audio/AudioBus.cpp View 1 2 6 chunks +14 lines, -9 lines 0 comments Download
M Source/core/platform/audio/AudioFIFO.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/platform/audio/AudioFIFO.cpp View 1 2 3 chunks +5 lines, -5 lines 0 comments Download
M Source/core/platform/audio/AudioPullFIFO.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/platform/audio/AudioPullFIFO.cpp View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/platform/audio/AudioResampler.cpp View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M Source/core/platform/audio/MultiChannelResampler.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/core/platform/audio/Reverb.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/core/platform/audio/SincResampler.cpp View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M Source/core/platform/audio/chromium/AudioDestinationChromium.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/platform/audio/chromium/AudioDestinationChromium.cpp View 1 2 3 chunks +12 lines, -12 lines 0 comments Download
M Source/core/platform/chromium/support/WebAudioBus.cpp View 1 2 2 chunks +9 lines, -5 lines 0 comments Download
M Source/modules/webaudio/AudioDestinationNode.h View 1 2 1 chunk +5 lines, -5 lines 0 comments Download
M Source/modules/webaudio/AudioNodeInput.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M Source/modules/webaudio/AudioNodeOutput.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M Source/modules/webaudio/AudioParam.cpp View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M Source/modules/webaudio/ConvolverNode.cpp View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M Source/modules/webaudio/MediaStreamAudioDestinationNode.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/webaudio/MediaStreamAudioDestinationNode.cpp View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M Source/modules/webaudio/OfflineAudioDestinationNode.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/webaudio/ScriptProcessorNode.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/webaudio/ScriptProcessorNode.cpp View 1 2 3 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Chris Rogers
Thanks Xingnan, just a few minor comments. https://codereview.chromium.org/14628008/diff/1/Source/core/platform/audio/AudioFIFO.cpp File Source/core/platform/audio/AudioFIFO.cpp (right): https://codereview.chromium.org/14628008/diff/1/Source/core/platform/audio/AudioFIFO.cpp#newcode38 Source/core/platform/audio/AudioFIFO.cpp:38: : m_fifoAudioBus(new ...
7 years, 7 months ago (2013-05-02 17:48:46 UTC) #1
xingnan.wang
Done. On 2013/05/02 17:48:46, Chris Rogers wrote: > Thanks Xingnan, just a few minor comments. ...
7 years, 7 months ago (2013-05-03 03:18:51 UTC) #2
Chris Rogers
Sorry Xingnan, I should have realized this earlier in my last comments. To be more ...
7 years, 7 months ago (2013-05-03 20:24:55 UTC) #3
Chris Rogers
You can use AudioBuffer:create() as an example...
7 years, 7 months ago (2013-05-03 20:25:42 UTC) #4
Chris Rogers
Thanks for the changes - lgtm
7 years, 7 months ago (2013-05-06 20:26:26 UTC) #5
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
7 years, 7 months ago (2013-05-06 20:27:46 UTC) #6
aarya
lgtm
7 years, 7 months ago (2013-05-06 20:28:34 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xingnan.wang@intel.com/14628008/21001
7 years, 7 months ago (2013-05-06 20:28:50 UTC) #8
aarya
On 2013/05/06 20:27:46, I haz the power (commit-bot) wrote: > No LGTM from a valid ...
7 years, 7 months ago (2013-05-06 20:30:16 UTC) #9
commit-bot: I haz the power
7 years, 7 months ago (2013-05-06 21:37:50 UTC) #10
Message was sent while issue was closed.
Change committed as 149804

Powered by Google App Engine
This is Rietveld 408576698