Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1327)

Unified Diff: modules/webaudio/AudioParam.idl

Issue 22498002: Roll IDL to multivm@1329 (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « modules/webaudio/AudioNode.idl ('k') | modules/webaudio/AudioProcessingEvent.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « modules/webaudio/AudioNode.idl ('k') | modules/webaudio/AudioProcessingEvent.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698