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

Unified Diff: Source/modules/webaudio/MediaStreamAudioSourceNode.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/MediaElementAudioSourceNode.cpp ('k') | Source/modules/webaudio/OscillatorNode.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webaudio/MediaStreamAudioSourceNode.cpp
diff --git a/Source/modules/webaudio/MediaStreamAudioSourceNode.cpp b/Source/modules/webaudio/MediaStreamAudioSourceNode.cpp
index 324d4fddb759adbee1789e5b4a39edb1317bc63f..8b33ec841a2c9de561bc58f85c00e890ea54c292 100644
--- a/Source/modules/webaudio/MediaStreamAudioSourceNode.cpp
+++ b/Source/modules/webaudio/MediaStreamAudioSourceNode.cpp
@@ -47,7 +47,7 @@ MediaStreamAudioSourceNode::MediaStreamAudioSourceNode(AudioContext* context, Me
{
// Default to stereo. This could change depending on the format of the
// MediaStream's audio track.
- addOutput(AudioNodeOutput::create(this, 2));
+ addOutput(2);
initialize();
}
« no previous file with comments | « Source/modules/webaudio/MediaElementAudioSourceNode.cpp ('k') | Source/modules/webaudio/OscillatorNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698