| 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:_collection-dev' hide deprecated; | 5 import 'dart:_collection-dev' 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 // DO NOT EDIT | 10 // DO NOT EDIT |
| (...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 450 _decodeAudioData(audioData, | 450 _decodeAudioData(audioData, |
| 451 (value) { completer.complete(value); }, | 451 (value) { completer.complete(value); }, |
| 452 (error) { completer.completeError(error); }); | 452 (error) { completer.completeError(error); }); |
| 453 return completer.future; | 453 return completer.future; |
| 454 } | 454 } |
| 455 | 455 |
| 456 @DomName('AudioContext.startRendering') | 456 @DomName('AudioContext.startRendering') |
| 457 @DocsEditable() | 457 @DocsEditable() |
| 458 void startRendering() native "AudioContext_startRendering_Callback"; | 458 void startRendering() native "AudioContext_startRendering_Callback"; |
| 459 | 459 |
| 460 @DomName('AudioContext.addEventListener') |
| 461 @DocsEditable() |
| 462 @Experimental() // untriaged |
| 463 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native "AudioContext_addEventListener_Callback"; |
| 464 |
| 465 @DomName('AudioContext.dispatchEvent') |
| 466 @DocsEditable() |
| 467 @Experimental() // untriaged |
| 468 bool dispatchEvent(Event event) native "AudioContext_dispatchEvent_Callback"; |
| 469 |
| 470 @DomName('AudioContext.removeEventListener') |
| 471 @DocsEditable() |
| 472 @Experimental() // untriaged |
| 473 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native "AudioContext_removeEventListener_Callback"; |
| 474 |
| 460 @DomName('AudioContext.oncomplete') | 475 @DomName('AudioContext.oncomplete') |
| 461 @DocsEditable() | 476 @DocsEditable() |
| 462 Stream<Event> get onComplete => completeEvent.forTarget(this); | 477 Stream<Event> get onComplete => completeEvent.forTarget(this); |
| 463 | 478 |
| 464 } | 479 } |
| 465 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 480 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 466 // for details. All rights reserved. Use of this source code is governed by a | 481 // for details. All rights reserved. Use of this source code is governed by a |
| 467 // BSD-style license that can be found in the LICENSE file. | 482 // BSD-style license that can be found in the LICENSE file. |
| 468 | 483 |
| 469 // WARNING: Do not edit - generated code. | 484 // WARNING: Do not edit - generated code. |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 585 } | 600 } |
| 586 | 601 |
| 587 void _connect_1(destination, output, input) native "AudioNode__connect_1_Callb
ack"; | 602 void _connect_1(destination, output, input) native "AudioNode__connect_1_Callb
ack"; |
| 588 | 603 |
| 589 void _connect_2(destination, output) native "AudioNode__connect_2_Callback"; | 604 void _connect_2(destination, output) native "AudioNode__connect_2_Callback"; |
| 590 | 605 |
| 591 @DomName('AudioNode.disconnect') | 606 @DomName('AudioNode.disconnect') |
| 592 @DocsEditable() | 607 @DocsEditable() |
| 593 void disconnect(int output) native "AudioNode_disconnect_Callback"; | 608 void disconnect(int output) native "AudioNode_disconnect_Callback"; |
| 594 | 609 |
| 610 @DomName('AudioNode.addEventListener') |
| 611 @DocsEditable() |
| 612 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native "AudioNode_addEventListener_Callback"; |
| 613 |
| 614 @DomName('AudioNode.dispatchEvent') |
| 615 @DocsEditable() |
| 616 bool dispatchEvent(Event event) native "AudioNode_dispatchEvent_Callback"; |
| 617 |
| 618 @DomName('AudioNode.removeEventListener') |
| 619 @DocsEditable() |
| 620 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native "AudioNode_removeEventListener_Callback"; |
| 621 |
| 595 @DomName('AudioNode.connect') | 622 @DomName('AudioNode.connect') |
| 596 void connectNode(AudioNode destination, [int output = 0, int input = 0]) => | 623 void connectNode(AudioNode destination, [int output = 0, int input = 0]) => |
| 597 $dom_connect(destination, output, input); | 624 $dom_connect(destination, output, input); |
| 598 | 625 |
| 599 @DomName('AudioNode.connect') | 626 @DomName('AudioNode.connect') |
| 600 void connectParam(AudioParam destination, [int output = 0]) => | 627 void connectParam(AudioParam destination, [int output = 0]) => |
| 601 $dom_connect(destination, output); | 628 $dom_connect(destination, output); |
| 602 } | 629 } |
| 603 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 630 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 604 // for details. All rights reserved. Use of this source code is governed by a | 631 // for details. All rights reserved. Use of this source code is governed by a |
| (...skipping 760 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1365 | 1392 |
| 1366 @DomName('WaveShaperNode.oversample') | 1393 @DomName('WaveShaperNode.oversample') |
| 1367 @DocsEditable() | 1394 @DocsEditable() |
| 1368 String get oversample native "WaveShaperNode_oversample_Getter"; | 1395 String get oversample native "WaveShaperNode_oversample_Getter"; |
| 1369 | 1396 |
| 1370 @DomName('WaveShaperNode.oversample') | 1397 @DomName('WaveShaperNode.oversample') |
| 1371 @DocsEditable() | 1398 @DocsEditable() |
| 1372 void set oversample(String value) native "WaveShaperNode_oversample_Setter"; | 1399 void set oversample(String value) native "WaveShaperNode_oversample_Setter"; |
| 1373 | 1400 |
| 1374 } | 1401 } |
| OLD | NEW |