| Index: sdk/lib/web_audio/dartium/web_audio_dartium.dart
|
| diff --git a/sdk/lib/web_audio/dartium/web_audio_dartium.dart b/sdk/lib/web_audio/dartium/web_audio_dartium.dart
|
| index ee711d3d553a3e6a89a62a8155e890a40352a3ca..908a77283af62e576e9d43f34c1ec58bb70081f6 100644
|
| --- a/sdk/lib/web_audio/dartium/web_audio_dartium.dart
|
| +++ b/sdk/lib/web_audio/dartium/web_audio_dartium.dart
|
| @@ -415,6 +415,25 @@ class AudioDestinationNode extends AudioNode {
|
| // WARNING: Do not edit - generated code.
|
|
|
|
|
| +/// @domName HTMLAudioElement
|
| +class AudioElement extends MediaElement {
|
| +
|
| + factory AudioElement([String src]) {
|
| + if (!?src) {
|
| + return _AudioElementFactoryProvider.createAudioElement();
|
| + }
|
| + return _AudioElementFactoryProvider.createAudioElement(src);
|
| + }
|
| + AudioElement.internal(): super.internal();
|
| +
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +// WARNING: Do not edit - generated code.
|
| +
|
| +
|
| /// @domName AudioGain
|
| class AudioGain extends AudioParam {
|
| AudioGain.internal(): super.internal();
|
| @@ -1044,11 +1063,7 @@ class WaveShaperNode extends AudioNode {
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -// WARNING: Do not edit - generated code.
|
| -
|
| -
|
| -/// @domName WaveTable
|
| -class WaveTable extends NativeFieldWrapperClass1 {
|
| - WaveTable.internal();
|
|
|
| +class _AudioElementFactoryProvider {
|
| + static AudioElement createAudioElement([String src]) native "HTMLAudioElement_constructor_Callback";
|
| }
|
|
|