| 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 _AudioBufferSourceNodeWrappingImplementation extends _AudioSourceNodeWrapp
ingImplementation implements AudioBufferSourceNode { |
| 8 _AudioBufferSourceNodeWrappingImplementation() : super() {} |
| 9 |
| 10 static create__AudioBufferSourceNodeWrappingImplementation() native { |
| 11 return new _AudioBufferSourceNodeWrappingImplementation(); |
| 12 } |
| 13 |
| 14 AudioBuffer get buffer() { return _get_buffer(this); } |
| 15 static AudioBuffer _get_buffer(var _this) native; |
| 16 |
| 17 void set buffer(AudioBuffer value) { _set_buffer(this, value); } |
| 18 static void _set_buffer(var _this, AudioBuffer value) native; |
| 19 |
| 20 AudioGain get gain() { return _get_gain(this); } |
| 21 static AudioGain _get_gain(var _this) native; |
| 22 |
| 23 bool get loop() { return _get_loop(this); } |
| 24 static bool _get_loop(var _this) native; |
| 25 |
| 26 void set loop(bool value) { _set_loop(this, value); } |
| 27 static void _set_loop(var _this, bool value) native; |
| 28 |
| 29 bool get looping() { return _get_looping(this); } |
| 30 static bool _get_looping(var _this) native; |
| 31 |
| 32 void set looping(bool value) { _set_looping(this, value); } |
| 33 static void _set_looping(var _this, bool value) native; |
| 34 |
| 35 AudioParam get playbackRate() { return _get_playbackRate(this); } |
| 36 static AudioParam _get_playbackRate(var _this) native; |
| 37 |
| 38 void noteGrainOn(num when, num grainOffset, num grainDuration) { |
| 39 _noteGrainOn(this, when, grainOffset, grainDuration); |
| 40 return; |
| 41 } |
| 42 static void _noteGrainOn(receiver, when, grainOffset, grainDuration) native; |
| 43 |
| 44 void noteOff(num when) { |
| 45 _noteOff(this, when); |
| 46 return; |
| 47 } |
| 48 static void _noteOff(receiver, when) native; |
| 49 |
| 50 void noteOn(num when) { |
| 51 _noteOn(this, when); |
| 52 return; |
| 53 } |
| 54 static void _noteOn(receiver, when) native; |
| 55 |
| 56 String get typeName() { return "AudioBufferSourceNode"; } |
| 57 } |
| OLD | NEW |