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

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

Issue 1734483002: Remove dead code related to Web Audio doppler effects (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 f85adfe4f0c17736f24f8dbd071830fefd95f261..3173d657e1428554f49e5b1e7fad8931a6b13124 100644
--- a/third_party/WebKit/Source/modules/webaudio/AudioListener.h
+++ b/third_party/WebKit/Source/modules/webaudio/AudioListener.h
@@ -64,8 +64,7 @@ public:
const FloatPoint3D& upVector() const { return m_upVector; }
// Velocity
- void setVelocity(float x, float y, float z) { setVelocity(FloatPoint3D(x, y, z)); }
- const FloatPoint3D& velocity() const { return m_velocity; }
+ void setVelocity(float x, float y, float z);
// Doppler factor
void setDopplerFactor(double);
@@ -93,14 +92,12 @@ private:
void setPosition(const FloatPoint3D&);
void setOrientation(const FloatPoint3D&);
void setUpVector(const FloatPoint3D&);
- void setVelocity(const FloatPoint3D&);
void markPannersAsDirty(unsigned);
FloatPoint3D m_position;
FloatPoint3D m_orientation;
FloatPoint3D m_upVector;
- FloatPoint3D m_velocity;
double m_dopplerFactor;
double m_speedOfSound;

Powered by Google App Engine
This is Rietveld 408576698