OLD | NEW |
| (Empty) |
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 | |
3 // BSD-style license that can be found in the LICENSE file. | |
4 | |
5 // WARNING: Do not edit - generated code. | |
6 | |
7 class AudioParamWrappingImplementation extends DOMWrapperBase implements AudioPa
ram { | |
8 AudioParamWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | |
9 | |
10 num get defaultValue() { return _ptr.defaultValue; } | |
11 | |
12 num get maxValue() { return _ptr.maxValue; } | |
13 | |
14 num get minValue() { return _ptr.minValue; } | |
15 | |
16 String get name() { return _ptr.name; } | |
17 | |
18 int get units() { return _ptr.units; } | |
19 | |
20 num get value() { return _ptr.value; } | |
21 | |
22 void set value(num value) { _ptr.value = value; } | |
23 | |
24 void cancelScheduledValues(num startTime) { | |
25 _ptr.cancelScheduledValues(startTime); | |
26 return; | |
27 } | |
28 | |
29 void exponentialRampToValueAtTime(num value, num time) { | |
30 _ptr.exponentialRampToValueAtTime(value, time); | |
31 return; | |
32 } | |
33 | |
34 void linearRampToValueAtTime(num value, num time) { | |
35 _ptr.linearRampToValueAtTime(value, time); | |
36 return; | |
37 } | |
38 | |
39 void setTargetValueAtTime(num targetValue, num time, num timeConstant) { | |
40 _ptr.setTargetValueAtTime(targetValue, time, timeConstant); | |
41 return; | |
42 } | |
43 | |
44 void setValueAtTime(num value, num time) { | |
45 _ptr.setValueAtTime(value, time); | |
46 return; | |
47 } | |
48 | |
49 void setValueCurveAtTime(Float32Array values, num time, num duration) { | |
50 _ptr.setValueCurveAtTime(LevelDom.unwrap(values), time, duration); | |
51 return; | |
52 } | |
53 } | |
OLD | NEW |