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

Unified Diff: Source/modules/webaudio/AudioNode.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/AudioNode.h ('k') | Source/modules/webaudio/ChannelMergerNode.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webaudio/AudioNode.cpp
diff --git a/Source/modules/webaudio/AudioNode.cpp b/Source/modules/webaudio/AudioNode.cpp
index 6d2fb9b21a55d0642686e92b2604279886652434..80e2cedd60ef6c86fbd4bc4d106626da0e62daa9 100644
--- a/Source/modules/webaudio/AudioNode.cpp
+++ b/Source/modules/webaudio/AudioNode.cpp
@@ -173,9 +173,9 @@ void AudioNode::addInput()
m_inputs.append(AudioNodeInput::create(*this));
}
-void AudioNode::addOutput(AudioNodeOutput* output)
+void AudioNode::addOutput(unsigned numberOfChannels)
{
- m_outputs.append(output);
+ m_outputs.append(AudioNodeOutput::create(this, numberOfChannels));
}
AudioNodeInput* AudioNode::input(unsigned i)
« no previous file with comments | « Source/modules/webaudio/AudioNode.h ('k') | Source/modules/webaudio/ChannelMergerNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698