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

Unified Diff: Source/modules/webaudio/DynamicsCompressorNode.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/ConvolverNode.cpp ('k') | Source/modules/webaudio/GainNode.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webaudio/DynamicsCompressorNode.cpp
diff --git a/Source/modules/webaudio/DynamicsCompressorNode.cpp b/Source/modules/webaudio/DynamicsCompressorNode.cpp
index affefc31decab10589d7bb8744273210065dbad6..321b34fda323d91cb98343a0d2d2443e90dc5ab4 100644
--- a/Source/modules/webaudio/DynamicsCompressorNode.cpp
+++ b/Source/modules/webaudio/DynamicsCompressorNode.cpp
@@ -40,7 +40,7 @@ DynamicsCompressorNode::DynamicsCompressorNode(AudioContext* context, float samp
: AudioNode(NodeTypeDynamicsCompressor, context, sampleRate)
{
addInput();
- addOutput(AudioNodeOutput::create(this, defaultNumberOfOutputChannels));
+ addOutput(defaultNumberOfOutputChannels);
m_threshold = AudioParam::create(context, -24);
m_knee = AudioParam::create(context, 30);
« no previous file with comments | « Source/modules/webaudio/ConvolverNode.cpp ('k') | Source/modules/webaudio/GainNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698