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

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

Issue 2356223002: Remove WebAudio doppler effect API surface (already no-ops) (Closed)
Patch Set: rebase Created 4 years, 3 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 70ffad12a733dc5f6f88defa494ead68ad885510..2e37858ba0c8073406da7238cca3612834e6e868 100644
--- a/third_party/WebKit/Source/modules/webaudio/AudioListener.h
+++ b/third_party/WebKit/Source/modules/webaudio/AudioListener.h
@@ -119,17 +119,6 @@ public:
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&);
@@ -166,9 +155,6 @@ private:
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;

Powered by Google App Engine
This is Rietveld 408576698