| Index: modules/webaudio/AudioParam.idl
|
| diff --git a/modules/webaudio/AudioParam.idl b/modules/webaudio/AudioParam.idl
|
| index 8f5773f1b44613b983d86ae89c07470a8904a572..bb903874f3b6072d6dca1837b17f5b52484ec598 100644
|
| --- a/modules/webaudio/AudioParam.idl
|
| +++ b/modules/webaudio/AudioParam.idl
|
| @@ -40,20 +40,20 @@
|
| readonly attribute unsigned short units;
|
|
|
| // Parameter automation.
|
| - void setValueAtTime(float value, float time);
|
| - void linearRampToValueAtTime(float value, float time);
|
| - void exponentialRampToValueAtTime(float value, float time);
|
| + void setValueAtTime(float value, double time);
|
| + void linearRampToValueAtTime(float value, double time);
|
| + void exponentialRampToValueAtTime(float value, double time);
|
|
|
| // Exponentially approach the target with a rate having the given time constant.
|
| - void setTargetAtTime(float target, float time, float timeConstant);
|
| + void setTargetAtTime(float target, double time, double timeConstant);
|
|
|
| // Sets an array of arbitrary parameter values starting at time for the given duration.
|
| // The number of values will be scaled to fit into the desired duration.
|
| - void setValueCurveAtTime(Float32Array values, float time, float duration);
|
| + void setValueCurveAtTime(Float32Array values, double time, double duration);
|
|
|
| // Cancels all scheduled parameter changes with times greater than or equal to startTime.
|
| - void cancelScheduledValues(float startTime);
|
| + void cancelScheduledValues(double startTime);
|
|
|
| - [MeasureAs=LegacyWebAudio, ImplementedAs=setTargetAtTime] void setTargetValueAtTime(float targetValue, float time, float timeConstant);
|
| + [MeasureAs=LegacyWebAudio, ImplementedAs=setTargetAtTime] void setTargetValueAtTime(float targetValue, double time, double timeConstant);
|
|
|
| };
|
|
|