| Index: third_party/WebKit/Source/modules/webaudio/PannerOptions.idl
|
| diff --git a/third_party/WebKit/Source/modules/webaudio/PannerOptions.idl b/third_party/WebKit/Source/modules/webaudio/PannerOptions.idl
|
| index f7f5b1a2f5e920751e65c4dfb7dff3bf8ebfcbb4..4cf7042f5177576e33ae443fa4b941f269e71cf4 100644
|
| --- a/third_party/WebKit/Source/modules/webaudio/PannerOptions.idl
|
| +++ b/third_party/WebKit/Source/modules/webaudio/PannerOptions.idl
|
| @@ -4,20 +4,20 @@
|
|
|
| // See https://webaudio.github.io/web-audio-api/#panneroptions
|
| dictionary PannerOptions : AudioNodeOptions {
|
| - PanningModelType panningModel;
|
| - DistanceModelType distanceModel;
|
| + PanningModelType panningModel = "equalpower";
|
| + DistanceModelType distanceModel = "inverse";
|
|
|
| - float positionX;
|
| - float positionY;
|
| - float positionZ;
|
| - float orientationX;
|
| - float orientationY;
|
| - float orientationZ;
|
| + float positionX = 0;
|
| + float positionY = 0;
|
| + float positionZ = 0;
|
| + float orientationX = 1;
|
| + float orientationY = 0;
|
| + float orientationZ = 0;
|
|
|
| - double refDistance;
|
| - double maxDistance;
|
| - double rolloffFactor;
|
| - double coneInnerAngle;
|
| - double coneOuterAngle;
|
| - double coneOuterGain;
|
| + double refDistance = 1;
|
| + double maxDistance= 10000;
|
| + double rolloffFactor = 1;
|
| + double coneInnerAngle = 360;
|
| + double coneOuterAngle = 360;
|
| + double coneOuterGain = 0;
|
| };
|
|
|