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

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

Issue 783273002: Remove Doppler effect from PannerNode (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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 | « no previous file | 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 285ef34a498a0ed7a93faa9d8e88e452386ee5a2..cc6758a6c41120a0daee7fc9f579c0db3ed7d1ff 100644
--- a/Source/modules/webaudio/PannerNode.h
+++ b/Source/modules/webaudio/PannerNode.h
@@ -63,7 +63,6 @@ public:
// AudioNode
virtual void dispose() override;
virtual void process(size_t framesToProcess) override;
- virtual void pullInputs(size_t framesToProcess) override;
virtual void initialize() override;
virtual void uninitialize() override;
@@ -132,10 +131,6 @@ private:
bool isDistanceConeGainDirty() const { return m_isDistanceConeGainDirty; }
bool isDopplerRateDirty() const { return m_isDopplerRateDirty; }
- // Notifies any AudioBufferSourceNodes connected to us either directly or indirectly about our existence.
- // This is in order to handle the pitch change necessary for the doppler shift.
- void notifyAudioSourcesConnectedToNode(AudioNode*, HashMap<AudioNode*, bool> &visitedNodes);
-
Member<Panner> m_panner;
unsigned m_panningModel;
unsigned m_distanceModel;
@@ -160,9 +155,6 @@ private:
float m_cachedDistanceConeGain;
double m_cachedDopplerRate;
- // AudioContext's connection count
- unsigned m_connectionCount;
-
// Synchronize process() with setting of the panning model, source's location information, listener, distance parameters and sound cones.
mutable Mutex m_processLock;
};
« no previous file with comments | « no previous file | Source/modules/webaudio/PannerNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698