| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 EXPONENTIAL_DISTANCE = 2; |
| 12 |
| 11 static final int HRTF = 1; | 13 static final int HRTF = 1; |
| 12 | 14 |
| 15 static final int INVERSE_DISTANCE = 1; |
| 16 |
| 17 static final int LINEAR_DISTANCE = 0; |
| 18 |
| 13 static final int SOUNDFIELD = 2; | 19 static final int SOUNDFIELD = 2; |
| 14 | 20 |
| 15 final AudioGain coneGain; | 21 final AudioGain coneGain; |
| 16 | 22 |
| 17 num coneInnerAngle; | 23 num coneInnerAngle; |
| 18 | 24 |
| 19 num coneOuterAngle; | 25 num coneOuterAngle; |
| 20 | 26 |
| 21 num coneOuterGain; | 27 num coneOuterGain; |
| 22 | 28 |
| 23 final AudioGain distanceGain; | 29 final AudioGain distanceGain; |
| 24 | 30 |
| 25 int distanceModel; | 31 int distanceModel; |
| 26 | 32 |
| 27 num maxDistance; | 33 num maxDistance; |
| 28 | 34 |
| 29 int panningModel; | 35 int panningModel; |
| 30 | 36 |
| 31 num refDistance; | 37 num refDistance; |
| 32 | 38 |
| 33 num rolloffFactor; | 39 num rolloffFactor; |
| 34 | 40 |
| 35 void setOrientation(num x, num y, num z); | 41 void setOrientation(num x, num y, num z); |
| 36 | 42 |
| 37 void setPosition(num x, num y, num z); | 43 void setPosition(num x, num y, num z); |
| 38 | 44 |
| 39 void setVelocity(num x, num y, num z); | 45 void setVelocity(num x, num y, num z); |
| 40 } | 46 } |
| OLD | NEW |