mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Add some checks in PannerNode accessors
This commit is contained in:
parent
18960b6c94
commit
58176c4148
2 changed files with 19 additions and 7 deletions
|
@ -46,11 +46,11 @@ interface PannerNode : AudioNode {
|
|||
readonly attribute AudioParam orientationZ;
|
||||
attribute DistanceModelType distanceModel;
|
||||
attribute double refDistance;
|
||||
attribute double maxDistance;
|
||||
attribute double rolloffFactor;
|
||||
[SetterThrows] attribute double maxDistance;
|
||||
[SetterThrows] attribute double rolloffFactor;
|
||||
attribute double coneInnerAngle;
|
||||
attribute double coneOuterAngle;
|
||||
attribute double coneOuterGain;
|
||||
[SetterThrows] attribute double coneOuterGain;
|
||||
void setPosition (float x, float y, float z);
|
||||
void setOrientation (float x, float y, float z);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue