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

Unified Diff: Source/modules/webaudio/MediaElementAudioSourceNode.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/GainNode.cpp ('k') | Source/modules/webaudio/MediaStreamAudioSourceNode.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webaudio/MediaElementAudioSourceNode.cpp
diff --git a/Source/modules/webaudio/MediaElementAudioSourceNode.cpp b/Source/modules/webaudio/MediaElementAudioSourceNode.cpp
index 39307125054d1ef0e12fbd6871ceb4beba608418..e25e0cb8d0203828b487ccc94f28166cd7ad61b8 100644
--- a/Source/modules/webaudio/MediaElementAudioSourceNode.cpp
+++ b/Source/modules/webaudio/MediaElementAudioSourceNode.cpp
@@ -50,7 +50,7 @@ MediaElementAudioSourceNode::MediaElementAudioSourceNode(AudioContext* context,
{
// Default to stereo. This could change depending on what the media element
// .src is set to.
- addOutput(AudioNodeOutput::create(this, 2));
+ addOutput(2);
initialize();
}
« no previous file with comments | « Source/modules/webaudio/GainNode.cpp ('k') | Source/modules/webaudio/MediaStreamAudioSourceNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698