| 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:_foreign_helper' show JS; | 7 import 'dart:_foreign_helper' show JS; |
| 8 // DO NOT EDIT - unless you are editing documentation as per: | 8 // DO NOT EDIT - unless you are editing documentation as per: |
| 9 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation | 9 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation |
| 10 // Auto-generated dart:audio library. | 10 // Auto-generated dart:audio library. |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 @DomName('AudioBuffer.numberOfChannels') | 77 @DomName('AudioBuffer.numberOfChannels') |
| 78 @DocsEditable | 78 @DocsEditable |
| 79 final int numberOfChannels; | 79 final int numberOfChannels; |
| 80 | 80 |
| 81 @DomName('AudioBuffer.sampleRate') | 81 @DomName('AudioBuffer.sampleRate') |
| 82 @DocsEditable | 82 @DocsEditable |
| 83 final num sampleRate; | 83 final num sampleRate; |
| 84 | 84 |
| 85 @DomName('AudioBuffer.getChannelData') | 85 @DomName('AudioBuffer.getChannelData') |
| 86 @DocsEditable | 86 @DocsEditable |
| 87 Float32Array getChannelData(int channelIndex) native; | 87 @Returns('Float32Array') |
| 88 @Creates('Float32Array') |
| 89 List<double> getChannelData(int channelIndex) native; |
| 88 } | 90 } |
| 89 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 91 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 90 // for details. All rights reserved. Use of this source code is governed by a | 92 // for details. All rights reserved. Use of this source code is governed by a |
| 91 // BSD-style license that can be found in the LICENSE file. | 93 // BSD-style license that can be found in the LICENSE file. |
| 92 | 94 |
| 93 // WARNING: Do not edit - generated code. | 95 // WARNING: Do not edit - generated code. |
| 94 | 96 |
| 95 | 97 |
| 96 typedef void AudioBufferCallback(AudioBuffer audioBuffer); | 98 typedef void AudioBufferCallback(AudioBuffer audioBuffer); |
| 97 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 99 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| (...skipping 729 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 827 // for details. All rights reserved. Use of this source code is governed by a | 829 // for details. All rights reserved. Use of this source code is governed by a |
| 828 // BSD-style license that can be found in the LICENSE file. | 830 // BSD-style license that can be found in the LICENSE file. |
| 829 | 831 |
| 830 | 832 |
| 831 @DocsEditable | 833 @DocsEditable |
| 832 @DomName('WaveShaperNode') | 834 @DomName('WaveShaperNode') |
| 833 class WaveShaperNode extends AudioNode native "*WaveShaperNode" { | 835 class WaveShaperNode extends AudioNode native "*WaveShaperNode" { |
| 834 | 836 |
| 835 @DomName('WaveShaperNode.curve') | 837 @DomName('WaveShaperNode.curve') |
| 836 @DocsEditable | 838 @DocsEditable |
| 837 Float32Array curve; | 839 @Returns('Float32Array') |
| 840 @Creates('Float32Array') |
| 841 List<double> curve; |
| 838 } | 842 } |
| 839 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 843 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 840 // for details. All rights reserved. Use of this source code is governed by a | 844 // for details. All rights reserved. Use of this source code is governed by a |
| 841 // BSD-style license that can be found in the LICENSE file. | 845 // BSD-style license that can be found in the LICENSE file. |
| 842 | 846 |
| 843 | 847 |
| 844 @DocsEditable | 848 @DocsEditable |
| 845 @DomName('WaveTable') | 849 @DomName('WaveTable') |
| 846 class WaveTable native "*WaveTable" { | 850 class WaveTable native "*WaveTable" { |
| 847 } | 851 } |
| OLD | NEW |