| Index: sdk/lib/web_audio/dart2js/web_audio_dart2js.dart
|
| diff --git a/sdk/lib/web_audio/dart2js/web_audio_dart2js.dart b/sdk/lib/web_audio/dart2js/web_audio_dart2js.dart
|
| index 3cec0dd7b2db24d7158c854d4714548253192113..f93ef46bb85f5d26b769c1f2c79cac7ba14e4d82 100644
|
| --- a/sdk/lib/web_audio/dart2js/web_audio_dart2js.dart
|
| +++ b/sdk/lib/web_audio/dart2js/web_audio_dart2js.dart
|
| @@ -26,6 +26,8 @@ import 'dart:_interceptors' show Interceptor;
|
| // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AnalyserNode
|
| @Experimental
|
| class AnalyserNode extends AudioNode native "AnalyserNode,RealtimeAnalyserNode" {
|
| + // To suppress missing implicit constructor warnings.
|
| + factory AnalyserNode._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @DomName('AnalyserNode.fftSize')
|
| @DocsEditable
|
| @@ -68,7 +70,7 @@ class AnalyserNode extends AudioNode native "AnalyserNode,RealtimeAnalyserNode"
|
| @DomName('AudioBuffer')
|
| // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBuffer-section
|
| @Experimental
|
| -class AudioBuffer native "AudioBuffer" {
|
| +class AudioBuffer extends Interceptor native "AudioBuffer" {
|
|
|
| @DomName('AudioBuffer.duration')
|
| @DocsEditable
|
| @@ -144,6 +146,8 @@ class AudioBufferSourceNode extends AudioSourceNode native "AudioBufferSourceNod
|
| JS('void', '#.noteOff(#)', this, when);
|
| }
|
| }
|
| + // To suppress missing implicit constructor warnings.
|
| + factory AudioBufferSourceNode._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @DomName('AudioBufferSourceNode.FINISHED_STATE')
|
| @DocsEditable
|
| @@ -211,6 +215,8 @@ class AudioBufferSourceNode extends AudioSourceNode native "AudioBufferSourceNod
|
| // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioContext-section
|
| @Experimental
|
| class AudioContext extends EventTarget native "AudioContext" {
|
| + // To suppress missing implicit constructor warnings.
|
| + factory AudioContext._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @DomName('AudioContext.completeEvent')
|
| @DocsEditable
|
| @@ -364,6 +370,8 @@ class AudioContext extends EventTarget native "AudioContext" {
|
| // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioDestinationNode-section
|
| @Experimental
|
| class AudioDestinationNode extends AudioNode native "AudioDestinationNode" {
|
| + // To suppress missing implicit constructor warnings.
|
| + factory AudioDestinationNode._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @DomName('AudioDestinationNode.maxChannelCount')
|
| @DocsEditable
|
| @@ -378,7 +386,7 @@ class AudioDestinationNode extends AudioNode native "AudioDestinationNode" {
|
| @DomName('AudioListener')
|
| // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioListener-section
|
| @Experimental
|
| -class AudioListener native "AudioListener" {
|
| +class AudioListener extends Interceptor native "AudioListener" {
|
|
|
| @DomName('AudioListener.dopplerFactor')
|
| @DocsEditable
|
| @@ -410,6 +418,8 @@ class AudioListener native "AudioListener" {
|
| // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioNode-section
|
| @Experimental
|
| class AudioNode extends EventTarget native "AudioNode" {
|
| + // To suppress missing implicit constructor warnings.
|
| + factory AudioNode._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @DomName('AudioNode.channelCount')
|
| @DocsEditable
|
| @@ -466,7 +476,7 @@ class AudioNode extends EventTarget native "AudioNode" {
|
| @DomName('AudioParam')
|
| // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioParam
|
| @Experimental
|
| -class AudioParam native "AudioParam" {
|
| +class AudioParam extends Interceptor native "AudioParam" {
|
|
|
| @DomName('AudioParam.defaultValue')
|
| @DocsEditable
|
| @@ -530,6 +540,8 @@ class AudioParam native "AudioParam" {
|
| // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioProcessingEvent-section
|
| @Experimental
|
| class AudioProcessingEvent extends Event native "AudioProcessingEvent" {
|
| + // To suppress missing implicit constructor warnings.
|
| + factory AudioProcessingEvent._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @DomName('AudioProcessingEvent.inputBuffer')
|
| @DocsEditable
|
| @@ -549,6 +561,8 @@ class AudioProcessingEvent extends Event native "AudioProcessingEvent" {
|
| // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html
|
| @Experimental
|
| class AudioSourceNode extends AudioNode native "AudioSourceNode" {
|
| + // To suppress missing implicit constructor warnings.
|
| + factory AudioSourceNode._() { throw new UnsupportedError("Not supported"); }
|
| }
|
| // 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
|
| @@ -560,6 +574,8 @@ class AudioSourceNode extends AudioNode native "AudioSourceNode" {
|
| // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#BiquadFilterNode-section
|
| @Experimental
|
| class BiquadFilterNode extends AudioNode native "BiquadFilterNode" {
|
| + // To suppress missing implicit constructor warnings.
|
| + factory BiquadFilterNode._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @DomName('BiquadFilterNode.ALLPASS')
|
| @DocsEditable
|
| @@ -627,6 +643,8 @@ class BiquadFilterNode extends AudioNode native "BiquadFilterNode" {
|
| // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#ChannelMergerNode-section
|
| @Experimental
|
| class ChannelMergerNode extends AudioNode native "ChannelMergerNode,AudioChannelMerger" {
|
| + // To suppress missing implicit constructor warnings.
|
| + factory ChannelMergerNode._() { throw new UnsupportedError("Not supported"); }
|
| }
|
| // 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
|
| @@ -638,6 +656,8 @@ class ChannelMergerNode extends AudioNode native "ChannelMergerNode,AudioChannel
|
| // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#ChannelSplitterNode-section
|
| @Experimental
|
| class ChannelSplitterNode extends AudioNode native "ChannelSplitterNode,AudioChannelSplitter" {
|
| + // To suppress missing implicit constructor warnings.
|
| + factory ChannelSplitterNode._() { throw new UnsupportedError("Not supported"); }
|
| }
|
| // 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
|
| @@ -649,6 +669,8 @@ class ChannelSplitterNode extends AudioNode native "ChannelSplitterNode,AudioCha
|
| // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#ConvolverNode
|
| @Experimental
|
| class ConvolverNode extends AudioNode native "ConvolverNode" {
|
| + // To suppress missing implicit constructor warnings.
|
| + factory ConvolverNode._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @DomName('ConvolverNode.buffer')
|
| @DocsEditable
|
| @@ -668,6 +690,8 @@ class ConvolverNode extends AudioNode native "ConvolverNode" {
|
| // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#DelayNode
|
| @Experimental
|
| class DelayNode extends AudioNode native "DelayNode" {
|
| + // To suppress missing implicit constructor warnings.
|
| + factory DelayNode._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @DomName('DelayNode.delayTime')
|
| @DocsEditable
|
| @@ -683,6 +707,8 @@ class DelayNode extends AudioNode native "DelayNode" {
|
| // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#DynamicsCompressorNode
|
| @Experimental
|
| class DynamicsCompressorNode extends AudioNode native "DynamicsCompressorNode" {
|
| + // To suppress missing implicit constructor warnings.
|
| + factory DynamicsCompressorNode._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @DomName('DynamicsCompressorNode.attack')
|
| @DocsEditable
|
| @@ -718,6 +744,8 @@ class DynamicsCompressorNode extends AudioNode native "DynamicsCompressorNode" {
|
| // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#GainNode
|
| @Experimental
|
| class GainNode extends AudioNode native "GainNode,AudioGainNode" {
|
| + // To suppress missing implicit constructor warnings.
|
| + factory GainNode._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @DomName('GainNode.gain')
|
| @DocsEditable
|
| @@ -733,6 +761,8 @@ class GainNode extends AudioNode native "GainNode,AudioGainNode" {
|
| // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaElementAudioSourceNode
|
| @Experimental
|
| class MediaElementAudioSourceNode extends AudioSourceNode native "MediaElementAudioSourceNode" {
|
| + // To suppress missing implicit constructor warnings.
|
| + factory MediaElementAudioSourceNode._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @DomName('MediaElementAudioSourceNode.mediaElement')
|
| @DocsEditable
|
| @@ -749,6 +779,8 @@ class MediaElementAudioSourceNode extends AudioSourceNode native "MediaElementAu
|
| // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaStreamAudioDestinationNode
|
| @Experimental
|
| class MediaStreamAudioDestinationNode extends AudioSourceNode native "MediaStreamAudioDestinationNode" {
|
| + // To suppress missing implicit constructor warnings.
|
| + factory MediaStreamAudioDestinationNode._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @DomName('MediaStreamAudioDestinationNode.stream')
|
| @DocsEditable
|
| @@ -764,6 +796,8 @@ class MediaStreamAudioDestinationNode extends AudioSourceNode native "MediaStrea
|
| // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaStreamAudioSourceNode
|
| @Experimental
|
| class MediaStreamAudioSourceNode extends AudioSourceNode native "MediaStreamAudioSourceNode" {
|
| + // To suppress missing implicit constructor warnings.
|
| + factory MediaStreamAudioSourceNode._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @DomName('MediaStreamAudioSourceNode.mediaStream')
|
| @DocsEditable
|
| @@ -779,6 +813,8 @@ class MediaStreamAudioSourceNode extends AudioSourceNode native "MediaStreamAudi
|
| // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#OfflineAudioCompletionEvent-section
|
| @Experimental
|
| class OfflineAudioCompletionEvent extends Event native "OfflineAudioCompletionEvent" {
|
| + // To suppress missing implicit constructor warnings.
|
| + factory OfflineAudioCompletionEvent._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @DomName('OfflineAudioCompletionEvent.renderedBuffer')
|
| @DocsEditable
|
| @@ -794,6 +830,8 @@ class OfflineAudioCompletionEvent extends Event native "OfflineAudioCompletionEv
|
| // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#OfflineAudioContext-section
|
| @Experimental
|
| class OfflineAudioContext extends AudioContext implements EventTarget native "OfflineAudioContext" {
|
| + // To suppress missing implicit constructor warnings.
|
| + factory OfflineAudioContext._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @DomName('OfflineAudioContext.OfflineAudioContext')
|
| @DocsEditable
|
| @@ -812,6 +850,8 @@ class OfflineAudioContext extends AudioContext implements EventTarget native "Of
|
| // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#dfn-OscillatorNode
|
| @Experimental
|
| class OscillatorNode extends AudioSourceNode native "OscillatorNode,Oscillator" {
|
| + // To suppress missing implicit constructor warnings.
|
| + factory OscillatorNode._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @DomName('OscillatorNode.CUSTOM')
|
| @DocsEditable
|
| @@ -905,6 +945,8 @@ class OscillatorNode extends AudioSourceNode native "OscillatorNode,Oscillator"
|
| // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#PannerNode
|
| @Experimental
|
| class PannerNode extends AudioNode native "PannerNode,AudioPannerNode" {
|
| + // To suppress missing implicit constructor warnings.
|
| + factory PannerNode._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @DomName('PannerNode.EQUALPOWER')
|
| @DocsEditable
|
| @@ -1027,6 +1069,8 @@ class ScriptProcessorNode extends AudioNode native "ScriptProcessorNode,JavaScri
|
| convertDartClosureToJS(callback, 1));
|
| }
|
|
|
| + // To suppress missing implicit constructor warnings.
|
| + factory ScriptProcessorNode._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @DomName('ScriptProcessorNode.bufferSize')
|
| @DocsEditable
|
| @@ -1043,6 +1087,8 @@ class ScriptProcessorNode extends AudioNode native "ScriptProcessorNode,JavaScri
|
| // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#dfn-WaveShaperNode
|
| @Experimental
|
| class WaveShaperNode extends AudioNode native "WaveShaperNode" {
|
| + // To suppress missing implicit constructor warnings.
|
| + factory WaveShaperNode._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @DomName('WaveShaperNode.curve')
|
| @DocsEditable
|
| @@ -1061,5 +1107,5 @@ class WaveShaperNode extends AudioNode native "WaveShaperNode" {
|
| @DomName('WaveTable')
|
| // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#WaveTable-section
|
| @Experimental
|
| -class WaveTable native "WaveTable" {
|
| +class WaveTable extends Interceptor native "WaveTable" {
|
| }
|
|
|