| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // BSD-style license that can be found in the LICENSE file. | |
| 4 | |
| 5 // WARNING: Do not edit - generated code. | |
| 6 | |
| 7 interface AudioPannerNode extends AudioNode { | |
| 8 | |
| 9 static final int EQUALPOWER = 0; | |
| 10 | |
| 11 static final int EXPONENTIAL_DISTANCE = 2; | |
| 12 | |
| 13 static final int HRTF = 1; | |
| 14 | |
| 15 static final int INVERSE_DISTANCE = 1; | |
| 16 | |
| 17 static final int LINEAR_DISTANCE = 0; | |
| 18 | |
| 19 static final int SOUNDFIELD = 2; | |
| 20 | |
| 21 final AudioGain coneGain; | |
| 22 | |
| 23 num coneInnerAngle; | |
| 24 | |
| 25 num coneOuterAngle; | |
| 26 | |
| 27 num coneOuterGain; | |
| 28 | |
| 29 final AudioGain distanceGain; | |
| 30 | |
| 31 int distanceModel; | |
| 32 | |
| 33 num maxDistance; | |
| 34 | |
| 35 int panningModel; | |
| 36 | |
| 37 num refDistance; | |
| 38 | |
| 39 num rolloffFactor; | |
| 40 | |
| 41 void setOrientation(num x, num y, num z); | |
| 42 | |
| 43 void setPosition(num x, num y, num z); | |
| 44 | |
| 45 void setVelocity(num x, num y, num z); | |
| 46 } | |
| OLD | NEW |