Index: third_party/WebKit/Source/modules/webaudio/AudioListener.cpp |
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioListener.cpp b/third_party/WebKit/Source/modules/webaudio/AudioListener.cpp |
index 2964ba63bfede3d7988853601881361fb7f2e663..69cca38235fed74ec27d7f383dc7d5b716c1aa4b 100644 |
--- a/third_party/WebKit/Source/modules/webaudio/AudioListener.cpp |
+++ b/third_party/WebKit/Source/modules/webaudio/AudioListener.cpp |
@@ -44,8 +44,6 @@ AudioListener::AudioListener(BaseAudioContext& context) |
, m_upX(AudioParam::create(context, ParamTypeAudioListenerUpX, 0.0)) |
, m_upY(AudioParam::create(context, ParamTypeAudioListenerUpY, 1.0)) |
, m_upZ(AudioParam::create(context, ParamTypeAudioListenerUpZ, 0.0)) |
- , m_dopplerFactor(1) |
- , m_speedOfSound(343.3) |
, m_lastUpdateTime(-1) |
, m_isListenerDirty(false) |
, m_positionXValues(AudioUtilities::kRenderQuantumFrames) |
@@ -291,20 +289,4 @@ void AudioListener::setUpVector(const FloatPoint3D& upVector) |
markPannersAsDirty(PannerHandler::AzimuthElevationDirty); |
} |
-void AudioListener::setVelocity(float x, float y, float z) |
-{ |
- // The velocity is not used internally and cannot be read back by scripts, |
- // so it can be ignored entirely. |
-} |
- |
-void AudioListener::setDopplerFactor(double dopplerFactor) |
-{ |
- m_dopplerFactor = dopplerFactor; |
-} |
- |
-void AudioListener::setSpeedOfSound(double speedOfSound) |
-{ |
- m_speedOfSound = speedOfSound; |
-} |
- |
} // namespace blink |