| OLD | NEW |
| 1 library web_audio; | 1 library 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 | 8 // DO NOT EDIT |
| 9 // Auto-generated dart:audio library. | 9 // Auto-generated dart:audio library. |
| 10 | 10 |
| (...skipping 668 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 679 } | 679 } |
| 680 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 680 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 681 // for details. All rights reserved. Use of this source code is governed by a | 681 // for details. All rights reserved. Use of this source code is governed by a |
| 682 // BSD-style license that can be found in the LICENSE file. | 682 // BSD-style license that can be found in the LICENSE file. |
| 683 | 683 |
| 684 | 684 |
| 685 @DocsEditable | 685 @DocsEditable |
| 686 @DomName('OfflineAudioContext') | 686 @DomName('OfflineAudioContext') |
| 687 class OfflineAudioContext extends AudioContext implements EventTarget native "*O
fflineAudioContext" { | 687 class OfflineAudioContext extends AudioContext implements EventTarget native "*O
fflineAudioContext" { |
| 688 | 688 |
| 689 @DomName('OfflineAudioContext.OfflineAudioContext') |
| 689 @DocsEditable | 690 @DocsEditable |
| 690 factory OfflineAudioContext(int numberOfChannels, int numberOfFrames, num samp
leRate) { | 691 factory OfflineAudioContext(int numberOfChannels, int numberOfFrames, num samp
leRate) { |
| 691 return OfflineAudioContext._create_1(numberOfChannels, numberOfFrames, sampl
eRate); | 692 return OfflineAudioContext._create_1(numberOfChannels, numberOfFrames, sampl
eRate); |
| 692 } | 693 } |
| 693 static OfflineAudioContext _create_1(numberOfChannels, numberOfFrames, sampleR
ate) => JS('OfflineAudioContext', 'new OfflineAudioContext(#,#,#)', numberOfChan
nels, numberOfFrames, sampleRate); | 694 static OfflineAudioContext _create_1(numberOfChannels, numberOfFrames, sampleR
ate) => JS('OfflineAudioContext', 'new OfflineAudioContext(#,#,#)', numberOfChan
nels, numberOfFrames, sampleRate); |
| 694 } | 695 } |
| 695 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 696 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 696 // for details. All rights reserved. Use of this source code is governed by a | 697 // for details. All rights reserved. Use of this source code is governed by a |
| 697 // BSD-style license that can be found in the LICENSE file. | 698 // BSD-style license that can be found in the LICENSE file. |
| 698 | 699 |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 840 } | 841 } |
| 841 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 842 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 842 // for details. All rights reserved. Use of this source code is governed by a | 843 // for details. All rights reserved. Use of this source code is governed by a |
| 843 // BSD-style license that can be found in the LICENSE file. | 844 // BSD-style license that can be found in the LICENSE file. |
| 844 | 845 |
| 845 | 846 |
| 846 @DocsEditable | 847 @DocsEditable |
| 847 @DomName('WaveTable') | 848 @DomName('WaveTable') |
| 848 class WaveTable native "*WaveTable" { | 849 class WaveTable native "*WaveTable" { |
| 849 } | 850 } |
| OLD | NEW |