| OLD | NEW |
| 1 | 1 |
| 2 class RealtimeAnalyserNode extends AudioNode native "*RealtimeAnalyserNode" { | 2 class RealtimeAnalyserNode extends AudioNode native "*RealtimeAnalyserNode" { |
| 3 | 3 |
| 4 int fftSize; | 4 int get fftSize() native "return this.fftSize;"; |
| 5 | 5 |
| 6 int frequencyBinCount; | 6 void set fftSize(int value) native "this.fftSize = value;"; |
| 7 | 7 |
| 8 num maxDecibels; | 8 int get frequencyBinCount() native "return this.frequencyBinCount;"; |
| 9 | 9 |
| 10 num minDecibels; | 10 num get maxDecibels() native "return this.maxDecibels;"; |
| 11 | 11 |
| 12 num smoothingTimeConstant; | 12 void set maxDecibels(num value) native "this.maxDecibels = value;"; |
| 13 |
| 14 num get minDecibels() native "return this.minDecibels;"; |
| 15 |
| 16 void set minDecibels(num value) native "this.minDecibels = value;"; |
| 17 |
| 18 num get smoothingTimeConstant() native "return this.smoothingTimeConstant;"; |
| 19 |
| 20 void set smoothingTimeConstant(num value) native "this.smoothingTimeConstant =
value;"; |
| 13 | 21 |
| 14 void getByteFrequencyData(Uint8Array array) native; | 22 void getByteFrequencyData(Uint8Array array) native; |
| 15 | 23 |
| 16 void getByteTimeDomainData(Uint8Array array) native; | 24 void getByteTimeDomainData(Uint8Array array) native; |
| 17 | 25 |
| 18 void getFloatFrequencyData(Float32Array array) native; | 26 void getFloatFrequencyData(Float32Array array) native; |
| 19 } | 27 } |
| OLD | NEW |