Index: Source/modules/webaudio/ScriptProcessorNode.h |
diff --git a/Source/modules/webaudio/ScriptProcessorNode.h b/Source/modules/webaudio/ScriptProcessorNode.h |
index 064b6d2dbc13a971d661cd7af6bc2ddeb5344d12..8c9d4b19661f807ce067965e4d138c67e564d499 100644 |
--- a/Source/modules/webaudio/ScriptProcessorNode.h |
+++ b/Source/modules/webaudio/ScriptProcessorNode.h |
@@ -34,8 +34,8 @@ |
namespace blink { |
+class AbstractAudioContext; |
class AudioBuffer; |
-class AudioContext; |
// ScriptProcessorNode is an AudioNode which allows for arbitrary synthesis or processing directly using JavaScript. |
// The API allows for a variable number of inputs and outputs, although it must have at least one input or output. |
@@ -101,13 +101,13 @@ public: |
// latency. Higher numbers will be necessary to avoid audio breakup and |
// glitches. |
// The value chosen must carefully balance between latency and audio quality. |
- static ScriptProcessorNode* create(AudioContext&, float sampleRate, size_t bufferSize, unsigned numberOfInputChannels, unsigned numberOfOutputChannels); |
+ static ScriptProcessorNode* create(AbstractAudioContext&, float sampleRate, size_t bufferSize, unsigned numberOfInputChannels, unsigned numberOfOutputChannels); |
DEFINE_ATTRIBUTE_EVENT_LISTENER(audioprocess); |
size_t bufferSize() const; |
private: |
- ScriptProcessorNode(AudioContext&, float sampleRate, size_t bufferSize, unsigned numberOfInputChannels, unsigned numberOfOutputChannels); |
+ ScriptProcessorNode(AbstractAudioContext&, float sampleRate, size_t bufferSize, unsigned numberOfInputChannels, unsigned numberOfOutputChannels); |
}; |
} // namespace blink |