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

Unified Diff: Source/modules/webaudio/GainNode.cpp

Issue 1214463003: Split "Online" and "Offline" AudioContext processing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Bring to ToT Created 5 years, 5 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.h ('k') | Source/modules/webaudio/MediaElementAudioSourceNode.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webaudio/GainNode.cpp
diff --git a/Source/modules/webaudio/GainNode.cpp b/Source/modules/webaudio/GainNode.cpp
index 8b2067719e8b9308e86b54c4fa6dcd2493e032f3..b61c4759efd1cae257c90c481998b6be9ac50e1c 100644
--- a/Source/modules/webaudio/GainNode.cpp
+++ b/Source/modules/webaudio/GainNode.cpp
@@ -111,14 +111,14 @@ void GainHandler::checkNumberOfChannelsForInput(AudioNodeInput* input)
// ----------------------------------------------------------------
-GainNode::GainNode(AudioContext& context, float sampleRate)
+GainNode::GainNode(AbstractAudioContext& context, float sampleRate)
: AudioNode(context)
, m_gain(AudioParam::create(context, 1.0))
{
setHandler(GainHandler::create(*this, sampleRate, m_gain->handler()));
}
-GainNode* GainNode::create(AudioContext& context, float sampleRate)
+GainNode* GainNode::create(AbstractAudioContext& context, float sampleRate)
{
return new GainNode(context, sampleRate);
}
« no previous file with comments | « Source/modules/webaudio/GainNode.h ('k') | Source/modules/webaudio/MediaElementAudioSourceNode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698