| OLD | NEW |
| 1 /** | 1 /** |
| 2 * High-fidelity audio programming in the browser. | 2 * High-fidelity audio programming in the browser. |
| 3 */ | 3 */ |
| 4 library dart.dom.web_audio; | 4 library dart.dom.web_audio; |
| 5 | 5 |
| 6 import 'dart:async'; | 6 import 'dart:async'; |
| 7 import 'dart:collection'; | 7 import 'dart:collection'; |
| 8 import 'dart:_internal'; | 8 import 'dart:_internal'; |
| 9 import 'dart:html'; | 9 import 'dart:html'; |
| 10 import 'dart:html_common'; | 10 import 'dart:html_common'; |
| (...skipping 671 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 682 return; | 682 return; |
| 683 } | 683 } |
| 684 if ((output is int) && (destination_OR_output is AudioParam) && input == nul
l) { | 684 if ((output is int) && (destination_OR_output is AudioParam) && input == nul
l) { |
| 685 _blink.BlinkAudioNode.instance.disconnect_Callback_2_(this, destination_OR
_output, output); | 685 _blink.BlinkAudioNode.instance.disconnect_Callback_2_(this, destination_OR
_output, output); |
| 686 return; | 686 return; |
| 687 } | 687 } |
| 688 throw new ArgumentError("Incorrect number or type of arguments"); | 688 throw new ArgumentError("Incorrect number or type of arguments"); |
| 689 } | 689 } |
| 690 | 690 |
| 691 @DomName('AudioNode.connect') | 691 @DomName('AudioNode.connect') |
| 692 void connectNode(AudioNode destination, [int output = 0, int input = 0]) => | 692 void connectNode(AudioNode destination, [int output = 0, int input = 0]) { |
| 693 _connect(destination, output, input); | 693 _connect(destination, output, input); |
| 694 } |
| 694 | 695 |
| 695 @DomName('AudioNode.connect') | 696 @DomName('AudioNode.connect') |
| 696 void connectParam(AudioParam destination, [int output = 0]) => | 697 void connectParam(AudioParam destination, [int output = 0]) { |
| 697 _connect(destination, output); | 698 _connect(destination, output); |
| 699 } |
| 698 } | 700 } |
| 699 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 701 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 700 // for details. All rights reserved. Use of this source code is governed by a | 702 // for details. All rights reserved. Use of this source code is governed by a |
| 701 // BSD-style license that can be found in the LICENSE file. | 703 // BSD-style license that can be found in the LICENSE file. |
| 702 | 704 |
| 703 // WARNING: Do not edit - generated code. | 705 // WARNING: Do not edit - generated code. |
| 704 | 706 |
| 705 | 707 |
| 706 @DocsEditable() | 708 @DocsEditable() |
| 707 @DomName('AudioParam') | 709 @DomName('AudioParam') |
| (...skipping 820 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1528 | 1530 |
| 1529 @DomName('WaveShaperNode.oversample') | 1531 @DomName('WaveShaperNode.oversample') |
| 1530 @DocsEditable() | 1532 @DocsEditable() |
| 1531 String get oversample => _blink.BlinkWaveShaperNode.instance.oversample_Getter
_(this); | 1533 String get oversample => _blink.BlinkWaveShaperNode.instance.oversample_Getter
_(this); |
| 1532 | 1534 |
| 1533 @DomName('WaveShaperNode.oversample') | 1535 @DomName('WaveShaperNode.oversample') |
| 1534 @DocsEditable() | 1536 @DocsEditable() |
| 1535 set oversample(String value) => _blink.BlinkWaveShaperNode.instance.oversample
_Setter_(this, value); | 1537 set oversample(String value) => _blink.BlinkWaveShaperNode.instance.oversample
_Setter_(this, value); |
| 1536 | 1538 |
| 1537 } | 1539 } |
| OLD | NEW |