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

Unified Diff: third_party/WebKit/Source/modules/webaudio/AudioListener.h

Issue 2380183002: Remove WebAudio doppler effect API surface (already no-ops) (Closed)
Patch Set: Rebase Created 4 years, 2 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
Index: third_party/WebKit/Source/modules/webaudio/AudioListener.h
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioListener.h b/third_party/WebKit/Source/modules/webaudio/AudioListener.h
index 9f873a675f5fd24139e69858b64aec4f8487ad07..868d4b87177c02502772e07ac6b3f2da3ffc49a9 100644
--- a/third_party/WebKit/Source/modules/webaudio/AudioListener.h
+++ b/third_party/WebKit/Source/modules/webaudio/AudioListener.h
@@ -116,17 +116,6 @@ class AudioListener : public GarbageCollectedFinalized<AudioListener>,
setUpVector(FloatPoint3D(upX, upY, upZ));
}
- // Velocity
- void setVelocity(float x, float y, float z);
-
- // Doppler factor
- void setDopplerFactor(double);
- double dopplerFactor() const { return m_dopplerFactor; }
-
- // Speed of sound
- void setSpeedOfSound(double);
- double speedOfSound() const { return m_speedOfSound; }
-
Mutex& listenerLock() { return m_listenerLock; }
void addPanner(PannerHandler&);
void removePanner(PannerHandler&);
@@ -165,9 +154,6 @@ class AudioListener : public GarbageCollectedFinalized<AudioListener>,
Member<AudioParam> m_upY;
Member<AudioParam> m_upZ;
- double m_dopplerFactor;
- double m_speedOfSound;
-
// The position, forward, and up vectors from the last rendering quantum.
FloatPoint3D m_lastPosition;
FloatPoint3D m_lastForward;
« no previous file with comments | « third_party/WebKit/Source/core/frame/UseCounter.h ('k') | third_party/WebKit/Source/modules/webaudio/AudioListener.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698