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

Unified Diff: Source/modules/webaudio/PannerNode.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/OscillatorNode.cpp ('k') | Source/modules/webaudio/PannerNode.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webaudio/PannerNode.h
diff --git a/Source/modules/webaudio/PannerNode.h b/Source/modules/webaudio/PannerNode.h
index 60c91863edb247d20ef037ff041d275902a2d100..c7050af72398a620ef6f7235ff839ee77f1a04e9 100644
--- a/Source/modules/webaudio/PannerNode.h
+++ b/Source/modules/webaudio/PannerNode.h
@@ -36,6 +36,8 @@
namespace blink {
+class AbstractAudioContext;
+
// PannerNode is an AudioNode with one input and one output.
// It positions a sound in 3D space, with the exact effect dependent on the panning model.
// It has a position and an orientation in 3D space which is relative to the position and orientation of the context's AudioListener.
@@ -105,7 +107,7 @@ public:
private:
PannerHandler(AudioNode&, float sampleRate);
- // AudioContext's listener
+ // AbstractAudioContext's listener
AudioListener* listener();
bool setPanningModel(unsigned); // Returns true on success.
@@ -156,7 +158,7 @@ private:
class PannerNode final : public AudioNode {
DEFINE_WRAPPERTYPEINFO();
public:
- static PannerNode* create(AudioContext&, float sampleRate);
+ static PannerNode* create(AbstractAudioContext&, float sampleRate);
PannerHandler& pannerHandler() const;
String panningModel() const;
@@ -180,7 +182,7 @@ public:
void setConeOuterGain(double);
private:
- PannerNode(AudioContext&, float sampleRate);
+ PannerNode(AbstractAudioContext&, float sampleRate);
};
} // namespace blink
« no previous file with comments | « Source/modules/webaudio/OscillatorNode.cpp ('k') | Source/modules/webaudio/PannerNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698