OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
6 | 6 |
7 interface AudioParam { | 7 interface AudioParam { |
8 | 8 |
9 num get defaultValue(); | 9 final num defaultValue; |
10 | 10 |
11 num get maxValue(); | 11 final num maxValue; |
12 | 12 |
13 num get minValue(); | 13 final num minValue; |
14 | 14 |
15 String get name(); | 15 final String name; |
16 | 16 |
17 int get units(); | 17 final int units; |
18 | 18 |
19 num get value(); | 19 num value; |
20 | |
21 void set value(num value); | |
22 | 20 |
23 void cancelScheduledValues(num startTime); | 21 void cancelScheduledValues(num startTime); |
24 | 22 |
25 void exponentialRampToValueAtTime(num value, num time); | 23 void exponentialRampToValueAtTime(num value, num time); |
26 | 24 |
27 void linearRampToValueAtTime(num value, num time); | 25 void linearRampToValueAtTime(num value, num time); |
28 | 26 |
29 void setTargetValueAtTime(num targetValue, num time, num timeConstant); | 27 void setTargetValueAtTime(num targetValue, num time, num timeConstant); |
30 | 28 |
31 void setValueAtTime(num value, num time); | 29 void setValueAtTime(num value, num time); |
32 | 30 |
33 void setValueCurveAtTime(Float32Array values, num time, num duration); | 31 void setValueCurveAtTime(Float32Array values, num time, num duration); |
34 } | 32 } |
OLD | NEW |