| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 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 | 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. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
| 6 | 6 |
| 7 interface AudioBufferSourceNode extends AudioSourceNode { | 7 interface AudioBufferSourceNode extends AudioSourceNode { |
| 8 | 8 |
| 9 AudioBuffer get buffer(); | 9 AudioBuffer buffer; |
| 10 | 10 |
| 11 void set buffer(AudioBuffer value); | 11 final AudioGain gain; |
| 12 | 12 |
| 13 AudioGain get gain(); | 13 bool loop; |
| 14 | 14 |
| 15 bool get loop(); | 15 bool looping; |
| 16 | 16 |
| 17 void set loop(bool value); | 17 final AudioParam playbackRate; |
| 18 | |
| 19 bool get looping(); | |
| 20 | |
| 21 void set looping(bool value); | |
| 22 | |
| 23 AudioParam get playbackRate(); | |
| 24 | 18 |
| 25 void noteGrainOn(num when, num grainOffset, num grainDuration); | 19 void noteGrainOn(num when, num grainOffset, num grainDuration); |
| 26 | 20 |
| 27 void noteOff(num when); | 21 void noteOff(num when); |
| 28 | 22 |
| 29 void noteOn(num when); | 23 void noteOn(num when); |
| 30 } | 24 } |
| OLD | NEW |