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

Unified Diff: Source/modules/webaudio/AudioBasicInspectorNode.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/AnalyserNode.cpp ('k') | Source/modules/webaudio/AudioBasicInspectorNode.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webaudio/AudioBasicInspectorNode.h
diff --git a/Source/modules/webaudio/AudioBasicInspectorNode.h b/Source/modules/webaudio/AudioBasicInspectorNode.h
index bf738bd8a56da8b07f034be1d5b00f5fbdbbec37..6d882e495f3cbb59baa216e742f6ede0006bfc11 100644
--- a/Source/modules/webaudio/AudioBasicInspectorNode.h
+++ b/Source/modules/webaudio/AudioBasicInspectorNode.h
@@ -29,11 +29,12 @@
namespace blink {
+class AbstractAudioContext;
class ExceptionState;
// AudioBasicInspectorNode is an AudioNode with one input and one output where the output might not necessarily connect to another node's input.
// If the output is not connected to any other node, then the AudioBasicInspectorNode's processIfNecessary() function will be called automatically by
-// AudioContext before the end of each render quantum so that it can inspect the audio stream.
+// AbstractAudioContext before the end of each render quantum so that it can inspect the audio stream.
class AudioBasicInspectorHandler : public AudioHandler {
public:
AudioBasicInspectorHandler(NodeType, AudioNode&, float sampleRate, unsigned outputChannelCount);
@@ -45,12 +46,12 @@ public:
void updatePullStatus();
private:
- bool m_needAutomaticPull; // When setting to true, AudioBasicInspectorHandler will be pulled automaticlly by AudioContext before the end of each render quantum.
+ bool m_needAutomaticPull; // When setting to true, AudioBasicInspectorHandler will be pulled automaticlly by AbstractAudioContext before the end of each render quantum.
};
class AudioBasicInspectorNode : public AudioNode {
protected:
- explicit AudioBasicInspectorNode(AudioContext& context) : AudioNode(context) { }
+ explicit AudioBasicInspectorNode(AbstractAudioContext& context) : AudioNode(context) { }
private:
// TODO(tkent): Should AudioBasicInspectorNode override other variants of
« no previous file with comments | « Source/modules/webaudio/AnalyserNode.cpp ('k') | Source/modules/webaudio/AudioBasicInspectorNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698