mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1148354 - Deprecate the doppler effect from the PannerNode. r=ehsan
This commit is contained in:
parent
099a8f17c2
commit
ea18aad215
@ -40,3 +40,4 @@ DEPRECATED_OPERATION(SyncXMLHttpRequest)
|
||||
DEPRECATED_OPERATION(DataContainerEvent)
|
||||
DEPRECATED_OPERATION(Window_Controllers)
|
||||
DEPRECATED_OPERATION(ImportXULIntoContent)
|
||||
DEPRECATED_OPERATION(PannerNodeDoppler)
|
||||
|
@ -163,3 +163,5 @@ IndexedDBTransactionAbortNavigation=An IndexedDB transaction that was not yet co
|
||||
WillChangeBudgetWarning=Will-change memory consumption is too high. Surface area covers %1$S pixels, budget is the document surface area multiplied by %2$S (%3$S pixels). All occurences of will-change in the document are ignored when over budget.
|
||||
# LOCALIZATION NOTE: Do not translate "ServiceWorker".
|
||||
HittingMaxWorkersPerDomain=A ServiceWorker could not be started immediately because other documents in the same origin are already using the maximum number of workers. The ServiceWorker is now queued and will be started after some of the other workers have completed.
|
||||
# LOCALIZATION NOTE: Do no translate "setVelocity", "PannerNode", "AudioListener", "speedOfSound" and "dopplerFactor"
|
||||
PannerNodeDopplerWarning=Use of setVelocity on the PannerNode and AudioListener, and speedOfSound and dopplerFactor on the AudioListener are deprecated and those members will be removed. For more help https://developer.mozilla.org/en-US/docs/Web/API/AudioListener#Deprecated_features
|
||||
|
@ -12,15 +12,18 @@
|
||||
|
||||
interface AudioListener {
|
||||
|
||||
// same as OpenAL (default 1)
|
||||
// same as OpenAL (default 1)
|
||||
[Deprecated="PannerNodeDoppler"]
|
||||
attribute double dopplerFactor;
|
||||
|
||||
// in meters / second (default 343.3)
|
||||
// in meters / second (default 343.3)
|
||||
[Deprecated="PannerNodeDoppler"]
|
||||
attribute double speedOfSound;
|
||||
|
||||
// Uses a 3D cartesian coordinate system
|
||||
// Uses a 3D cartesian coordinate system
|
||||
void setPosition(double x, double y, double z);
|
||||
void setOrientation(double x, double y, double z, double xUp, double yUp, double zUp);
|
||||
[Deprecated="PannerNodeDoppler"]
|
||||
void setVelocity(double x, double y, double z);
|
||||
|
||||
};
|
||||
|
@ -29,6 +29,7 @@ interface PannerNode : AudioNode {
|
||||
// Uses a 3D cartesian coordinate system
|
||||
void setPosition(double x, double y, double z);
|
||||
void setOrientation(double x, double y, double z);
|
||||
[Deprecated="PannerNodeDoppler"]
|
||||
void setVelocity(double x, double y, double z);
|
||||
|
||||
// Distance model and attributes
|
||||
|
Loading…
Reference in New Issue
Block a user