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

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

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/DynamicsCompressorNodeTest.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/GainNode.h
diff --git a/Source/modules/webaudio/GainNode.h b/Source/modules/webaudio/GainNode.h
index 923ae57213ae546a9a2a22a010c85121e8d7e2cc..da401a65dea6686d414015fca679d3a400673e00 100644
--- a/Source/modules/webaudio/GainNode.h
+++ b/Source/modules/webaudio/GainNode.h
@@ -32,7 +32,7 @@
namespace blink {
-class AudioContext;
+class AbstractAudioContext;
// GainNode is an AudioNode with one input and one output which applies a gain (volume) change to the audio signal.
// De-zippering (smoothing) is applied when the gain value is changed dynamically.
@@ -59,13 +59,13 @@ private:
class GainNode final : public AudioNode {
DEFINE_WRAPPERTYPEINFO();
public:
- static GainNode* create(AudioContext&, float sampleRate);
+ static GainNode* create(AbstractAudioContext&, float sampleRate);
DECLARE_VIRTUAL_TRACE();
AudioParam* gain() const;
private:
- GainNode(AudioContext&, float sampleRate);
+ GainNode(AbstractAudioContext&, float sampleRate);
Member<AudioParam> m_gain;
};
« no previous file with comments | « Source/modules/webaudio/DynamicsCompressorNodeTest.cpp ('k') | Source/modules/webaudio/GainNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698