OLD | NEW |
1 | 1 |
2 class _BiquadFilterNodeJs extends _AudioNodeJs implements BiquadFilterNode nativ
e "*BiquadFilterNode" { | 2 class _BiquadFilterNodeJs extends _AudioNodeJs implements BiquadFilterNode nativ
e "*BiquadFilterNode" { |
3 | 3 |
4 static final int ALLPASS = 7; | 4 static final int ALLPASS = 7; |
5 | 5 |
6 static final int BANDPASS = 2; | 6 static final int BANDPASS = 2; |
7 | 7 |
8 static final int HIGHPASS = 1; | 8 static final int HIGHPASS = 1; |
9 | 9 |
10 static final int HIGHSHELF = 4; | 10 static final int HIGHSHELF = 4; |
11 | 11 |
12 static final int LOWPASS = 0; | 12 static final int LOWPASS = 0; |
13 | 13 |
14 static final int LOWSHELF = 3; | 14 static final int LOWSHELF = 3; |
15 | 15 |
16 static final int NOTCH = 6; | 16 static final int NOTCH = 6; |
17 | 17 |
18 static final int PEAKING = 5; | 18 static final int PEAKING = 5; |
19 | 19 |
20 _AudioParamJs get Q() native "return this.Q;"; | 20 final _AudioParamJs Q; |
21 | 21 |
22 _AudioParamJs get frequency() native "return this.frequency;"; | 22 final _AudioParamJs frequency; |
23 | 23 |
24 _AudioParamJs get gain() native "return this.gain;"; | 24 final _AudioParamJs gain; |
25 | 25 |
26 int get type() native "return this.type;"; | 26 int type; |
27 | |
28 void set type(int value) native "this.type = value;"; | |
29 | 27 |
30 void getFrequencyResponse(_Float32ArrayJs frequencyHz, _Float32ArrayJs magResp
onse, _Float32ArrayJs phaseResponse) native; | 28 void getFrequencyResponse(_Float32ArrayJs frequencyHz, _Float32ArrayJs magResp
onse, _Float32ArrayJs phaseResponse) native; |
31 } | 29 } |
OLD | NEW |