| OLD | NEW |
| 1 /** | 1 /** |
| 2 * High-fidelity audio programming in the browser. | 2 * High-fidelity audio programming in the browser. |
| 3 */ | 3 */ |
| 4 library dart.dom.web_audio; | 4 library dart.dom.web_audio; |
| 5 | 5 |
| 6 import 'dart:async'; | 6 import 'dart:async'; |
| 7 import 'dart:collection'; | 7 import 'dart:collection'; |
| 8 import 'dart:_internal' hide deprecated; | 8 import 'dart:_internal' hide deprecated; |
| 9 import 'dart:html'; | 9 import 'dart:html'; |
| 10 import 'dart:html_common'; | 10 import 'dart:html_common'; |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 'OfflineAudioCompletionEvent': () => OfflineAudioCompletionEvent, | 42 'OfflineAudioCompletionEvent': () => OfflineAudioCompletionEvent, |
| 43 'OfflineAudioContext': () => OfflineAudioContext, | 43 'OfflineAudioContext': () => OfflineAudioContext, |
| 44 'OscillatorNode': () => OscillatorNode, | 44 'OscillatorNode': () => OscillatorNode, |
| 45 'PannerNode': () => PannerNode, | 45 'PannerNode': () => PannerNode, |
| 46 'PeriodicWave': () => PeriodicWave, | 46 'PeriodicWave': () => PeriodicWave, |
| 47 'ScriptProcessorNode': () => ScriptProcessorNode, | 47 'ScriptProcessorNode': () => ScriptProcessorNode, |
| 48 'WaveShaperNode': () => WaveShaperNode, | 48 'WaveShaperNode': () => WaveShaperNode, |
| 49 | 49 |
| 50 }; | 50 }; |
| 51 | 51 |
| 52 // FIXME: Can we make this private? |
| 53 final web_audioBlinkFunctionMap = { |
| 54 'AnalyserNode': () => AnalyserNode.internalCreateAnalyserNode, |
| 55 'AudioBuffer': () => AudioBuffer.internalCreateAudioBuffer, |
| 56 'AudioBufferSourceNode': () => AudioBufferSourceNode.internalCreateAudioBuffer
SourceNode, |
| 57 'AudioContext': () => AudioContext.internalCreateAudioContext, |
| 58 'AudioDestinationNode': () => AudioDestinationNode.internalCreateAudioDestinat
ionNode, |
| 59 'AudioListener': () => AudioListener.internalCreateAudioListener, |
| 60 'AudioNode': () => AudioNode.internalCreateAudioNode, |
| 61 'AudioParam': () => AudioParam.internalCreateAudioParam, |
| 62 'AudioProcessingEvent': () => AudioProcessingEvent.internalCreateAudioProcessi
ngEvent, |
| 63 'AudioSourceNode': () => AudioSourceNode.internalCreateAudioSourceNode, |
| 64 'BiquadFilterNode': () => BiquadFilterNode.internalCreateBiquadFilterNode, |
| 65 'ChannelMergerNode': () => ChannelMergerNode.internalCreateChannelMergerNode, |
| 66 'ChannelSplitterNode': () => ChannelSplitterNode.internalCreateChannelSplitter
Node, |
| 67 'ConvolverNode': () => ConvolverNode.internalCreateConvolverNode, |
| 68 'DelayNode': () => DelayNode.internalCreateDelayNode, |
| 69 'DynamicsCompressorNode': () => DynamicsCompressorNode.internalCreateDynamicsC
ompressorNode, |
| 70 'GainNode': () => GainNode.internalCreateGainNode, |
| 71 'MediaElementAudioSourceNode': () => MediaElementAudioSourceNode.internalCreat
eMediaElementAudioSourceNode, |
| 72 'MediaStreamAudioDestinationNode': () => MediaStreamAudioDestinationNode.inter
nalCreateMediaStreamAudioDestinationNode, |
| 73 'MediaStreamAudioSourceNode': () => MediaStreamAudioSourceNode.internalCreateM
ediaStreamAudioSourceNode, |
| 74 'OfflineAudioCompletionEvent': () => OfflineAudioCompletionEvent.internalCreat
eOfflineAudioCompletionEvent, |
| 75 'OfflineAudioContext': () => OfflineAudioContext.internalCreateOfflineAudioCon
text, |
| 76 'OscillatorNode': () => OscillatorNode.internalCreateOscillatorNode, |
| 77 'PannerNode': () => PannerNode.internalCreatePannerNode, |
| 78 'PeriodicWave': () => PeriodicWave.internalCreatePeriodicWave, |
| 79 'ScriptProcessorNode': () => ScriptProcessorNode.internalCreateScriptProcessor
Node, |
| 80 'WaveShaperNode': () => WaveShaperNode.internalCreateWaveShaperNode, |
| 81 |
| 82 }; |
| 52 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 83 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 53 // for details. All rights reserved. Use of this source code is governed by a | 84 // for details. All rights reserved. Use of this source code is governed by a |
| 54 // BSD-style license that can be found in the LICENSE file. | 85 // BSD-style license that can be found in the LICENSE file. |
| 55 | 86 |
| 56 // WARNING: Do not edit - generated code. | 87 // WARNING: Do not edit - generated code. |
| 57 | 88 |
| 58 | 89 |
| 59 @DocsEditable() | 90 @DocsEditable() |
| 60 @DomName('AnalyserNode') | 91 @DomName('AnalyserNode') |
| 61 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Analyse
rNode | 92 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Analyse
rNode |
| (...skipping 1485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1547 | 1578 |
| 1548 @DomName('WaveShaperNode.oversample') | 1579 @DomName('WaveShaperNode.oversample') |
| 1549 @DocsEditable() | 1580 @DocsEditable() |
| 1550 String get oversample => _blink.BlinkWaveShaperNode.instance.oversample_Getter
_(unwrap_jso(this)); | 1581 String get oversample => _blink.BlinkWaveShaperNode.instance.oversample_Getter
_(unwrap_jso(this)); |
| 1551 | 1582 |
| 1552 @DomName('WaveShaperNode.oversample') | 1583 @DomName('WaveShaperNode.oversample') |
| 1553 @DocsEditable() | 1584 @DocsEditable() |
| 1554 void set oversample(String value) => _blink.BlinkWaveShaperNode.instance.overs
ample_Setter_(unwrap_jso(this), value); | 1585 void set oversample(String value) => _blink.BlinkWaveShaperNode.instance.overs
ample_Setter_(unwrap_jso(this), value); |
| 1555 | 1586 |
| 1556 } | 1587 } |
| OLD | NEW |