| 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:_internal' hide deprecated; | 5 import 'dart:_internal' hide deprecated; |
| 6 import 'dart:html'; | 6 import 'dart:html'; |
| 7 import 'dart:html_common'; | 7 import 'dart:html_common'; |
| 8 import 'dart:nativewrappers'; | 8 import 'dart:nativewrappers'; |
| 9 import 'dart:typed_data'; | 9 import 'dart:typed_data'; |
| 10 import 'dart:_blink' as _blink; | 10 import 'dart:_blink' as _blink; |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 typedef void AudioBufferCallback(AudioBuffer audioBuffer); | 158 typedef void AudioBufferCallback(AudioBuffer audioBuffer); |
| 159 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 159 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 160 // for details. All rights reserved. Use of this source code is governed by a | 160 // for details. All rights reserved. Use of this source code is governed by a |
| 161 // BSD-style license that can be found in the LICENSE file. | 161 // BSD-style license that can be found in the LICENSE file. |
| 162 | 162 |
| 163 // WARNING: Do not edit - generated code. | 163 // WARNING: Do not edit - generated code. |
| 164 | 164 |
| 165 | 165 |
| 166 @DocsEditable() | 166 @DocsEditable() |
| 167 @DomName('AudioBufferSourceNode') | 167 @DomName('AudioBufferSourceNode') |
| 168 @SupportedBrowser(SupportedBrowser.CHROME) |
| 169 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 170 @Experimental() |
| 168 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBu
fferSourceNode-section | 171 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBu
fferSourceNode-section |
| 169 @Experimental() | |
| 170 class AudioBufferSourceNode extends AudioSourceNode { | 172 class AudioBufferSourceNode extends AudioSourceNode { |
| 171 // To suppress missing implicit constructor warnings. | 173 // To suppress missing implicit constructor warnings. |
| 172 factory AudioBufferSourceNode._() { throw new UnsupportedError("Not supported"
); } | 174 factory AudioBufferSourceNode._() { throw new UnsupportedError("Not supported"
); } |
| 173 | 175 |
| 174 /** | 176 /** |
| 175 * Static factory designed to expose `ended` events to event | 177 * Static factory designed to expose `ended` events to event |
| 176 * handlers that are not necessarily instances of [AudioBufferSourceNode]. | 178 * handlers that are not necessarily instances of [AudioBufferSourceNode]. |
| 177 * | 179 * |
| 178 * See [EventStreamProvider] for usage information. | 180 * See [EventStreamProvider] for usage information. |
| 179 */ | 181 */ |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 256 @Experimental() // untriaged | 258 @Experimental() // untriaged |
| 257 Stream<Event> get onEnded => endedEvent.forTarget(this); | 259 Stream<Event> get onEnded => endedEvent.forTarget(this); |
| 258 | 260 |
| 259 } | 261 } |
| 260 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 262 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 261 // for details. All rights reserved. Use of this source code is governed by a | 263 // for details. All rights reserved. Use of this source code is governed by a |
| 262 // BSD-style license that can be found in the LICENSE file. | 264 // BSD-style license that can be found in the LICENSE file. |
| 263 | 265 |
| 264 | 266 |
| 265 @DomName('AudioContext') | 267 @DomName('AudioContext') |
| 268 @SupportedBrowser(SupportedBrowser.CHROME) |
| 269 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 270 @Experimental() |
| 266 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioCo
ntext-section | 271 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioCo
ntext-section |
| 267 @Experimental() | |
| 268 class AudioContext extends EventTarget { | 272 class AudioContext extends EventTarget { |
| 269 // To suppress missing implicit constructor warnings. | 273 // To suppress missing implicit constructor warnings. |
| 270 factory AudioContext._() { throw new UnsupportedError("Not supported"); } | 274 factory AudioContext._() { throw new UnsupportedError("Not supported"); } |
| 271 | 275 |
| 272 /** | 276 /** |
| 273 * Static factory designed to expose `complete` events to event | 277 * Static factory designed to expose `complete` events to event |
| 274 * handlers that are not necessarily instances of [AudioContext]. | 278 * handlers that are not necessarily instances of [AudioContext]. |
| 275 * | 279 * |
| 276 * See [EventStreamProvider] for usage information. | 280 * See [EventStreamProvider] for usage information. |
| 277 */ | 281 */ |
| (...skipping 935 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1213 | 1217 |
| 1214 @DomName('WaveShaperNode.oversample') | 1218 @DomName('WaveShaperNode.oversample') |
| 1215 @DocsEditable() | 1219 @DocsEditable() |
| 1216 String get oversample => _blink.BlinkWaveShaperNode.$oversample_Getter(this); | 1220 String get oversample => _blink.BlinkWaveShaperNode.$oversample_Getter(this); |
| 1217 | 1221 |
| 1218 @DomName('WaveShaperNode.oversample') | 1222 @DomName('WaveShaperNode.oversample') |
| 1219 @DocsEditable() | 1223 @DocsEditable() |
| 1220 void set oversample(String value) => _blink.BlinkWaveShaperNode.$oversample_Se
tter(this, value); | 1224 void set oversample(String value) => _blink.BlinkWaveShaperNode.$oversample_Se
tter(this, value); |
| 1221 | 1225 |
| 1222 } | 1226 } |
| OLD | NEW |