| 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:_js_helper' show Creates, Returns; | 7 import 'dart:_js_helper' show Creates, Returns, convertDartClosureToJS; |
| 8 import 'dart:_foreign_helper' show JS; | 8 import 'dart:_foreign_helper' show JS; |
| 9 // DO NOT EDIT - unless you are editing documentation as per: | 9 // DO NOT EDIT - unless you are editing documentation as per: |
| 10 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation | 10 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation |
| 11 // Auto-generated dart:audio library. | 11 // Auto-generated dart:audio library. |
| 12 | 12 |
| 13 | 13 |
| 14 | 14 |
| 15 | 15 |
| 16 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17 // for details. All rights reserved. Use of this source code is governed by a | 17 // for details. All rights reserved. Use of this source code is governed by a |
| (...skipping 788 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 806 void setOrientation(num x, num y, num z) native; | 806 void setOrientation(num x, num y, num z) native; |
| 807 | 807 |
| 808 @DomName('PannerNode.setPosition') | 808 @DomName('PannerNode.setPosition') |
| 809 @DocsEditable | 809 @DocsEditable |
| 810 void setPosition(num x, num y, num z) native; | 810 void setPosition(num x, num y, num z) native; |
| 811 | 811 |
| 812 @DomName('PannerNode.setVelocity') | 812 @DomName('PannerNode.setVelocity') |
| 813 @DocsEditable | 813 @DocsEditable |
| 814 void setVelocity(num x, num y, num z) native; | 814 void setVelocity(num x, num y, num z) native; |
| 815 } | 815 } |
| 816 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 816 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 817 // for details. All rights reserved. Use of this source code is governed by a | 817 // for details. All rights reserved. Use of this source code is governed by a |
| 818 // BSD-style license that can be found in the LICENSE file. | 818 // BSD-style license that can be found in the LICENSE file. |
| 819 | 819 |
| 820 | 820 |
| 821 @DocsEditable | |
| 822 @DomName('ScriptProcessorNode') | 821 @DomName('ScriptProcessorNode') |
| 823 class ScriptProcessorNode extends AudioNode implements EventTarget native "*Scri
ptProcessorNode" { | 822 class ScriptProcessorNode extends AudioNode native "*ScriptProcessorNode" { |
| 823 void set onAudioProcess(EventListener listener) { |
| 824 JS('void', '#.onaudioprocess = #', this, |
| 825 convertDartClosureToJS(listener, 1)); |
| 826 } |
| 824 | 827 |
| 825 @DomName('ScriptProcessorNode.bufferSize') | 828 @DomName('ScriptProcessorNode.bufferSize') |
| 826 @DocsEditable | 829 @DocsEditable |
| 827 final int bufferSize; | 830 final int bufferSize; |
| 831 |
| 828 } | 832 } |
| 833 |
| 829 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 834 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 830 // for details. All rights reserved. Use of this source code is governed by a | 835 // for details. All rights reserved. Use of this source code is governed by a |
| 831 // BSD-style license that can be found in the LICENSE file. | 836 // BSD-style license that can be found in the LICENSE file. |
| 832 | 837 |
| 833 | 838 |
| 834 @DocsEditable | 839 @DocsEditable |
| 835 @DomName('WaveShaperNode') | 840 @DomName('WaveShaperNode') |
| 836 class WaveShaperNode extends AudioNode native "*WaveShaperNode" { | 841 class WaveShaperNode extends AudioNode native "*WaveShaperNode" { |
| 837 | 842 |
| 838 @DomName('WaveShaperNode.curve') | 843 @DomName('WaveShaperNode.curve') |
| 839 @DocsEditable | 844 @DocsEditable |
| 840 @Returns('Float32Array') | 845 @Returns('Float32Array') |
| 841 @Creates('Float32Array') | 846 @Creates('Float32Array') |
| 842 List<double> curve; | 847 List<double> curve; |
| 843 } | 848 } |
| 844 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 849 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 845 // for details. All rights reserved. Use of this source code is governed by a | 850 // for details. All rights reserved. Use of this source code is governed by a |
| 846 // BSD-style license that can be found in the LICENSE file. | 851 // BSD-style license that can be found in the LICENSE file. |
| 847 | 852 |
| 848 | 853 |
| 849 @DocsEditable | 854 @DocsEditable |
| 850 @DomName('WaveTable') | 855 @DomName('WaveTable') |
| 851 class WaveTable native "*WaveTable" { | 856 class WaveTable native "*WaveTable" { |
| 852 } | 857 } |
| OLD | NEW |