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

Unified Diff: Source/modules/webaudio/ChannelSplitterNode.cpp

Issue 1023113002: Web Audio: Change the argument of AudioNode::addOutput(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/modules/webaudio/ChannelMergerNode.cpp ('k') | Source/modules/webaudio/ConvolverNode.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webaudio/ChannelSplitterNode.cpp
diff --git a/Source/modules/webaudio/ChannelSplitterNode.cpp b/Source/modules/webaudio/ChannelSplitterNode.cpp
index e540b21dcd17b3fc60c6f2990660d68bb7486d48..491bf22d56b409824c14ce895385cea104b8e57b 100644
--- a/Source/modules/webaudio/ChannelSplitterNode.cpp
+++ b/Source/modules/webaudio/ChannelSplitterNode.cpp
@@ -47,7 +47,7 @@ ChannelSplitterNode::ChannelSplitterNode(AudioContext* context, float sampleRate
// Create a fixed number of outputs (able to handle the maximum number of channels fed to an input).
for (unsigned i = 0; i < numberOfOutputs; ++i)
- addOutput(AudioNodeOutput::create(this, 1));
+ addOutput(1);
initialize();
}
« no previous file with comments | « Source/modules/webaudio/ChannelMergerNode.cpp ('k') | Source/modules/webaudio/ConvolverNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698