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

Unified Diff: Source/modules/webaudio/StereoPannerNode.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/ScriptProcessorNode.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webaudio/StereoPannerNode.cpp
diff --git a/Source/modules/webaudio/StereoPannerNode.cpp b/Source/modules/webaudio/StereoPannerNode.cpp
index b3764e14c8a3fbb0c929d4afa12b24f233e93654..54f1b28c8db9c81a040411d293d6e2b17f80a9bf 100644
--- a/Source/modules/webaudio/StereoPannerNode.cpp
+++ b/Source/modules/webaudio/StereoPannerNode.cpp
@@ -25,7 +25,7 @@ StereoPannerNode::StereoPannerNode(AudioContext* context, float sampleRate)
m_pan = AudioParam::create(context, 0);
addInput();
- addOutput(AudioNodeOutput::create(this, 2));
+ addOutput(2);
// The node-specific default mixing rules declare that StereoPannerNode
// can handle mono to stereo and stereo to stereo conversion.
« no previous file with comments | « Source/modules/webaudio/ScriptProcessorNode.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698