OLD | NEW |
1 | 1 |
2 class AudioBufferJs extends DOMTypeJs implements AudioBuffer native "*AudioBuffe
r" { | 2 class _AudioBufferJs extends _DOMTypeJs implements AudioBuffer native "*AudioBuf
fer" { |
3 | 3 |
4 num get duration() native "return this.duration;"; | 4 num get duration() native "return this.duration;"; |
5 | 5 |
6 num get gain() native "return this.gain;"; | 6 num get gain() native "return this.gain;"; |
7 | 7 |
8 void set gain(num value) native "this.gain = value;"; | 8 void set gain(num value) native "this.gain = value;"; |
9 | 9 |
10 int get length() native "return this.length;"; | 10 int get length() native "return this.length;"; |
11 | 11 |
12 int get numberOfChannels() native "return this.numberOfChannels;"; | 12 int get numberOfChannels() native "return this.numberOfChannels;"; |
13 | 13 |
14 num get sampleRate() native "return this.sampleRate;"; | 14 num get sampleRate() native "return this.sampleRate;"; |
15 | 15 |
16 Float32ArrayJs getChannelData(int channelIndex) native; | 16 _Float32ArrayJs getChannelData(int channelIndex) native; |
17 } | 17 } |
OLD | NEW |