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

Unified Diff: Source/modules/webaudio/ScriptProcessorNode.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/PannerNode.cpp ('k') | Source/modules/webaudio/StereoPannerNode.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webaudio/ScriptProcessorNode.cpp
diff --git a/Source/modules/webaudio/ScriptProcessorNode.cpp b/Source/modules/webaudio/ScriptProcessorNode.cpp
index e1135457a2ea9924285c4e5120ae379233447ae1..d834087e2e02a916b5799faa49627ad9e107f51a 100644
--- a/Source/modules/webaudio/ScriptProcessorNode.cpp
+++ b/Source/modules/webaudio/ScriptProcessorNode.cpp
@@ -103,7 +103,7 @@ ScriptProcessorNode::ScriptProcessorNode(AudioContext* context, float sampleRate
ASSERT(numberOfInputChannels <= AudioContext::maxNumberOfChannels());
addInput();
- addOutput(AudioNodeOutput::create(this, numberOfOutputChannels));
+ addOutput(numberOfOutputChannels);
m_channelCount = numberOfInputChannels;
m_channelCountMode = Explicit;
« no previous file with comments | « Source/modules/webaudio/PannerNode.cpp ('k') | Source/modules/webaudio/StereoPannerNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698