OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 25 matching lines...) Expand all Loading... |
36 // Parameter automation. | 36 // Parameter automation. |
37 [RaisesException, MeasureAs=AudioParamSetValueAtTime] AudioParam setValueAtT
ime(float value, double time); | 37 [RaisesException, MeasureAs=AudioParamSetValueAtTime] AudioParam setValueAtT
ime(float value, double time); |
38 [RaisesException, MeasureAs=AudioParamLinearRampToValueAtTime] AudioParam li
nearRampToValueAtTime(float value, double time); | 38 [RaisesException, MeasureAs=AudioParamLinearRampToValueAtTime] AudioParam li
nearRampToValueAtTime(float value, double time); |
39 [RaisesException, MeasureAs=AudioParamExponentialRampToValueAtTime] AudioPar
am exponentialRampToValueAtTime(float value, double time); | 39 [RaisesException, MeasureAs=AudioParamExponentialRampToValueAtTime] AudioPar
am exponentialRampToValueAtTime(float value, double time); |
40 | 40 |
41 // Exponentially approach the target with a rate having the given time const
ant. | 41 // Exponentially approach the target with a rate having the given time const
ant. |
42 [RaisesException, MeasureAs=AudioParamSetTargetAtTime] AudioParam setTargetA
tTime(float target, double time, double timeConstant); | 42 [RaisesException, MeasureAs=AudioParamSetTargetAtTime] AudioParam setTargetA
tTime(float target, double time, double timeConstant); |
43 | 43 |
44 // Sets an array of arbitrary parameter values starting at time for the give
n duration. | 44 // Sets an array of arbitrary parameter values starting at time for the give
n duration. |
45 // The number of values will be scaled to fit into the desired duration. | 45 // The number of values will be scaled to fit into the desired duration. |
46 [RaisesException, MeasureAs=AudioParamSetValueCurveAtTime] AudioParam setVal
ueCurveAtTime(Float32Array values, double time, double duration); | 46 [RaisesException, MeasureAs=AudioParamSetValueCurveAtTime, LegacyInterfaceTy
peChecking] AudioParam setValueCurveAtTime(Float32Array values, double time, dou
ble duration); |
47 | 47 |
48 // Cancels all scheduled parameter changes with times greater than or equal
to startTime. | 48 // Cancels all scheduled parameter changes with times greater than or equal
to startTime. |
49 [RaisesException, MeasureAs=AudioParamCancelScheduledValues] AudioParam canc
elScheduledValues(double startTime); | 49 [RaisesException, MeasureAs=AudioParamCancelScheduledValues] AudioParam canc
elScheduledValues(double startTime); |
50 | 50 |
51 }; | 51 }; |
OLD | NEW |