| 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 class _AudioContextWrappingImplementation extends DOMWrapperBase implements Audi
oContext { | 7 class _AudioContextWrappingImplementation extends DOMWrapperBase implements Audi
oContext { |
| 8 _AudioContextWrappingImplementation() : super() {} | 8 _AudioContextWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__AudioContextWrappingImplementation() native { | 10 static create__AudioContextWrappingImplementation() native { |
| 11 return new _AudioContextWrappingImplementation(); | 11 return new _AudioContextWrappingImplementation(); |
| 12 } | 12 } |
| 13 | 13 |
| 14 num get currentTime() { return _get_currentTime(this); } | 14 num get currentTime() { return _get_currentTime(this); } |
| 15 static num _get_currentTime(var _this) native; | 15 static num _get_currentTime(var _this) native; |
| 16 | 16 |
| 17 AudioDestinationNode get destination() { return _get_destination(this); } | 17 AudioDestinationNode get destination() { return _get_destination(this); } |
| 18 static AudioDestinationNode _get_destination(var _this) native; | 18 static AudioDestinationNode _get_destination(var _this) native; |
| 19 | 19 |
| 20 AudioListener get listener() { return _get_listener(this); } | 20 AudioListener get listener() { return _get_listener(this); } |
| 21 static AudioListener _get_listener(var _this) native; | 21 static AudioListener _get_listener(var _this) native; |
| 22 | 22 |
| 23 EventListener get oncomplete() { return _get_oncomplete(this); } |
| 24 static EventListener _get_oncomplete(var _this) native; |
| 25 |
| 26 void set oncomplete(EventListener value) { _set_oncomplete(this, value); } |
| 27 static void _set_oncomplete(var _this, EventListener value) native; |
| 28 |
| 23 num get sampleRate() { return _get_sampleRate(this); } | 29 num get sampleRate() { return _get_sampleRate(this); } |
| 24 static num _get_sampleRate(var _this) native; | 30 static num _get_sampleRate(var _this) native; |
| 25 | 31 |
| 26 RealtimeAnalyserNode createAnalyser() { | 32 RealtimeAnalyserNode createAnalyser() { |
| 27 return _createAnalyser(this); | 33 return _createAnalyser(this); |
| 28 } | 34 } |
| 29 static RealtimeAnalyserNode _createAnalyser(receiver) native; | 35 static RealtimeAnalyserNode _createAnalyser(receiver) native; |
| 30 | 36 |
| 31 BiquadFilterNode createBiquadFilter() { | 37 BiquadFilterNode createBiquadFilter() { |
| 32 return _createBiquadFilter(this); | 38 return _createBiquadFilter(this); |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 static void _decodeAudioData_2(receiver, audioData, successCallback, errorCall
back) native; | 122 static void _decodeAudioData_2(receiver, audioData, successCallback, errorCall
back) native; |
| 117 | 123 |
| 118 void startRendering() { | 124 void startRendering() { |
| 119 _startRendering(this); | 125 _startRendering(this); |
| 120 return; | 126 return; |
| 121 } | 127 } |
| 122 static void _startRendering(receiver) native; | 128 static void _startRendering(receiver) native; |
| 123 | 129 |
| 124 String get typeName() { return "AudioContext"; } | 130 String get typeName() { return "AudioContext"; } |
| 125 } | 131 } |
| OLD | NEW |