OLD | NEW |
1 | 1 |
2 class _AudioBufferSourceNodeJs extends _AudioSourceNodeJs implements AudioBuffer
SourceNode native "*AudioBufferSourceNode" { | 2 class _AudioBufferSourceNodeJs extends _AudioSourceNodeJs implements AudioBuffer
SourceNode native "*AudioBufferSourceNode" { |
3 | 3 |
4 _AudioBufferJs get buffer() native "return this.buffer;"; | 4 _AudioBufferJs buffer; |
5 | 5 |
6 void set buffer(_AudioBufferJs value) native "this.buffer = value;"; | 6 final _AudioGainJs gain; |
7 | 7 |
8 _AudioGainJs get gain() native "return this.gain;"; | 8 bool loop; |
9 | 9 |
10 bool get loop() native "return this.loop;"; | 10 bool looping; |
11 | 11 |
12 void set loop(bool value) native "this.loop = value;"; | 12 final _AudioParamJs playbackRate; |
13 | |
14 bool get looping() native "return this.looping;"; | |
15 | |
16 void set looping(bool value) native "this.looping = value;"; | |
17 | |
18 _AudioParamJs get playbackRate() native "return this.playbackRate;"; | |
19 | 13 |
20 void noteGrainOn(num when, num grainOffset, num grainDuration) native; | 14 void noteGrainOn(num when, num grainOffset, num grainDuration) native; |
21 | 15 |
22 void noteOff(num when) native; | 16 void noteOff(num when) native; |
23 | 17 |
24 void noteOn(num when) native; | 18 void noteOn(num when) native; |
25 } | 19 } |
OLD | NEW |