Index: modules/webaudio/AudioParam.idl |
diff --git a/modules/webaudio/AudioParam.idl b/modules/webaudio/AudioParam.idl |
index fa15d58bcf889092719a170f332a05b133a1597b..95d90e221d7197fe3df27f3307af800004b416dc 100644 |
--- a/modules/webaudio/AudioParam.idl |
+++ b/modules/webaudio/AudioParam.idl |
@@ -27,6 +27,7 @@ |
*/ |
[ |
+ WillBeGarbageCollected, |
Conditional=WEB_AUDIO |
] interface AudioParam { |
attribute float value; |
@@ -49,11 +50,11 @@ |
// 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, double time, double duration); |
+ // FIXMEDART(ager): Auto-generate this custom method when the info about |
+ // retaining typed arrays is in the IDL. |
+ [DartCustom] void setValueCurveAtTime(Float32Array values, double time, double duration); |
// Cancels all scheduled parameter changes with times greater than or equal to startTime. |
void cancelScheduledValues(double startTime); |
- [MeasureAs=LegacyWebAudio, ImplementedAs=setTargetAtTime] void setTargetValueAtTime(float targetValue, double time, double timeConstant); |
- |
}; |