OLD | NEW |
1 library dart.dom.web_audio; | 1 library dart.dom.web_audio; |
2 | 2 |
3 import 'dart:async'; | 3 import 'dart:async'; |
4 import 'dart:collection'; | 4 import 'dart:collection'; |
5 import 'dart:html'; | 5 import 'dart:html'; |
6 import 'dart:html_common'; | 6 import 'dart:html_common'; |
7 import 'dart:nativewrappers'; | 7 import 'dart:nativewrappers'; |
8 import 'dart:typeddata' as _typeddata; | 8 import 'dart:typeddata' as _typeddata; |
9 // DO NOT EDIT | 9 // DO NOT EDIT |
10 // Auto-generated dart:audio library. | 10 // Auto-generated dart:audio library. |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 // BSD-style license that can be found in the LICENSE file. | 224 // BSD-style license that can be found in the LICENSE file. |
225 | 225 |
226 | 226 |
227 @DomName('AudioContext') | 227 @DomName('AudioContext') |
228 class AudioContext extends EventTarget { | 228 class AudioContext extends EventTarget { |
229 AudioContext.internal() : super.internal(); | 229 AudioContext.internal() : super.internal(); |
230 | 230 |
231 @DomName('AudioContext.completeEvent') | 231 @DomName('AudioContext.completeEvent') |
232 @DocsEditable | 232 @DocsEditable |
233 static const EventStreamProvider<Event> completeEvent = const EventStreamProvi
der<Event>('complete'); | 233 static const EventStreamProvider<Event> completeEvent = const EventStreamProvi
der<Event>('complete'); |
| 234 factory AudioContext() => _create(); |
| 235 |
| 236 @DocsEditable |
| 237 static AudioContext _create() native "AudioContext_constructorCallback"; |
234 | 238 |
235 /// Checks if this type is supported on the current platform. | 239 /// Checks if this type is supported on the current platform. |
236 static bool get supported => true; | 240 static bool get supported => true; |
237 | 241 |
238 @DomName('AudioContext.activeSourceCount') | 242 @DomName('AudioContext.activeSourceCount') |
239 @DocsEditable | 243 @DocsEditable |
240 int get activeSourceCount native "AudioContext_activeSourceCount_Getter"; | 244 int get activeSourceCount native "AudioContext_activeSourceCount_Getter"; |
241 | 245 |
242 @DomName('AudioContext.currentTime') | 246 @DomName('AudioContext.currentTime') |
243 @DocsEditable | 247 @DocsEditable |
(...skipping 862 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1106 return _eventStream; | 1110 return _eventStream; |
1107 } | 1111 } |
1108 | 1112 |
1109 | 1113 |
1110 ScriptProcessorNode.internal() : super.internal(); | 1114 ScriptProcessorNode.internal() : super.internal(); |
1111 | 1115 |
1112 @DomName('ScriptProcessorNode.bufferSize') | 1116 @DomName('ScriptProcessorNode.bufferSize') |
1113 @DocsEditable | 1117 @DocsEditable |
1114 int get bufferSize native "ScriptProcessorNode_bufferSize_Getter"; | 1118 int get bufferSize native "ScriptProcessorNode_bufferSize_Getter"; |
1115 | 1119 |
| 1120 @DomName('ScriptProcessorNode._setEventListener') |
| 1121 @DocsEditable |
| 1122 void _setEventListener(EventListener eventListener) native "ScriptProcessorNod
e__setEventListener_Callback"; |
| 1123 |
1116 } | 1124 } |
1117 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1125 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1118 // for details. All rights reserved. Use of this source code is governed by a | 1126 // for details. All rights reserved. Use of this source code is governed by a |
1119 // BSD-style license that can be found in the LICENSE file. | 1127 // BSD-style license that can be found in the LICENSE file. |
1120 | 1128 |
1121 // WARNING: Do not edit - generated code. | 1129 // WARNING: Do not edit - generated code. |
1122 | 1130 |
1123 | 1131 |
1124 @DocsEditable | 1132 @DocsEditable |
1125 @DomName('WaveShaperNode') | 1133 @DomName('WaveShaperNode') |
(...skipping 15 matching lines...) Expand all Loading... |
1141 | 1149 |
1142 // WARNING: Do not edit - generated code. | 1150 // WARNING: Do not edit - generated code. |
1143 | 1151 |
1144 | 1152 |
1145 @DocsEditable | 1153 @DocsEditable |
1146 @DomName('WaveTable') | 1154 @DomName('WaveTable') |
1147 class WaveTable extends NativeFieldWrapperClass1 { | 1155 class WaveTable extends NativeFieldWrapperClass1 { |
1148 WaveTable.internal(); | 1156 WaveTable.internal(); |
1149 | 1157 |
1150 } | 1158 } |
OLD | NEW |