OLD | NEW |
(Empty) | |
| 1 |
| 2 class _RealtimeAnalyserNodeImpl extends _AudioNodeImpl implements RealtimeAnalys
erNode { |
| 3 _RealtimeAnalyserNodeImpl._wrap(ptr) : super._wrap(ptr); |
| 4 |
| 5 int get fftSize() => _wrap(_ptr.fftSize); |
| 6 |
| 7 void set fftSize(int value) { _ptr.fftSize = _unwrap(value); } |
| 8 |
| 9 int get frequencyBinCount() => _wrap(_ptr.frequencyBinCount); |
| 10 |
| 11 num get maxDecibels() => _wrap(_ptr.maxDecibels); |
| 12 |
| 13 void set maxDecibels(num value) { _ptr.maxDecibels = _unwrap(value); } |
| 14 |
| 15 num get minDecibels() => _wrap(_ptr.minDecibels); |
| 16 |
| 17 void set minDecibels(num value) { _ptr.minDecibels = _unwrap(value); } |
| 18 |
| 19 num get smoothingTimeConstant() => _wrap(_ptr.smoothingTimeConstant); |
| 20 |
| 21 void set smoothingTimeConstant(num value) { _ptr.smoothingTimeConstant = _unwr
ap(value); } |
| 22 |
| 23 void getByteFrequencyData(Uint8Array array) { |
| 24 _ptr.getByteFrequencyData(_unwrap(array)); |
| 25 return; |
| 26 } |
| 27 |
| 28 void getByteTimeDomainData(Uint8Array array) { |
| 29 _ptr.getByteTimeDomainData(_unwrap(array)); |
| 30 return; |
| 31 } |
| 32 |
| 33 void getFloatFrequencyData(Float32Array array) { |
| 34 _ptr.getFloatFrequencyData(_unwrap(array)); |
| 35 return; |
| 36 } |
| 37 } |
OLD | NEW |