OLD | NEW |
1 | 1 |
2 class _AudioParamJs extends _DOMTypeJs implements AudioParam native "*AudioParam
" { | 2 class _AudioParamJs extends _DOMTypeJs implements AudioParam native "*AudioParam
" { |
3 | 3 |
4 num get defaultValue() native "return this.defaultValue;"; | 4 final num defaultValue; |
5 | 5 |
6 num get maxValue() native "return this.maxValue;"; | 6 final num maxValue; |
7 | 7 |
8 num get minValue() native "return this.minValue;"; | 8 final num minValue; |
9 | 9 |
10 String get name() native "return this.name;"; | 10 final String name; |
11 | 11 |
12 int get units() native "return this.units;"; | 12 final int units; |
13 | 13 |
14 num get value() native "return this.value;"; | 14 num value; |
15 | |
16 void set value(num value) native "this.value = value;"; | |
17 | 15 |
18 void cancelScheduledValues(num startTime) native; | 16 void cancelScheduledValues(num startTime) native; |
19 | 17 |
20 void exponentialRampToValueAtTime(num value, num time) native; | 18 void exponentialRampToValueAtTime(num value, num time) native; |
21 | 19 |
22 void linearRampToValueAtTime(num value, num time) native; | 20 void linearRampToValueAtTime(num value, num time) native; |
23 | 21 |
24 void setTargetValueAtTime(num targetValue, num time, num timeConstant) native; | 22 void setTargetValueAtTime(num targetValue, num time, num timeConstant) native; |
25 | 23 |
26 void setValueAtTime(num value, num time) native; | 24 void setValueAtTime(num value, num time) native; |
27 | 25 |
28 void setValueCurveAtTime(_Float32ArrayJs values, num time, num duration) nativ
e; | 26 void setValueCurveAtTime(_Float32ArrayJs values, num time, num duration) nativ
e; |
29 } | 27 } |
OLD | NEW |