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