| 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 94ece937d99eeee931b78dde9dec58bc6656d8b8..87e50e01a3ea0658caa485ab221adb06d35d1125 100644
|
| --- a/sdk/lib/web_audio/dartium/web_audio_dartium.dart
|
| +++ b/sdk/lib/web_audio/dartium/web_audio_dartium.dart
|
| @@ -310,6 +310,10 @@ class AudioContext extends EventTarget {
|
|
|
| AudioBuffer _createBuffer_2(buffer_OR_numberOfChannels, mixToMono_OR_numberOfFrames) native "AudioContext__createBuffer_2_Callback";
|
|
|
| + @DomName('AudioContext.createBufferFromBuffer')
|
| + @DocsEditable
|
| + AudioBuffer createBufferFromBuffer(ByteBuffer buffer, bool mixToMono) native "AudioContext_createBufferFromBuffer_Callback";
|
| +
|
| @DomName('AudioContext.createBufferSource')
|
| @DocsEditable
|
| AudioBufferSourceNode createBufferSource() native "AudioContext_createBufferSource_Callback";
|
| @@ -366,6 +370,10 @@ class AudioContext extends EventTarget {
|
| @DocsEditable
|
| DynamicsCompressorNode createDynamicsCompressor() native "AudioContext_createDynamicsCompressor_Callback";
|
|
|
| + @DomName('AudioContext.createEmptyBuffer')
|
| + @DocsEditable
|
| + AudioBuffer createEmptyBuffer(int numberOfChannels, int numberOfFrames, num sampleRate) native "AudioContext_createEmptyBuffer_Callback";
|
| +
|
| @DomName('AudioContext.createGain')
|
| @DocsEditable
|
| GainNode createGain() native "AudioContext_createGain_Callback";
|
| @@ -513,10 +521,7 @@ class AudioListener extends NativeFieldWrapperClass1 {
|
| // 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.
|
| -
|
|
|
| -@DocsEditable
|
| @DomName('AudioNode')
|
| // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioNode-section
|
| @Experimental
|
| @@ -563,7 +568,7 @@ class AudioNode extends EventTarget {
|
| @DocsEditable
|
| void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "AudioNode_addEventListener_Callback";
|
|
|
| - void connect(destination, int output, [int input]) {
|
| + void $dom_connect(destination, int output, [int input]) {
|
| if ((input is int || input == null) && (output is int || output == null) && (destination is AudioNode || destination == null)) {
|
| _connect_1(destination, output, input);
|
| return;
|
| @@ -591,6 +596,13 @@ class AudioNode extends EventTarget {
|
| @DocsEditable
|
| void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "AudioNode_removeEventListener_Callback";
|
|
|
| + @DomName('AudioNode.connect')
|
| + void connectNode(AudioNode destination, [int output = 0, int input = 0]) =>
|
| + $dom_connect(destination, output, input);
|
| +
|
| + @DomName('AudioNode.connect')
|
| + void connectParam(AudioParam destination, [int output = 0]) =>
|
| + $dom_connect(destination, output);
|
| }
|
| // 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
|
|
|