Index: modules/webaudio/AudioListener.idl |
diff --git a/modules/webaudio/AudioListener.idl b/modules/webaudio/AudioListener.idl |
index 6f4645c5959f3e46d72975c46169e71d6b92fe78..4783450faa916fbdfcc75825428409b53a1146ea 100644 |
--- a/modules/webaudio/AudioListener.idl |
+++ b/modules/webaudio/AudioListener.idl |
@@ -28,12 +28,12 @@ |
[ |
GarbageCollected, |
- Conditional=WEB_AUDIO |
+ Conditional=WEB_AUDIO, |
] interface AudioListener { |
- attribute float dopplerFactor; // same as OpenAL (default 1.0) |
- attribute float speedOfSound; // in meters / second (default 343.3) |
+ [DeprecateAs=AudioListenerDopplerFactor] attribute float dopplerFactor; // same as OpenAL (default 1.0) |
+ [DeprecateAs=AudioListenerSpeedOfSound] attribute float speedOfSound; // in meters / second (default 343.3) |
void setPosition(float x, float y, float z); |
void setOrientation(float x, float y, float z, float xUp, float yUp, float zUp); |
- void setVelocity(float x, float y, float z); |
+ [DeprecateAs=AudioListenerSetVelocity] void setVelocity(float x, float y, float z); |
}; |