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 AudioPannerNode extends AudioNode { | 7 interface AudioPannerNode extends AudioNode { |
8 | 8 |
9 static final int EQUALPOWER = 0; | 9 static final int EQUALPOWER = 0; |
10 | 10 |
11 static final int HRTF = 1; | 11 static final int HRTF = 1; |
12 | 12 |
13 static final int SOUNDFIELD = 2; | 13 static final int SOUNDFIELD = 2; |
14 | 14 |
15 AudioGain get coneGain(); | 15 final AudioGain coneGain; |
16 | 16 |
17 num get coneInnerAngle(); | 17 num coneInnerAngle; |
18 | 18 |
19 void set coneInnerAngle(num value); | 19 num coneOuterAngle; |
20 | 20 |
21 num get coneOuterAngle(); | 21 num coneOuterGain; |
22 | 22 |
23 void set coneOuterAngle(num value); | 23 final AudioGain distanceGain; |
24 | 24 |
25 num get coneOuterGain(); | 25 int distanceModel; |
26 | 26 |
27 void set coneOuterGain(num value); | 27 num maxDistance; |
28 | 28 |
29 AudioGain get distanceGain(); | 29 int panningModel; |
30 | 30 |
31 int get distanceModel(); | 31 num refDistance; |
32 | 32 |
33 void set distanceModel(int value); | 33 num rolloffFactor; |
34 | |
35 num get maxDistance(); | |
36 | |
37 void set maxDistance(num value); | |
38 | |
39 int get panningModel(); | |
40 | |
41 void set panningModel(int value); | |
42 | |
43 num get refDistance(); | |
44 | |
45 void set refDistance(num value); | |
46 | |
47 num get rolloffFactor(); | |
48 | |
49 void set rolloffFactor(num value); | |
50 | 34 |
51 void setOrientation(num x, num y, num z); | 35 void setOrientation(num x, num y, num z); |
52 | 36 |
53 void setPosition(num x, num y, num z); | 37 void setPosition(num x, num y, num z); |
54 | 38 |
55 void setVelocity(num x, num y, num z); | 39 void setVelocity(num x, num y, num z); |
56 } | 40 } |
OLD | NEW |