OLD | NEW |
| (Empty) |
1 // Copyright (c) 2011, 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 class RealtimeAnalyserNodeWrappingImplementation extends AudioNodeWrappingImplem
entation implements RealtimeAnalyserNode { | |
8 RealtimeAnalyserNodeWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | |
9 | |
10 int get fftSize() { return _ptr.fftSize; } | |
11 | |
12 void set fftSize(int value) { _ptr.fftSize = value; } | |
13 | |
14 int get frequencyBinCount() { return _ptr.frequencyBinCount; } | |
15 | |
16 num get maxDecibels() { return _ptr.maxDecibels; } | |
17 | |
18 void set maxDecibels(num value) { _ptr.maxDecibels = value; } | |
19 | |
20 num get minDecibels() { return _ptr.minDecibels; } | |
21 | |
22 void set minDecibels(num value) { _ptr.minDecibels = value; } | |
23 | |
24 num get smoothingTimeConstant() { return _ptr.smoothingTimeConstant; } | |
25 | |
26 void set smoothingTimeConstant(num value) { _ptr.smoothingTimeConstant = value
; } | |
27 | |
28 void getByteFrequencyData(Uint8Array array) { | |
29 _ptr.getByteFrequencyData(LevelDom.unwrap(array)); | |
30 return; | |
31 } | |
32 | |
33 void getByteTimeDomainData(Uint8Array array) { | |
34 _ptr.getByteTimeDomainData(LevelDom.unwrap(array)); | |
35 return; | |
36 } | |
37 | |
38 void getFloatFrequencyData(Float32Array array) { | |
39 _ptr.getFloatFrequencyData(LevelDom.unwrap(array)); | |
40 return; | |
41 } | |
42 } | |
OLD | NEW |