| OLD | NEW |
| 1 | 1 |
| 2 class AudioPannerNode extends AudioNode native "*AudioPannerNode" { | 2 class AudioPannerNode extends AudioNode native "*AudioPannerNode" { |
| 3 | 3 |
| 4 static final int EQUALPOWER = 0; | 4 static final int EQUALPOWER = 0; |
| 5 | 5 |
| 6 static final int HRTF = 1; | 6 static final int HRTF = 1; |
| 7 | 7 |
| 8 static final int SOUNDFIELD = 2; | 8 static final int SOUNDFIELD = 2; |
| 9 | 9 |
| 10 AudioGain coneGain; | 10 AudioGain get coneGain() native "return this.coneGain;"; |
| 11 | 11 |
| 12 num coneInnerAngle; | 12 num get coneInnerAngle() native "return this.coneInnerAngle;"; |
| 13 | 13 |
| 14 num coneOuterAngle; | 14 void set coneInnerAngle(num value) native "this.coneInnerAngle = value;"; |
| 15 | 15 |
| 16 num coneOuterGain; | 16 num get coneOuterAngle() native "return this.coneOuterAngle;"; |
| 17 | 17 |
| 18 AudioGain distanceGain; | 18 void set coneOuterAngle(num value) native "this.coneOuterAngle = value;"; |
| 19 | 19 |
| 20 int distanceModel; | 20 num get coneOuterGain() native "return this.coneOuterGain;"; |
| 21 | 21 |
| 22 num maxDistance; | 22 void set coneOuterGain(num value) native "this.coneOuterGain = value;"; |
| 23 | 23 |
| 24 int panningModel; | 24 AudioGain get distanceGain() native "return this.distanceGain;"; |
| 25 | 25 |
| 26 num refDistance; | 26 int get distanceModel() native "return this.distanceModel;"; |
| 27 | 27 |
| 28 num rolloffFactor; | 28 void set distanceModel(int value) native "this.distanceModel = value;"; |
| 29 |
| 30 num get maxDistance() native "return this.maxDistance;"; |
| 31 |
| 32 void set maxDistance(num value) native "this.maxDistance = value;"; |
| 33 |
| 34 int get panningModel() native "return this.panningModel;"; |
| 35 |
| 36 void set panningModel(int value) native "this.panningModel = value;"; |
| 37 |
| 38 num get refDistance() native "return this.refDistance;"; |
| 39 |
| 40 void set refDistance(num value) native "this.refDistance = value;"; |
| 41 |
| 42 num get rolloffFactor() native "return this.rolloffFactor;"; |
| 43 |
| 44 void set rolloffFactor(num value) native "this.rolloffFactor = value;"; |
| 29 | 45 |
| 30 void setOrientation(num x, num y, num z) native; | 46 void setOrientation(num x, num y, num z) native; |
| 31 | 47 |
| 32 void setPosition(num x, num y, num z) native; | 48 void setPosition(num x, num y, num z) native; |
| 33 | 49 |
| 34 void setVelocity(num x, num y, num z) native; | 50 void setVelocity(num x, num y, num z) native; |
| 35 } | 51 } |
| OLD | NEW |