OLD | NEW |
1 | 1 |
2 class _AudioPannerNodeJs extends _AudioNodeJs implements AudioPannerNode native
"*AudioPannerNode" { | 2 class _AudioPannerNodeJs extends _AudioNodeJs implements AudioPannerNode native
"*AudioPannerNode" { |
3 | 3 |
4 static final int EQUALPOWER = 0; | 4 static final int EQUALPOWER = 0; |
5 | 5 |
| 6 static final int EXPONENTIAL_DISTANCE = 2; |
| 7 |
6 static final int HRTF = 1; | 8 static final int HRTF = 1; |
7 | 9 |
| 10 static final int INVERSE_DISTANCE = 1; |
| 11 |
| 12 static final int LINEAR_DISTANCE = 0; |
| 13 |
8 static final int SOUNDFIELD = 2; | 14 static final int SOUNDFIELD = 2; |
9 | 15 |
10 final _AudioGainJs coneGain; | 16 final _AudioGainJs coneGain; |
11 | 17 |
12 num coneInnerAngle; | 18 num coneInnerAngle; |
13 | 19 |
14 num coneOuterAngle; | 20 num coneOuterAngle; |
15 | 21 |
16 num coneOuterGain; | 22 num coneOuterGain; |
17 | 23 |
18 final _AudioGainJs distanceGain; | 24 final _AudioGainJs distanceGain; |
19 | 25 |
20 int distanceModel; | 26 int distanceModel; |
21 | 27 |
22 num maxDistance; | 28 num maxDistance; |
23 | 29 |
24 int panningModel; | 30 int panningModel; |
25 | 31 |
26 num refDistance; | 32 num refDistance; |
27 | 33 |
28 num rolloffFactor; | 34 num rolloffFactor; |
29 | 35 |
30 void setOrientation(num x, num y, num z) native; | 36 void setOrientation(num x, num y, num z) native; |
31 | 37 |
32 void setPosition(num x, num y, num z) native; | 38 void setPosition(num x, num y, num z) native; |
33 | 39 |
34 void setVelocity(num x, num y, num z) native; | 40 void setVelocity(num x, num y, num z) native; |
35 } | 41 } |
OLD | NEW |