| 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'; |
| 11 import 'dart:nativewrappers'; | 11 import 'dart:nativewrappers'; |
| 12 import 'dart:typed_data'; | 12 import 'dart:typed_data'; |
| 13 import 'dart:_blink' as _blink; | 13 import 'dart:_blink' as _blink; |
| 14 import 'dart:js' as js; |
| 14 // DO NOT EDIT | 15 // DO NOT EDIT |
| 15 // Auto-generated dart:audio library. | 16 // Auto-generated dart:audio library. |
| 16 | 17 |
| 17 | 18 |
| 18 | 19 |
| 19 | 20 |
| 20 // FIXME: Can we make this private? | 21 // FIXME: Can we make this private? |
| 21 final web_audioBlinkMap = { | 22 final web_audioBlinkMap = { |
| 22 'AnalyserNode': () => AnalyserNode, | 23 'AnalyserNode': () => AnalyserNode, |
| 23 'AudioBuffer': () => AudioBuffer, | 24 'AudioBuffer': () => AudioBuffer, |
| (...skipping 18 matching lines...) Expand all Loading... |
| 42 'OfflineAudioCompletionEvent': () => OfflineAudioCompletionEvent, | 43 'OfflineAudioCompletionEvent': () => OfflineAudioCompletionEvent, |
| 43 'OfflineAudioContext': () => OfflineAudioContext, | 44 'OfflineAudioContext': () => OfflineAudioContext, |
| 44 'OscillatorNode': () => OscillatorNode, | 45 'OscillatorNode': () => OscillatorNode, |
| 45 'PannerNode': () => PannerNode, | 46 'PannerNode': () => PannerNode, |
| 46 'PeriodicWave': () => PeriodicWave, | 47 'PeriodicWave': () => PeriodicWave, |
| 47 'ScriptProcessorNode': () => ScriptProcessorNode, | 48 'ScriptProcessorNode': () => ScriptProcessorNode, |
| 48 'WaveShaperNode': () => WaveShaperNode, | 49 'WaveShaperNode': () => WaveShaperNode, |
| 49 | 50 |
| 50 }; | 51 }; |
| 51 | 52 |
| 53 // FIXME: Can we make this private? |
| 54 final web_audioBlinkFunctionMap = { |
| 55 'AnalyserNode': () => AnalyserNode.internalCreateAnalyserNode, |
| 56 'AudioBuffer': () => AudioBuffer.internalCreateAudioBuffer, |
| 57 'AudioBufferSourceNode': () => AudioBufferSourceNode.internalCreateAudioBuffer
SourceNode, |
| 58 'AudioContext': () => AudioContext.internalCreateAudioContext, |
| 59 'AudioDestinationNode': () => AudioDestinationNode.internalCreateAudioDestinat
ionNode, |
| 60 'AudioListener': () => AudioListener.internalCreateAudioListener, |
| 61 'AudioNode': () => AudioNode.internalCreateAudioNode, |
| 62 'AudioParam': () => AudioParam.internalCreateAudioParam, |
| 63 'AudioProcessingEvent': () => AudioProcessingEvent.internalCreateAudioProcessi
ngEvent, |
| 64 'AudioSourceNode': () => AudioSourceNode.internalCreateAudioSourceNode, |
| 65 'BiquadFilterNode': () => BiquadFilterNode.internalCreateBiquadFilterNode, |
| 66 'ChannelMergerNode': () => ChannelMergerNode.internalCreateChannelMergerNode, |
| 67 'ChannelSplitterNode': () => ChannelSplitterNode.internalCreateChannelSplitter
Node, |
| 68 'ConvolverNode': () => ConvolverNode.internalCreateConvolverNode, |
| 69 'DelayNode': () => DelayNode.internalCreateDelayNode, |
| 70 'DynamicsCompressorNode': () => DynamicsCompressorNode.internalCreateDynamicsC
ompressorNode, |
| 71 'GainNode': () => GainNode.internalCreateGainNode, |
| 72 'MediaElementAudioSourceNode': () => MediaElementAudioSourceNode.internalCreat
eMediaElementAudioSourceNode, |
| 73 'MediaStreamAudioDestinationNode': () => MediaStreamAudioDestinationNode.inter
nalCreateMediaStreamAudioDestinationNode, |
| 74 'MediaStreamAudioSourceNode': () => MediaStreamAudioSourceNode.internalCreateM
ediaStreamAudioSourceNode, |
| 75 'OfflineAudioCompletionEvent': () => OfflineAudioCompletionEvent.internalCreat
eOfflineAudioCompletionEvent, |
| 76 'OfflineAudioContext': () => OfflineAudioContext.internalCreateOfflineAudioCon
text, |
| 77 'OscillatorNode': () => OscillatorNode.internalCreateOscillatorNode, |
| 78 'PannerNode': () => PannerNode.internalCreatePannerNode, |
| 79 'PeriodicWave': () => PeriodicWave.internalCreatePeriodicWave, |
| 80 'ScriptProcessorNode': () => ScriptProcessorNode.internalCreateScriptProcessor
Node, |
| 81 'WaveShaperNode': () => WaveShaperNode.internalCreateWaveShaperNode, |
| 82 |
| 83 }; |
| 52 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 84 // 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 | 85 // 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. | 86 // BSD-style license that can be found in the LICENSE file. |
| 55 | 87 |
| 56 // WARNING: Do not edit - generated code. | 88 // WARNING: Do not edit - generated code. |
| 57 | 89 |
| 58 | 90 |
| 59 @DocsEditable() | 91 @DocsEditable() |
| 60 @DomName('AnalyserNode') | 92 @DomName('AnalyserNode') |
| 61 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Analyse
rNode | 93 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Analyse
rNode |
| 62 @Experimental() | 94 @Experimental() |
| 63 class AnalyserNode extends AudioNode { | 95 class AnalyserNode extends AudioNode { |
| 64 // To suppress missing implicit constructor warnings. | 96 // To suppress missing implicit constructor warnings. |
| 65 factory AnalyserNode._() { throw new UnsupportedError("Not supported"); } | 97 factory AnalyserNode._() { throw new UnsupportedError("Not supported"); } |
| 66 | 98 |
| 99 |
| 100 static AnalyserNode internalCreateAnalyserNode() { |
| 101 return new AnalyserNode._internalWrap(); |
| 102 } |
| 103 |
| 104 factory AnalyserNode._internalWrap() { |
| 105 return new AnalyserNode.internal_(); |
| 106 } |
| 107 |
| 108 AnalyserNode.internal_() : super.internal_(); |
| 109 |
| 110 |
| 67 @DomName('AnalyserNode.fftSize') | 111 @DomName('AnalyserNode.fftSize') |
| 68 @DocsEditable() | 112 @DocsEditable() |
| 69 int get fftSize => _blink.BlinkAnalyserNode.instance.fftSize_Getter_(unwrap_js
o(this)); | 113 int get fftSize => _blink.BlinkAnalyserNode.instance.fftSize_Getter_(unwrap_js
o(this)); |
| 70 | 114 |
| 71 @DomName('AnalyserNode.fftSize') | 115 @DomName('AnalyserNode.fftSize') |
| 72 @DocsEditable() | 116 @DocsEditable() |
| 73 void set fftSize(int value) => _blink.BlinkAnalyserNode.instance.fftSize_Sette
r_(unwrap_jso(this), value); | 117 set fftSize(int value) => _blink.BlinkAnalyserNode.instance.fftSize_Setter_(un
wrap_jso(this), value); |
| 74 | 118 |
| 75 @DomName('AnalyserNode.frequencyBinCount') | 119 @DomName('AnalyserNode.frequencyBinCount') |
| 76 @DocsEditable() | 120 @DocsEditable() |
| 77 int get frequencyBinCount => _blink.BlinkAnalyserNode.instance.frequencyBinCou
nt_Getter_(unwrap_jso(this)); | 121 int get frequencyBinCount => _blink.BlinkAnalyserNode.instance.frequencyBinCou
nt_Getter_(unwrap_jso(this)); |
| 78 | 122 |
| 79 @DomName('AnalyserNode.maxDecibels') | 123 @DomName('AnalyserNode.maxDecibels') |
| 80 @DocsEditable() | 124 @DocsEditable() |
| 81 num get maxDecibels => _blink.BlinkAnalyserNode.instance.maxDecibels_Getter_(u
nwrap_jso(this)); | 125 num get maxDecibels => _blink.BlinkAnalyserNode.instance.maxDecibels_Getter_(u
nwrap_jso(this)); |
| 82 | 126 |
| 83 @DomName('AnalyserNode.maxDecibels') | 127 @DomName('AnalyserNode.maxDecibels') |
| 84 @DocsEditable() | 128 @DocsEditable() |
| 85 void set maxDecibels(num value) => _blink.BlinkAnalyserNode.instance.maxDecibe
ls_Setter_(unwrap_jso(this), value); | 129 set maxDecibels(num value) => _blink.BlinkAnalyserNode.instance.maxDecibels_Se
tter_(unwrap_jso(this), value); |
| 86 | 130 |
| 87 @DomName('AnalyserNode.minDecibels') | 131 @DomName('AnalyserNode.minDecibels') |
| 88 @DocsEditable() | 132 @DocsEditable() |
| 89 num get minDecibels => _blink.BlinkAnalyserNode.instance.minDecibels_Getter_(u
nwrap_jso(this)); | 133 num get minDecibels => _blink.BlinkAnalyserNode.instance.minDecibels_Getter_(u
nwrap_jso(this)); |
| 90 | 134 |
| 91 @DomName('AnalyserNode.minDecibels') | 135 @DomName('AnalyserNode.minDecibels') |
| 92 @DocsEditable() | 136 @DocsEditable() |
| 93 void set minDecibels(num value) => _blink.BlinkAnalyserNode.instance.minDecibe
ls_Setter_(unwrap_jso(this), value); | 137 set minDecibels(num value) => _blink.BlinkAnalyserNode.instance.minDecibels_Se
tter_(unwrap_jso(this), value); |
| 94 | 138 |
| 95 @DomName('AnalyserNode.smoothingTimeConstant') | 139 @DomName('AnalyserNode.smoothingTimeConstant') |
| 96 @DocsEditable() | 140 @DocsEditable() |
| 97 num get smoothingTimeConstant => _blink.BlinkAnalyserNode.instance.smoothingTi
meConstant_Getter_(unwrap_jso(this)); | 141 num get smoothingTimeConstant => _blink.BlinkAnalyserNode.instance.smoothingTi
meConstant_Getter_(unwrap_jso(this)); |
| 98 | 142 |
| 99 @DomName('AnalyserNode.smoothingTimeConstant') | 143 @DomName('AnalyserNode.smoothingTimeConstant') |
| 100 @DocsEditable() | 144 @DocsEditable() |
| 101 void set smoothingTimeConstant(num value) => _blink.BlinkAnalyserNode.instance
.smoothingTimeConstant_Setter_(unwrap_jso(this), value); | 145 set smoothingTimeConstant(num value) => _blink.BlinkAnalyserNode.instance.smoo
thingTimeConstant_Setter_(unwrap_jso(this), value); |
| 102 | 146 |
| 103 @DomName('AnalyserNode.getByteFrequencyData') | 147 @DomName('AnalyserNode.getByteFrequencyData') |
| 104 @DocsEditable() | 148 @DocsEditable() |
| 105 void getByteFrequencyData(Uint8List array) => _blink.BlinkAnalyserNode.instanc
e.getByteFrequencyData_Callback_1_(unwrap_jso(this), array); | 149 void getByteFrequencyData(Uint8List array) => _blink.BlinkAnalyserNode.instanc
e.getByteFrequencyData_Callback_1_(unwrap_jso(this), array); |
| 106 | 150 |
| 107 @DomName('AnalyserNode.getByteTimeDomainData') | 151 @DomName('AnalyserNode.getByteTimeDomainData') |
| 108 @DocsEditable() | 152 @DocsEditable() |
| 109 void getByteTimeDomainData(Uint8List array) => _blink.BlinkAnalyserNode.instan
ce.getByteTimeDomainData_Callback_1_(unwrap_jso(this), array); | 153 void getByteTimeDomainData(Uint8List array) => _blink.BlinkAnalyserNode.instan
ce.getByteTimeDomainData_Callback_1_(unwrap_jso(this), array); |
| 110 | 154 |
| 111 @DomName('AnalyserNode.getFloatFrequencyData') | 155 @DomName('AnalyserNode.getFloatFrequencyData') |
| (...skipping 14 matching lines...) Expand all Loading... |
| 126 | 170 |
| 127 | 171 |
| 128 @DocsEditable() | 172 @DocsEditable() |
| 129 @DomName('AudioBuffer') | 173 @DomName('AudioBuffer') |
| 130 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBu
ffer-section | 174 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBu
ffer-section |
| 131 @Experimental() | 175 @Experimental() |
| 132 class AudioBuffer extends NativeFieldWrapperClass2 { | 176 class AudioBuffer extends NativeFieldWrapperClass2 { |
| 133 // To suppress missing implicit constructor warnings. | 177 // To suppress missing implicit constructor warnings. |
| 134 factory AudioBuffer._() { throw new UnsupportedError("Not supported"); } | 178 factory AudioBuffer._() { throw new UnsupportedError("Not supported"); } |
| 135 | 179 |
| 180 static AudioBuffer internalCreateAudioBuffer() { |
| 181 return new AudioBuffer._internalWrap(); |
| 182 } |
| 183 |
| 184 js.JsObject blink_jsObject; |
| 185 |
| 186 factory AudioBuffer._internalWrap() { |
| 187 return new AudioBuffer.internal_(); |
| 188 } |
| 189 |
| 190 AudioBuffer.internal_() { } |
| 191 |
| 192 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 193 int get hashCode => unwrap_jso(this).hashCode; |
| 194 |
| 136 @DomName('AudioBuffer.duration') | 195 @DomName('AudioBuffer.duration') |
| 137 @DocsEditable() | 196 @DocsEditable() |
| 138 double get duration => _blink.BlinkAudioBuffer.instance.duration_Getter_(unwra
p_jso(this)); | 197 num get duration => _blink.BlinkAudioBuffer.instance.duration_Getter_(unwrap_j
so(this)); |
| 139 | 198 |
| 140 @DomName('AudioBuffer.length') | 199 @DomName('AudioBuffer.length') |
| 141 @DocsEditable() | 200 @DocsEditable() |
| 142 int get length => _blink.BlinkAudioBuffer.instance.length_Getter_(unwrap_jso(t
his)); | 201 int get length => _blink.BlinkAudioBuffer.instance.length_Getter_(unwrap_jso(t
his)); |
| 143 | 202 |
| 144 @DomName('AudioBuffer.numberOfChannels') | 203 @DomName('AudioBuffer.numberOfChannels') |
| 145 @DocsEditable() | 204 @DocsEditable() |
| 146 int get numberOfChannels => _blink.BlinkAudioBuffer.instance.numberOfChannels_
Getter_(unwrap_jso(this)); | 205 int get numberOfChannels => _blink.BlinkAudioBuffer.instance.numberOfChannels_
Getter_(unwrap_jso(this)); |
| 147 | 206 |
| 148 @DomName('AudioBuffer.sampleRate') | 207 @DomName('AudioBuffer.sampleRate') |
| 149 @DocsEditable() | 208 @DocsEditable() |
| 150 double get sampleRate => _blink.BlinkAudioBuffer.instance.sampleRate_Getter_(u
nwrap_jso(this)); | 209 num get sampleRate => _blink.BlinkAudioBuffer.instance.sampleRate_Getter_(unwr
ap_jso(this)); |
| 151 | 210 |
| 152 @DomName('AudioBuffer.getChannelData') | 211 @DomName('AudioBuffer.getChannelData') |
| 153 @DocsEditable() | 212 @DocsEditable() |
| 154 Float32List getChannelData(int channelIndex) => _blink.BlinkAudioBuffer.instan
ce.getChannelData_Callback_1_(unwrap_jso(this), channelIndex); | 213 Float32List getChannelData(int channelIndex) => _blink.BlinkAudioBuffer.instan
ce.getChannelData_Callback_1_(unwrap_jso(this), channelIndex); |
| 155 | 214 |
| 156 } | 215 } |
| 157 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 216 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 158 // for details. All rights reserved. Use of this source code is governed by a | 217 // for details. All rights reserved. Use of this source code is governed by a |
| 159 // BSD-style license that can be found in the LICENSE file. | 218 // BSD-style license that can be found in the LICENSE file. |
| 160 | 219 |
| (...skipping 25 matching lines...) Expand all Loading... |
| 186 * Static factory designed to expose `ended` events to event | 245 * Static factory designed to expose `ended` events to event |
| 187 * handlers that are not necessarily instances of [AudioBufferSourceNode]. | 246 * handlers that are not necessarily instances of [AudioBufferSourceNode]. |
| 188 * | 247 * |
| 189 * See [EventStreamProvider] for usage information. | 248 * See [EventStreamProvider] for usage information. |
| 190 */ | 249 */ |
| 191 @DomName('AudioBufferSourceNode.endedEvent') | 250 @DomName('AudioBufferSourceNode.endedEvent') |
| 192 @DocsEditable() | 251 @DocsEditable() |
| 193 @Experimental() // untriaged | 252 @Experimental() // untriaged |
| 194 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider
<Event>('ended'); | 253 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider
<Event>('ended'); |
| 195 | 254 |
| 255 |
| 256 static AudioBufferSourceNode internalCreateAudioBufferSourceNode() { |
| 257 return new AudioBufferSourceNode._internalWrap(); |
| 258 } |
| 259 |
| 260 factory AudioBufferSourceNode._internalWrap() { |
| 261 return new AudioBufferSourceNode.internal_(); |
| 262 } |
| 263 |
| 264 AudioBufferSourceNode.internal_() : super.internal_(); |
| 265 |
| 266 |
| 196 @DomName('AudioBufferSourceNode.buffer') | 267 @DomName('AudioBufferSourceNode.buffer') |
| 197 @DocsEditable() | 268 @DocsEditable() |
| 198 AudioBuffer get buffer => wrap_jso(_blink.BlinkAudioBufferSourceNode.instance.
buffer_Getter_(unwrap_jso(this))); | 269 AudioBuffer get buffer => wrap_jso(_blink.BlinkAudioBufferSourceNode.instance.
buffer_Getter_(unwrap_jso(this))); |
| 199 | 270 |
| 200 @DomName('AudioBufferSourceNode.buffer') | 271 @DomName('AudioBufferSourceNode.buffer') |
| 201 @DocsEditable() | 272 @DocsEditable() |
| 202 void set buffer(AudioBuffer value) => _blink.BlinkAudioBufferSourceNode.instan
ce.buffer_Setter_(unwrap_jso(this), unwrap_jso(value)); | 273 set buffer(AudioBuffer value) => _blink.BlinkAudioBufferSourceNode.instance.bu
ffer_Setter_(unwrap_jso(this), unwrap_jso(value)); |
| 203 | 274 |
| 204 @DomName('AudioBufferSourceNode.loop') | 275 @DomName('AudioBufferSourceNode.loop') |
| 205 @DocsEditable() | 276 @DocsEditable() |
| 206 bool get loop => _blink.BlinkAudioBufferSourceNode.instance.loop_Getter_(unwra
p_jso(this)); | 277 bool get loop => _blink.BlinkAudioBufferSourceNode.instance.loop_Getter_(unwra
p_jso(this)); |
| 207 | 278 |
| 208 @DomName('AudioBufferSourceNode.loop') | 279 @DomName('AudioBufferSourceNode.loop') |
| 209 @DocsEditable() | 280 @DocsEditable() |
| 210 void set loop(bool value) => _blink.BlinkAudioBufferSourceNode.instance.loop_S
etter_(unwrap_jso(this), value); | 281 set loop(bool value) => _blink.BlinkAudioBufferSourceNode.instance.loop_Setter
_(unwrap_jso(this), value); |
| 211 | 282 |
| 212 @DomName('AudioBufferSourceNode.loopEnd') | 283 @DomName('AudioBufferSourceNode.loopEnd') |
| 213 @DocsEditable() | 284 @DocsEditable() |
| 214 num get loopEnd => _blink.BlinkAudioBufferSourceNode.instance.loopEnd_Getter_(
unwrap_jso(this)); | 285 num get loopEnd => _blink.BlinkAudioBufferSourceNode.instance.loopEnd_Getter_(
unwrap_jso(this)); |
| 215 | 286 |
| 216 @DomName('AudioBufferSourceNode.loopEnd') | 287 @DomName('AudioBufferSourceNode.loopEnd') |
| 217 @DocsEditable() | 288 @DocsEditable() |
| 218 void set loopEnd(num value) => _blink.BlinkAudioBufferSourceNode.instance.loop
End_Setter_(unwrap_jso(this), value); | 289 set loopEnd(num value) => _blink.BlinkAudioBufferSourceNode.instance.loopEnd_S
etter_(unwrap_jso(this), value); |
| 219 | 290 |
| 220 @DomName('AudioBufferSourceNode.loopStart') | 291 @DomName('AudioBufferSourceNode.loopStart') |
| 221 @DocsEditable() | 292 @DocsEditable() |
| 222 num get loopStart => _blink.BlinkAudioBufferSourceNode.instance.loopStart_Gett
er_(unwrap_jso(this)); | 293 num get loopStart => _blink.BlinkAudioBufferSourceNode.instance.loopStart_Gett
er_(unwrap_jso(this)); |
| 223 | 294 |
| 224 @DomName('AudioBufferSourceNode.loopStart') | 295 @DomName('AudioBufferSourceNode.loopStart') |
| 225 @DocsEditable() | 296 @DocsEditable() |
| 226 void set loopStart(num value) => _blink.BlinkAudioBufferSourceNode.instance.lo
opStart_Setter_(unwrap_jso(this), value); | 297 set loopStart(num value) => _blink.BlinkAudioBufferSourceNode.instance.loopSta
rt_Setter_(unwrap_jso(this), value); |
| 227 | 298 |
| 228 @DomName('AudioBufferSourceNode.playbackRate') | 299 @DomName('AudioBufferSourceNode.playbackRate') |
| 229 @DocsEditable() | 300 @DocsEditable() |
| 230 AudioParam get playbackRate => wrap_jso(_blink.BlinkAudioBufferSourceNode.inst
ance.playbackRate_Getter_(unwrap_jso(this))); | 301 AudioParam get playbackRate => wrap_jso(_blink.BlinkAudioBufferSourceNode.inst
ance.playbackRate_Getter_(unwrap_jso(this))); |
| 231 | 302 |
| 232 void start([num when, num grainOffset, num grainDuration]) { | 303 void start([num when, num grainOffset, num grainDuration]) { |
| 233 if (grainDuration != null) { | 304 if (grainDuration != null) { |
| 234 _blink.BlinkAudioBufferSourceNode.instance.start_Callback_3_(unwrap_jso(th
is), when, grainOffset, grainDuration); | 305 _blink.BlinkAudioBufferSourceNode.instance.start_Callback_3_(unwrap_jso(th
is), when, grainOffset, grainDuration); |
| 235 return; | 306 return; |
| 236 } | 307 } |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 * | 353 * |
| 283 * See [EventStreamProvider] for usage information. | 354 * See [EventStreamProvider] for usage information. |
| 284 */ | 355 */ |
| 285 @DomName('AudioContext.completeEvent') | 356 @DomName('AudioContext.completeEvent') |
| 286 @DocsEditable() | 357 @DocsEditable() |
| 287 static const EventStreamProvider<Event> completeEvent = const EventStreamProvi
der<Event>('complete'); | 358 static const EventStreamProvider<Event> completeEvent = const EventStreamProvi
der<Event>('complete'); |
| 288 | 359 |
| 289 @DomName('AudioContext.AudioContext') | 360 @DomName('AudioContext.AudioContext') |
| 290 @DocsEditable() | 361 @DocsEditable() |
| 291 factory AudioContext() { | 362 factory AudioContext() { |
| 292 return _blink.BlinkAudioContext.instance.constructorCallback_0_(); | 363 return wrap_jso(_blink.BlinkAudioContext.instance.constructorCallback_0_()); |
| 293 } | 364 } |
| 294 | 365 |
| 366 |
| 367 static AudioContext internalCreateAudioContext() { |
| 368 return new AudioContext._internalWrap(); |
| 369 } |
| 370 |
| 371 factory AudioContext._internalWrap() { |
| 372 return new AudioContext.internal_(); |
| 373 } |
| 374 |
| 375 AudioContext.internal_() : super.internal_(); |
| 376 |
| 377 |
| 295 /// Checks if this type is supported on the current platform. | 378 /// Checks if this type is supported on the current platform. |
| 296 static bool get supported => true; | 379 static bool get supported => true; |
| 297 | 380 |
| 298 @DomName('AudioContext.currentTime') | 381 @DomName('AudioContext.currentTime') |
| 299 @DocsEditable() | 382 @DocsEditable() |
| 300 double get currentTime => _blink.BlinkAudioContext.instance.currentTime_Getter
_(unwrap_jso(this)); | 383 num get currentTime => _blink.BlinkAudioContext.instance.currentTime_Getter_(u
nwrap_jso(this)); |
| 301 | 384 |
| 302 @DomName('AudioContext.destination') | 385 @DomName('AudioContext.destination') |
| 303 @DocsEditable() | 386 @DocsEditable() |
| 304 AudioDestinationNode get destination => wrap_jso(_blink.BlinkAudioContext.inst
ance.destination_Getter_(unwrap_jso(this))); | 387 AudioDestinationNode get destination => wrap_jso(_blink.BlinkAudioContext.inst
ance.destination_Getter_(unwrap_jso(this))); |
| 305 | 388 |
| 306 @DomName('AudioContext.listener') | 389 @DomName('AudioContext.listener') |
| 307 @DocsEditable() | 390 @DocsEditable() |
| 308 AudioListener get listener => wrap_jso(_blink.BlinkAudioContext.instance.liste
ner_Getter_(unwrap_jso(this))); | 391 AudioListener get listener => wrap_jso(_blink.BlinkAudioContext.instance.liste
ner_Getter_(unwrap_jso(this))); |
| 309 | 392 |
| 310 @DomName('AudioContext.sampleRate') | 393 @DomName('AudioContext.sampleRate') |
| 311 @DocsEditable() | 394 @DocsEditable() |
| 312 double get sampleRate => _blink.BlinkAudioContext.instance.sampleRate_Getter_(
unwrap_jso(this)); | 395 num get sampleRate => _blink.BlinkAudioContext.instance.sampleRate_Getter_(unw
rap_jso(this)); |
| 313 | 396 |
| 314 @DomName('AudioContext.createAnalyser') | 397 @DomName('AudioContext.createAnalyser') |
| 315 @DocsEditable() | 398 @DocsEditable() |
| 316 AnalyserNode createAnalyser() => wrap_jso(_blink.BlinkAudioContext.instance.cr
eateAnalyser_Callback_0_(unwrap_jso(this))); | 399 AnalyserNode createAnalyser() => wrap_jso(_blink.BlinkAudioContext.instance.cr
eateAnalyser_Callback_0_(unwrap_jso(this))); |
| 317 | 400 |
| 318 @DomName('AudioContext.createBiquadFilter') | 401 @DomName('AudioContext.createBiquadFilter') |
| 319 @DocsEditable() | 402 @DocsEditable() |
| 320 BiquadFilterNode createBiquadFilter() => wrap_jso(_blink.BlinkAudioContext.ins
tance.createBiquadFilter_Callback_0_(unwrap_jso(this))); | 403 BiquadFilterNode createBiquadFilter() => wrap_jso(_blink.BlinkAudioContext.ins
tance.createBiquadFilter_Callback_0_(unwrap_jso(this))); |
| 321 | 404 |
| 322 @DomName('AudioContext.createBuffer') | 405 @DomName('AudioContext.createBuffer') |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 397 } | 480 } |
| 398 return wrap_jso(_blink.BlinkAudioContext.instance.createScriptProcessor_Call
back_0_(unwrap_jso(this))); | 481 return wrap_jso(_blink.BlinkAudioContext.instance.createScriptProcessor_Call
back_0_(unwrap_jso(this))); |
| 399 } | 482 } |
| 400 | 483 |
| 401 @DomName('AudioContext.createWaveShaper') | 484 @DomName('AudioContext.createWaveShaper') |
| 402 @DocsEditable() | 485 @DocsEditable() |
| 403 WaveShaperNode createWaveShaper() => wrap_jso(_blink.BlinkAudioContext.instanc
e.createWaveShaper_Callback_0_(unwrap_jso(this))); | 486 WaveShaperNode createWaveShaper() => wrap_jso(_blink.BlinkAudioContext.instanc
e.createWaveShaper_Callback_0_(unwrap_jso(this))); |
| 404 | 487 |
| 405 @DomName('AudioContext.decodeAudioData') | 488 @DomName('AudioContext.decodeAudioData') |
| 406 @DocsEditable() | 489 @DocsEditable() |
| 407 void _decodeAudioData(ByteBuffer audioData, AudioBufferCallback successCallbac
k, [AudioBufferCallback errorCallback]) => _blink.BlinkAudioContext.instance.dec
odeAudioData_Callback_3_(unwrap_jso(this), audioData, unwrap_jso(successCallback
), unwrap_jso(errorCallback)); | 490 void _decodeAudioData(ByteBuffer audioData, AudioBufferCallback successCallbac
k, [AudioBufferCallback errorCallback]) => _blink.BlinkAudioContext.instance.dec
odeAudioData_Callback_3_(unwrap_jso(this), audioData, unwrap_jso((audioBuffer) =
> successCallback(wrap_jso(audioBuffer))), unwrap_jso((audioBuffer) => errorCall
back(wrap_jso(audioBuffer)))); |
| 408 | 491 |
| 409 @DomName('AudioContext.startRendering') | 492 @DomName('AudioContext.startRendering') |
| 410 @DocsEditable() | 493 @DocsEditable() |
| 411 void startRendering() => _blink.BlinkAudioContext.instance.startRendering_Call
back_0_(unwrap_jso(this)); | 494 void startRendering() => _blink.BlinkAudioContext.instance.startRendering_Call
back_0_(unwrap_jso(this)); |
| 412 | 495 |
| 413 /// Stream of `complete` events handled by this [AudioContext]. | 496 /// Stream of `complete` events handled by this [AudioContext]. |
| 414 @DomName('AudioContext.oncomplete') | 497 @DomName('AudioContext.oncomplete') |
| 415 @DocsEditable() | 498 @DocsEditable() |
| 416 Stream<Event> get onComplete => completeEvent.forTarget(this); | 499 Stream<Event> get onComplete => completeEvent.forTarget(this); |
| 417 | 500 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 438 | 521 |
| 439 | 522 |
| 440 @DocsEditable() | 523 @DocsEditable() |
| 441 @DomName('AudioDestinationNode') | 524 @DomName('AudioDestinationNode') |
| 442 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioDe
stinationNode-section | 525 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioDe
stinationNode-section |
| 443 @Experimental() | 526 @Experimental() |
| 444 class AudioDestinationNode extends AudioNode { | 527 class AudioDestinationNode extends AudioNode { |
| 445 // To suppress missing implicit constructor warnings. | 528 // To suppress missing implicit constructor warnings. |
| 446 factory AudioDestinationNode._() { throw new UnsupportedError("Not supported")
; } | 529 factory AudioDestinationNode._() { throw new UnsupportedError("Not supported")
; } |
| 447 | 530 |
| 531 |
| 532 static AudioDestinationNode internalCreateAudioDestinationNode() { |
| 533 return new AudioDestinationNode._internalWrap(); |
| 534 } |
| 535 |
| 536 factory AudioDestinationNode._internalWrap() { |
| 537 return new AudioDestinationNode.internal_(); |
| 538 } |
| 539 |
| 540 AudioDestinationNode.internal_() : super.internal_(); |
| 541 |
| 542 |
| 448 @DomName('AudioDestinationNode.maxChannelCount') | 543 @DomName('AudioDestinationNode.maxChannelCount') |
| 449 @DocsEditable() | 544 @DocsEditable() |
| 450 int get maxChannelCount => _blink.BlinkAudioDestinationNode.instance.maxChanne
lCount_Getter_(unwrap_jso(this)); | 545 int get maxChannelCount => _blink.BlinkAudioDestinationNode.instance.maxChanne
lCount_Getter_(unwrap_jso(this)); |
| 451 | 546 |
| 452 } | 547 } |
| 453 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 548 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 454 // for details. All rights reserved. Use of this source code is governed by a | 549 // for details. All rights reserved. Use of this source code is governed by a |
| 455 // BSD-style license that can be found in the LICENSE file. | 550 // BSD-style license that can be found in the LICENSE file. |
| 456 | 551 |
| 457 // WARNING: Do not edit - generated code. | 552 // WARNING: Do not edit - generated code. |
| 458 | 553 |
| 459 | 554 |
| 460 @DocsEditable() | 555 @DocsEditable() |
| 461 @DomName('AudioListener') | 556 @DomName('AudioListener') |
| 462 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioLi
stener-section | 557 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioLi
stener-section |
| 463 @Experimental() | 558 @Experimental() |
| 464 class AudioListener extends NativeFieldWrapperClass2 { | 559 class AudioListener extends NativeFieldWrapperClass2 { |
| 465 // To suppress missing implicit constructor warnings. | 560 // To suppress missing implicit constructor warnings. |
| 466 factory AudioListener._() { throw new UnsupportedError("Not supported"); } | 561 factory AudioListener._() { throw new UnsupportedError("Not supported"); } |
| 467 | 562 |
| 563 static AudioListener internalCreateAudioListener() { |
| 564 return new AudioListener._internalWrap(); |
| 565 } |
| 566 |
| 567 js.JsObject blink_jsObject; |
| 568 |
| 569 factory AudioListener._internalWrap() { |
| 570 return new AudioListener.internal_(); |
| 571 } |
| 572 |
| 573 AudioListener.internal_() { } |
| 574 |
| 575 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 576 int get hashCode => unwrap_jso(this).hashCode; |
| 577 |
| 468 @DomName('AudioListener.dopplerFactor') | 578 @DomName('AudioListener.dopplerFactor') |
| 469 @DocsEditable() | 579 @DocsEditable() |
| 470 num get dopplerFactor => _blink.BlinkAudioListener.instance.dopplerFactor_Gett
er_(unwrap_jso(this)); | 580 num get dopplerFactor => _blink.BlinkAudioListener.instance.dopplerFactor_Gett
er_(unwrap_jso(this)); |
| 471 | 581 |
| 472 @DomName('AudioListener.dopplerFactor') | 582 @DomName('AudioListener.dopplerFactor') |
| 473 @DocsEditable() | 583 @DocsEditable() |
| 474 void set dopplerFactor(num value) => _blink.BlinkAudioListener.instance.dopple
rFactor_Setter_(unwrap_jso(this), value); | 584 set dopplerFactor(num value) => _blink.BlinkAudioListener.instance.dopplerFact
or_Setter_(unwrap_jso(this), value); |
| 475 | 585 |
| 476 @DomName('AudioListener.speedOfSound') | 586 @DomName('AudioListener.speedOfSound') |
| 477 @DocsEditable() | 587 @DocsEditable() |
| 478 num get speedOfSound => _blink.BlinkAudioListener.instance.speedOfSound_Getter
_(unwrap_jso(this)); | 588 num get speedOfSound => _blink.BlinkAudioListener.instance.speedOfSound_Getter
_(unwrap_jso(this)); |
| 479 | 589 |
| 480 @DomName('AudioListener.speedOfSound') | 590 @DomName('AudioListener.speedOfSound') |
| 481 @DocsEditable() | 591 @DocsEditable() |
| 482 void set speedOfSound(num value) => _blink.BlinkAudioListener.instance.speedOf
Sound_Setter_(unwrap_jso(this), value); | 592 set speedOfSound(num value) => _blink.BlinkAudioListener.instance.speedOfSound
_Setter_(unwrap_jso(this), value); |
| 483 | 593 |
| 484 @DomName('AudioListener.setOrientation') | 594 @DomName('AudioListener.setOrientation') |
| 485 @DocsEditable() | 595 @DocsEditable() |
| 486 void setOrientation(num x, num y, num z, num xUp, num yUp, num zUp) => _blink.
BlinkAudioListener.instance.setOrientation_Callback_6_(unwrap_jso(this), x, y, z
, xUp, yUp, zUp); | 596 void setOrientation(num x, num y, num z, num xUp, num yUp, num zUp) => _blink.
BlinkAudioListener.instance.setOrientation_Callback_6_(unwrap_jso(this), x, y, z
, xUp, yUp, zUp); |
| 487 | 597 |
| 488 @DomName('AudioListener.setPosition') | 598 @DomName('AudioListener.setPosition') |
| 489 @DocsEditable() | 599 @DocsEditable() |
| 490 void setPosition(num x, num y, num z) => _blink.BlinkAudioListener.instance.se
tPosition_Callback_3_(unwrap_jso(this), x, y, z); | 600 void setPosition(num x, num y, num z) => _blink.BlinkAudioListener.instance.se
tPosition_Callback_3_(unwrap_jso(this), x, y, z); |
| 491 | 601 |
| 492 @DomName('AudioListener.setVelocity') | 602 @DomName('AudioListener.setVelocity') |
| 493 @DocsEditable() | 603 @DocsEditable() |
| 494 void setVelocity(num x, num y, num z) => _blink.BlinkAudioListener.instance.se
tVelocity_Callback_3_(unwrap_jso(this), x, y, z); | 604 void setVelocity(num x, num y, num z) => _blink.BlinkAudioListener.instance.se
tVelocity_Callback_3_(unwrap_jso(this), x, y, z); |
| 495 | 605 |
| 496 } | 606 } |
| 497 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 607 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 498 // for details. All rights reserved. Use of this source code is governed by a | 608 // for details. All rights reserved. Use of this source code is governed by a |
| 499 // BSD-style license that can be found in the LICENSE file. | 609 // BSD-style license that can be found in the LICENSE file. |
| 500 | 610 |
| 501 | 611 |
| 502 @DomName('AudioNode') | 612 @DomName('AudioNode') |
| 503 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioNo
de-section | 613 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioNo
de-section |
| 504 @Experimental() | 614 @Experimental() |
| 505 class AudioNode extends EventTarget { | 615 class AudioNode extends EventTarget { |
| 506 // To suppress missing implicit constructor warnings. | 616 // To suppress missing implicit constructor warnings. |
| 507 factory AudioNode._() { throw new UnsupportedError("Not supported"); } | 617 factory AudioNode._() { throw new UnsupportedError("Not supported"); } |
| 508 | 618 |
| 619 |
| 620 static AudioNode internalCreateAudioNode() { |
| 621 return new AudioNode._internalWrap(); |
| 622 } |
| 623 |
| 624 factory AudioNode._internalWrap() { |
| 625 return new AudioNode.internal_(); |
| 626 } |
| 627 |
| 628 AudioNode.internal_() : super.internal_(); |
| 629 |
| 630 |
| 509 @DomName('AudioNode.channelCount') | 631 @DomName('AudioNode.channelCount') |
| 510 @DocsEditable() | 632 @DocsEditable() |
| 511 int get channelCount => _blink.BlinkAudioNode.instance.channelCount_Getter_(un
wrap_jso(this)); | 633 int get channelCount => _blink.BlinkAudioNode.instance.channelCount_Getter_(un
wrap_jso(this)); |
| 512 | 634 |
| 513 @DomName('AudioNode.channelCount') | 635 @DomName('AudioNode.channelCount') |
| 514 @DocsEditable() | 636 @DocsEditable() |
| 515 void set channelCount(int value) => _blink.BlinkAudioNode.instance.channelCoun
t_Setter_(unwrap_jso(this), value); | 637 set channelCount(int value) => _blink.BlinkAudioNode.instance.channelCount_Set
ter_(unwrap_jso(this), value); |
| 516 | 638 |
| 517 @DomName('AudioNode.channelCountMode') | 639 @DomName('AudioNode.channelCountMode') |
| 518 @DocsEditable() | 640 @DocsEditable() |
| 519 String get channelCountMode => _blink.BlinkAudioNode.instance.channelCountMode
_Getter_(unwrap_jso(this)); | 641 String get channelCountMode => _blink.BlinkAudioNode.instance.channelCountMode
_Getter_(unwrap_jso(this)); |
| 520 | 642 |
| 521 @DomName('AudioNode.channelCountMode') | 643 @DomName('AudioNode.channelCountMode') |
| 522 @DocsEditable() | 644 @DocsEditable() |
| 523 void set channelCountMode(String value) => _blink.BlinkAudioNode.instance.chan
nelCountMode_Setter_(unwrap_jso(this), value); | 645 set channelCountMode(String value) => _blink.BlinkAudioNode.instance.channelCo
untMode_Setter_(unwrap_jso(this), value); |
| 524 | 646 |
| 525 @DomName('AudioNode.channelInterpretation') | 647 @DomName('AudioNode.channelInterpretation') |
| 526 @DocsEditable() | 648 @DocsEditable() |
| 527 String get channelInterpretation => _blink.BlinkAudioNode.instance.channelInte
rpretation_Getter_(unwrap_jso(this)); | 649 String get channelInterpretation => _blink.BlinkAudioNode.instance.channelInte
rpretation_Getter_(unwrap_jso(this)); |
| 528 | 650 |
| 529 @DomName('AudioNode.channelInterpretation') | 651 @DomName('AudioNode.channelInterpretation') |
| 530 @DocsEditable() | 652 @DocsEditable() |
| 531 void set channelInterpretation(String value) => _blink.BlinkAudioNode.instance
.channelInterpretation_Setter_(unwrap_jso(this), value); | 653 set channelInterpretation(String value) => _blink.BlinkAudioNode.instance.chan
nelInterpretation_Setter_(unwrap_jso(this), value); |
| 532 | 654 |
| 533 @DomName('AudioNode.context') | 655 @DomName('AudioNode.context') |
| 534 @DocsEditable() | 656 @DocsEditable() |
| 535 AudioContext get context => wrap_jso(_blink.BlinkAudioNode.instance.context_Ge
tter_(unwrap_jso(this))); | 657 AudioContext get context => wrap_jso(_blink.BlinkAudioNode.instance.context_Ge
tter_(unwrap_jso(this))); |
| 536 | 658 |
| 537 @DomName('AudioNode.numberOfInputs') | 659 @DomName('AudioNode.numberOfInputs') |
| 538 @DocsEditable() | 660 @DocsEditable() |
| 539 int get numberOfInputs => _blink.BlinkAudioNode.instance.numberOfInputs_Getter
_(unwrap_jso(this)); | 661 int get numberOfInputs => _blink.BlinkAudioNode.instance.numberOfInputs_Getter
_(unwrap_jso(this)); |
| 540 | 662 |
| 541 @DomName('AudioNode.numberOfOutputs') | 663 @DomName('AudioNode.numberOfOutputs') |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 574 | 696 |
| 575 | 697 |
| 576 @DocsEditable() | 698 @DocsEditable() |
| 577 @DomName('AudioParam') | 699 @DomName('AudioParam') |
| 578 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioPa
ram | 700 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioPa
ram |
| 579 @Experimental() | 701 @Experimental() |
| 580 class AudioParam extends NativeFieldWrapperClass2 { | 702 class AudioParam extends NativeFieldWrapperClass2 { |
| 581 // To suppress missing implicit constructor warnings. | 703 // To suppress missing implicit constructor warnings. |
| 582 factory AudioParam._() { throw new UnsupportedError("Not supported"); } | 704 factory AudioParam._() { throw new UnsupportedError("Not supported"); } |
| 583 | 705 |
| 706 static AudioParam internalCreateAudioParam() { |
| 707 return new AudioParam._internalWrap(); |
| 708 } |
| 709 |
| 710 js.JsObject blink_jsObject; |
| 711 |
| 712 factory AudioParam._internalWrap() { |
| 713 return new AudioParam.internal_(); |
| 714 } |
| 715 |
| 716 AudioParam.internal_() { } |
| 717 |
| 718 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 719 int get hashCode => unwrap_jso(this).hashCode; |
| 720 |
| 584 @DomName('AudioParam.defaultValue') | 721 @DomName('AudioParam.defaultValue') |
| 585 @DocsEditable() | 722 @DocsEditable() |
| 586 double get defaultValue => _blink.BlinkAudioParam.instance.defaultValue_Getter
_(unwrap_jso(this)); | 723 num get defaultValue => _blink.BlinkAudioParam.instance.defaultValue_Getter_(u
nwrap_jso(this)); |
| 587 | 724 |
| 588 @DomName('AudioParam.value') | 725 @DomName('AudioParam.value') |
| 589 @DocsEditable() | 726 @DocsEditable() |
| 590 num get value => _blink.BlinkAudioParam.instance.value_Getter_(unwrap_jso(this
)); | 727 num get value => _blink.BlinkAudioParam.instance.value_Getter_(unwrap_jso(this
)); |
| 591 | 728 |
| 592 @DomName('AudioParam.value') | 729 @DomName('AudioParam.value') |
| 593 @DocsEditable() | 730 @DocsEditable() |
| 594 void set value(num value) => _blink.BlinkAudioParam.instance.value_Setter_(unw
rap_jso(this), value); | 731 set value(num value) => _blink.BlinkAudioParam.instance.value_Setter_(unwrap_j
so(this), value); |
| 595 | 732 |
| 596 @DomName('AudioParam.cancelScheduledValues') | 733 @DomName('AudioParam.cancelScheduledValues') |
| 597 @DocsEditable() | 734 @DocsEditable() |
| 598 void cancelScheduledValues(num startTime) => _blink.BlinkAudioParam.instance.c
ancelScheduledValues_Callback_1_(unwrap_jso(this), startTime); | 735 void cancelScheduledValues(num startTime) => _blink.BlinkAudioParam.instance.c
ancelScheduledValues_Callback_1_(unwrap_jso(this), startTime); |
| 599 | 736 |
| 600 @DomName('AudioParam.exponentialRampToValueAtTime') | 737 @DomName('AudioParam.exponentialRampToValueAtTime') |
| 601 @DocsEditable() | 738 @DocsEditable() |
| 602 void exponentialRampToValueAtTime(num value, num time) => _blink.BlinkAudioPar
am.instance.exponentialRampToValueAtTime_Callback_2_(unwrap_jso(this), value, ti
me); | 739 void exponentialRampToValueAtTime(num value, num time) => _blink.BlinkAudioPar
am.instance.exponentialRampToValueAtTime_Callback_2_(unwrap_jso(this), value, ti
me); |
| 603 | 740 |
| 604 @DomName('AudioParam.linearRampToValueAtTime') | 741 @DomName('AudioParam.linearRampToValueAtTime') |
| (...skipping 21 matching lines...) Expand all Loading... |
| 626 | 763 |
| 627 | 764 |
| 628 @DocsEditable() | 765 @DocsEditable() |
| 629 @DomName('AudioProcessingEvent') | 766 @DomName('AudioProcessingEvent') |
| 630 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioPr
ocessingEvent-section | 767 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioPr
ocessingEvent-section |
| 631 @Experimental() | 768 @Experimental() |
| 632 class AudioProcessingEvent extends Event { | 769 class AudioProcessingEvent extends Event { |
| 633 // To suppress missing implicit constructor warnings. | 770 // To suppress missing implicit constructor warnings. |
| 634 factory AudioProcessingEvent._() { throw new UnsupportedError("Not supported")
; } | 771 factory AudioProcessingEvent._() { throw new UnsupportedError("Not supported")
; } |
| 635 | 772 |
| 773 |
| 774 static AudioProcessingEvent internalCreateAudioProcessingEvent() { |
| 775 return new AudioProcessingEvent._internalWrap(); |
| 776 } |
| 777 |
| 778 factory AudioProcessingEvent._internalWrap() { |
| 779 return new AudioProcessingEvent.internal_(); |
| 780 } |
| 781 |
| 782 AudioProcessingEvent.internal_() : super.internal_(); |
| 783 |
| 784 |
| 636 @DomName('AudioProcessingEvent.inputBuffer') | 785 @DomName('AudioProcessingEvent.inputBuffer') |
| 637 @DocsEditable() | 786 @DocsEditable() |
| 638 AudioBuffer get inputBuffer => wrap_jso(_blink.BlinkAudioProcessingEvent.insta
nce.inputBuffer_Getter_(unwrap_jso(this))); | 787 AudioBuffer get inputBuffer => wrap_jso(_blink.BlinkAudioProcessingEvent.insta
nce.inputBuffer_Getter_(unwrap_jso(this))); |
| 639 | 788 |
| 640 @DomName('AudioProcessingEvent.outputBuffer') | 789 @DomName('AudioProcessingEvent.outputBuffer') |
| 641 @DocsEditable() | 790 @DocsEditable() |
| 642 AudioBuffer get outputBuffer => wrap_jso(_blink.BlinkAudioProcessingEvent.inst
ance.outputBuffer_Getter_(unwrap_jso(this))); | 791 AudioBuffer get outputBuffer => wrap_jso(_blink.BlinkAudioProcessingEvent.inst
ance.outputBuffer_Getter_(unwrap_jso(this))); |
| 643 | 792 |
| 644 @DomName('AudioProcessingEvent.playbackTime') | 793 @DomName('AudioProcessingEvent.playbackTime') |
| 645 @DocsEditable() | 794 @DocsEditable() |
| 646 @Experimental() // untriaged | 795 @Experimental() // untriaged |
| 647 double get playbackTime => _blink.BlinkAudioProcessingEvent.instance.playbackT
ime_Getter_(unwrap_jso(this)); | 796 num get playbackTime => _blink.BlinkAudioProcessingEvent.instance.playbackTime
_Getter_(unwrap_jso(this)); |
| 648 | 797 |
| 649 } | 798 } |
| 650 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 799 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 651 // for details. All rights reserved. Use of this source code is governed by a | 800 // for details. All rights reserved. Use of this source code is governed by a |
| 652 // BSD-style license that can be found in the LICENSE file. | 801 // BSD-style license that can be found in the LICENSE file. |
| 653 | 802 |
| 654 // WARNING: Do not edit - generated code. | 803 // WARNING: Do not edit - generated code. |
| 655 | 804 |
| 656 | 805 |
| 657 @DocsEditable() | 806 @DocsEditable() |
| 658 @DomName('AudioSourceNode') | 807 @DomName('AudioSourceNode') |
| 659 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html | 808 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html |
| 660 @Experimental() | 809 @Experimental() |
| 661 class AudioSourceNode extends AudioNode { | 810 class AudioSourceNode extends AudioNode { |
| 662 // To suppress missing implicit constructor warnings. | 811 // To suppress missing implicit constructor warnings. |
| 663 factory AudioSourceNode._() { throw new UnsupportedError("Not supported"); } | 812 factory AudioSourceNode._() { throw new UnsupportedError("Not supported"); } |
| 664 | 813 |
| 814 |
| 815 static AudioSourceNode internalCreateAudioSourceNode() { |
| 816 return new AudioSourceNode._internalWrap(); |
| 817 } |
| 818 |
| 819 factory AudioSourceNode._internalWrap() { |
| 820 return new AudioSourceNode.internal_(); |
| 821 } |
| 822 |
| 823 AudioSourceNode.internal_() : super.internal_(); |
| 824 |
| 825 |
| 665 } | 826 } |
| 666 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 827 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 667 // for details. All rights reserved. Use of this source code is governed by a | 828 // for details. All rights reserved. Use of this source code is governed by a |
| 668 // BSD-style license that can be found in the LICENSE file. | 829 // BSD-style license that can be found in the LICENSE file. |
| 669 | 830 |
| 670 // WARNING: Do not edit - generated code. | 831 // WARNING: Do not edit - generated code. |
| 671 | 832 |
| 672 | 833 |
| 673 @DocsEditable() | 834 @DocsEditable() |
| 674 @DomName('BiquadFilterNode') | 835 @DomName('BiquadFilterNode') |
| 675 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#BiquadF
ilterNode-section | 836 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#BiquadF
ilterNode-section |
| 676 @Experimental() | 837 @Experimental() |
| 677 class BiquadFilterNode extends AudioNode { | 838 class BiquadFilterNode extends AudioNode { |
| 678 // To suppress missing implicit constructor warnings. | 839 // To suppress missing implicit constructor warnings. |
| 679 factory BiquadFilterNode._() { throw new UnsupportedError("Not supported"); } | 840 factory BiquadFilterNode._() { throw new UnsupportedError("Not supported"); } |
| 680 | 841 |
| 842 |
| 843 static BiquadFilterNode internalCreateBiquadFilterNode() { |
| 844 return new BiquadFilterNode._internalWrap(); |
| 845 } |
| 846 |
| 847 factory BiquadFilterNode._internalWrap() { |
| 848 return new BiquadFilterNode.internal_(); |
| 849 } |
| 850 |
| 851 BiquadFilterNode.internal_() : super.internal_(); |
| 852 |
| 853 |
| 681 @DomName('BiquadFilterNode.Q') | 854 @DomName('BiquadFilterNode.Q') |
| 682 @DocsEditable() | 855 @DocsEditable() |
| 683 AudioParam get Q => wrap_jso(_blink.BlinkBiquadFilterNode.instance.Q_Getter_(u
nwrap_jso(this))); | 856 AudioParam get Q => wrap_jso(_blink.BlinkBiquadFilterNode.instance.Q_Getter_(u
nwrap_jso(this))); |
| 684 | 857 |
| 685 @DomName('BiquadFilterNode.detune') | 858 @DomName('BiquadFilterNode.detune') |
| 686 @DocsEditable() | 859 @DocsEditable() |
| 687 AudioParam get detune => wrap_jso(_blink.BlinkBiquadFilterNode.instance.detune
_Getter_(unwrap_jso(this))); | 860 AudioParam get detune => wrap_jso(_blink.BlinkBiquadFilterNode.instance.detune
_Getter_(unwrap_jso(this))); |
| 688 | 861 |
| 689 @DomName('BiquadFilterNode.frequency') | 862 @DomName('BiquadFilterNode.frequency') |
| 690 @DocsEditable() | 863 @DocsEditable() |
| 691 AudioParam get frequency => wrap_jso(_blink.BlinkBiquadFilterNode.instance.fre
quency_Getter_(unwrap_jso(this))); | 864 AudioParam get frequency => wrap_jso(_blink.BlinkBiquadFilterNode.instance.fre
quency_Getter_(unwrap_jso(this))); |
| 692 | 865 |
| 693 @DomName('BiquadFilterNode.gain') | 866 @DomName('BiquadFilterNode.gain') |
| 694 @DocsEditable() | 867 @DocsEditable() |
| 695 AudioParam get gain => wrap_jso(_blink.BlinkBiquadFilterNode.instance.gain_Get
ter_(unwrap_jso(this))); | 868 AudioParam get gain => wrap_jso(_blink.BlinkBiquadFilterNode.instance.gain_Get
ter_(unwrap_jso(this))); |
| 696 | 869 |
| 697 @DomName('BiquadFilterNode.type') | 870 @DomName('BiquadFilterNode.type') |
| 698 @DocsEditable() | 871 @DocsEditable() |
| 699 String get type => _blink.BlinkBiquadFilterNode.instance.type_Getter_(unwrap_j
so(this)); | 872 String get type => _blink.BlinkBiquadFilterNode.instance.type_Getter_(unwrap_j
so(this)); |
| 700 | 873 |
| 701 @DomName('BiquadFilterNode.type') | 874 @DomName('BiquadFilterNode.type') |
| 702 @DocsEditable() | 875 @DocsEditable() |
| 703 void set type(String value) => _blink.BlinkBiquadFilterNode.instance.type_Sett
er_(unwrap_jso(this), value); | 876 set type(String value) => _blink.BlinkBiquadFilterNode.instance.type_Setter_(u
nwrap_jso(this), value); |
| 704 | 877 |
| 705 @DomName('BiquadFilterNode.getFrequencyResponse') | 878 @DomName('BiquadFilterNode.getFrequencyResponse') |
| 706 @DocsEditable() | 879 @DocsEditable() |
| 707 void getFrequencyResponse(Float32List frequencyHz, Float32List magResponse, Fl
oat32List phaseResponse) => _blink.BlinkBiquadFilterNode.instance.getFrequencyRe
sponse_Callback_3_(unwrap_jso(this), frequencyHz, magResponse, phaseResponse); | 880 void getFrequencyResponse(Float32List frequencyHz, Float32List magResponse, Fl
oat32List phaseResponse) => _blink.BlinkBiquadFilterNode.instance.getFrequencyRe
sponse_Callback_3_(unwrap_jso(this), frequencyHz, magResponse, phaseResponse); |
| 708 | 881 |
| 709 } | 882 } |
| 710 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 883 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 711 // for details. All rights reserved. Use of this source code is governed by a | 884 // for details. All rights reserved. Use of this source code is governed by a |
| 712 // BSD-style license that can be found in the LICENSE file. | 885 // BSD-style license that can be found in the LICENSE file. |
| 713 | 886 |
| 714 // WARNING: Do not edit - generated code. | 887 // WARNING: Do not edit - generated code. |
| 715 | 888 |
| 716 | 889 |
| 717 @DocsEditable() | 890 @DocsEditable() |
| 718 @DomName('ChannelMergerNode') | 891 @DomName('ChannelMergerNode') |
| 719 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Channel
MergerNode-section | 892 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Channel
MergerNode-section |
| 720 @Experimental() | 893 @Experimental() |
| 721 class ChannelMergerNode extends AudioNode { | 894 class ChannelMergerNode extends AudioNode { |
| 722 // To suppress missing implicit constructor warnings. | 895 // To suppress missing implicit constructor warnings. |
| 723 factory ChannelMergerNode._() { throw new UnsupportedError("Not supported"); } | 896 factory ChannelMergerNode._() { throw new UnsupportedError("Not supported"); } |
| 724 | 897 |
| 898 |
| 899 static ChannelMergerNode internalCreateChannelMergerNode() { |
| 900 return new ChannelMergerNode._internalWrap(); |
| 901 } |
| 902 |
| 903 factory ChannelMergerNode._internalWrap() { |
| 904 return new ChannelMergerNode.internal_(); |
| 905 } |
| 906 |
| 907 ChannelMergerNode.internal_() : super.internal_(); |
| 908 |
| 909 |
| 725 } | 910 } |
| 726 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 911 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 727 // for details. All rights reserved. Use of this source code is governed by a | 912 // for details. All rights reserved. Use of this source code is governed by a |
| 728 // BSD-style license that can be found in the LICENSE file. | 913 // BSD-style license that can be found in the LICENSE file. |
| 729 | 914 |
| 730 // WARNING: Do not edit - generated code. | 915 // WARNING: Do not edit - generated code. |
| 731 | 916 |
| 732 | 917 |
| 733 @DocsEditable() | 918 @DocsEditable() |
| 734 @DomName('ChannelSplitterNode') | 919 @DomName('ChannelSplitterNode') |
| 735 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Channel
SplitterNode-section | 920 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Channel
SplitterNode-section |
| 736 @Experimental() | 921 @Experimental() |
| 737 class ChannelSplitterNode extends AudioNode { | 922 class ChannelSplitterNode extends AudioNode { |
| 738 // To suppress missing implicit constructor warnings. | 923 // To suppress missing implicit constructor warnings. |
| 739 factory ChannelSplitterNode._() { throw new UnsupportedError("Not supported");
} | 924 factory ChannelSplitterNode._() { throw new UnsupportedError("Not supported");
} |
| 740 | 925 |
| 926 |
| 927 static ChannelSplitterNode internalCreateChannelSplitterNode() { |
| 928 return new ChannelSplitterNode._internalWrap(); |
| 929 } |
| 930 |
| 931 factory ChannelSplitterNode._internalWrap() { |
| 932 return new ChannelSplitterNode.internal_(); |
| 933 } |
| 934 |
| 935 ChannelSplitterNode.internal_() : super.internal_(); |
| 936 |
| 937 |
| 741 } | 938 } |
| 742 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 939 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 743 // for details. All rights reserved. Use of this source code is governed by a | 940 // for details. All rights reserved. Use of this source code is governed by a |
| 744 // BSD-style license that can be found in the LICENSE file. | 941 // BSD-style license that can be found in the LICENSE file. |
| 745 | 942 |
| 746 // WARNING: Do not edit - generated code. | 943 // WARNING: Do not edit - generated code. |
| 747 | 944 |
| 748 | 945 |
| 749 @DocsEditable() | 946 @DocsEditable() |
| 750 @DomName('ConvolverNode') | 947 @DomName('ConvolverNode') |
| 751 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Convolv
erNode | 948 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Convolv
erNode |
| 752 @Experimental() | 949 @Experimental() |
| 753 class ConvolverNode extends AudioNode { | 950 class ConvolverNode extends AudioNode { |
| 754 // To suppress missing implicit constructor warnings. | 951 // To suppress missing implicit constructor warnings. |
| 755 factory ConvolverNode._() { throw new UnsupportedError("Not supported"); } | 952 factory ConvolverNode._() { throw new UnsupportedError("Not supported"); } |
| 756 | 953 |
| 954 |
| 955 static ConvolverNode internalCreateConvolverNode() { |
| 956 return new ConvolverNode._internalWrap(); |
| 957 } |
| 958 |
| 959 factory ConvolverNode._internalWrap() { |
| 960 return new ConvolverNode.internal_(); |
| 961 } |
| 962 |
| 963 ConvolverNode.internal_() : super.internal_(); |
| 964 |
| 965 |
| 757 @DomName('ConvolverNode.buffer') | 966 @DomName('ConvolverNode.buffer') |
| 758 @DocsEditable() | 967 @DocsEditable() |
| 759 AudioBuffer get buffer => wrap_jso(_blink.BlinkConvolverNode.instance.buffer_G
etter_(unwrap_jso(this))); | 968 AudioBuffer get buffer => wrap_jso(_blink.BlinkConvolverNode.instance.buffer_G
etter_(unwrap_jso(this))); |
| 760 | 969 |
| 761 @DomName('ConvolverNode.buffer') | 970 @DomName('ConvolverNode.buffer') |
| 762 @DocsEditable() | 971 @DocsEditable() |
| 763 void set buffer(AudioBuffer value) => _blink.BlinkConvolverNode.instance.buffe
r_Setter_(unwrap_jso(this), unwrap_jso(value)); | 972 set buffer(AudioBuffer value) => _blink.BlinkConvolverNode.instance.buffer_Set
ter_(unwrap_jso(this), unwrap_jso(value)); |
| 764 | 973 |
| 765 @DomName('ConvolverNode.normalize') | 974 @DomName('ConvolverNode.normalize') |
| 766 @DocsEditable() | 975 @DocsEditable() |
| 767 bool get normalize => _blink.BlinkConvolverNode.instance.normalize_Getter_(unw
rap_jso(this)); | 976 bool get normalize => _blink.BlinkConvolverNode.instance.normalize_Getter_(unw
rap_jso(this)); |
| 768 | 977 |
| 769 @DomName('ConvolverNode.normalize') | 978 @DomName('ConvolverNode.normalize') |
| 770 @DocsEditable() | 979 @DocsEditable() |
| 771 void set normalize(bool value) => _blink.BlinkConvolverNode.instance.normalize
_Setter_(unwrap_jso(this), value); | 980 set normalize(bool value) => _blink.BlinkConvolverNode.instance.normalize_Sett
er_(unwrap_jso(this), value); |
| 772 | 981 |
| 773 } | 982 } |
| 774 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 983 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 775 // for details. All rights reserved. Use of this source code is governed by a | 984 // for details. All rights reserved. Use of this source code is governed by a |
| 776 // BSD-style license that can be found in the LICENSE file. | 985 // BSD-style license that can be found in the LICENSE file. |
| 777 | 986 |
| 778 // WARNING: Do not edit - generated code. | 987 // WARNING: Do not edit - generated code. |
| 779 | 988 |
| 780 | 989 |
| 781 @DocsEditable() | 990 @DocsEditable() |
| 782 @DomName('DelayNode') | 991 @DomName('DelayNode') |
| 783 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#DelayNo
de | 992 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#DelayNo
de |
| 784 @Experimental() | 993 @Experimental() |
| 785 class DelayNode extends AudioNode { | 994 class DelayNode extends AudioNode { |
| 786 // To suppress missing implicit constructor warnings. | 995 // To suppress missing implicit constructor warnings. |
| 787 factory DelayNode._() { throw new UnsupportedError("Not supported"); } | 996 factory DelayNode._() { throw new UnsupportedError("Not supported"); } |
| 788 | 997 |
| 998 |
| 999 static DelayNode internalCreateDelayNode() { |
| 1000 return new DelayNode._internalWrap(); |
| 1001 } |
| 1002 |
| 1003 factory DelayNode._internalWrap() { |
| 1004 return new DelayNode.internal_(); |
| 1005 } |
| 1006 |
| 1007 DelayNode.internal_() : super.internal_(); |
| 1008 |
| 1009 |
| 789 @DomName('DelayNode.delayTime') | 1010 @DomName('DelayNode.delayTime') |
| 790 @DocsEditable() | 1011 @DocsEditable() |
| 791 AudioParam get delayTime => wrap_jso(_blink.BlinkDelayNode.instance.delayTime_
Getter_(unwrap_jso(this))); | 1012 AudioParam get delayTime => wrap_jso(_blink.BlinkDelayNode.instance.delayTime_
Getter_(unwrap_jso(this))); |
| 792 | 1013 |
| 793 } | 1014 } |
| 794 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1015 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 795 // for details. All rights reserved. Use of this source code is governed by a | 1016 // for details. All rights reserved. Use of this source code is governed by a |
| 796 // BSD-style license that can be found in the LICENSE file. | 1017 // BSD-style license that can be found in the LICENSE file. |
| 797 | 1018 |
| 798 // WARNING: Do not edit - generated code. | 1019 // WARNING: Do not edit - generated code. |
| 799 | 1020 |
| 800 | 1021 |
| 801 @DocsEditable() | 1022 @DocsEditable() |
| 802 @DomName('DynamicsCompressorNode') | 1023 @DomName('DynamicsCompressorNode') |
| 803 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Dynamic
sCompressorNode | 1024 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Dynamic
sCompressorNode |
| 804 @Experimental() | 1025 @Experimental() |
| 805 class DynamicsCompressorNode extends AudioNode { | 1026 class DynamicsCompressorNode extends AudioNode { |
| 806 // To suppress missing implicit constructor warnings. | 1027 // To suppress missing implicit constructor warnings. |
| 807 factory DynamicsCompressorNode._() { throw new UnsupportedError("Not supported
"); } | 1028 factory DynamicsCompressorNode._() { throw new UnsupportedError("Not supported
"); } |
| 808 | 1029 |
| 1030 |
| 1031 static DynamicsCompressorNode internalCreateDynamicsCompressorNode() { |
| 1032 return new DynamicsCompressorNode._internalWrap(); |
| 1033 } |
| 1034 |
| 1035 factory DynamicsCompressorNode._internalWrap() { |
| 1036 return new DynamicsCompressorNode.internal_(); |
| 1037 } |
| 1038 |
| 1039 DynamicsCompressorNode.internal_() : super.internal_(); |
| 1040 |
| 1041 |
| 809 @DomName('DynamicsCompressorNode.attack') | 1042 @DomName('DynamicsCompressorNode.attack') |
| 810 @DocsEditable() | 1043 @DocsEditable() |
| 811 AudioParam get attack => wrap_jso(_blink.BlinkDynamicsCompressorNode.instance.
attack_Getter_(unwrap_jso(this))); | 1044 AudioParam get attack => wrap_jso(_blink.BlinkDynamicsCompressorNode.instance.
attack_Getter_(unwrap_jso(this))); |
| 812 | 1045 |
| 813 @DomName('DynamicsCompressorNode.knee') | 1046 @DomName('DynamicsCompressorNode.knee') |
| 814 @DocsEditable() | 1047 @DocsEditable() |
| 815 AudioParam get knee => wrap_jso(_blink.BlinkDynamicsCompressorNode.instance.kn
ee_Getter_(unwrap_jso(this))); | 1048 AudioParam get knee => wrap_jso(_blink.BlinkDynamicsCompressorNode.instance.kn
ee_Getter_(unwrap_jso(this))); |
| 816 | 1049 |
| 817 @DomName('DynamicsCompressorNode.ratio') | 1050 @DomName('DynamicsCompressorNode.ratio') |
| 818 @DocsEditable() | 1051 @DocsEditable() |
| (...skipping 20 matching lines...) Expand all Loading... |
| 839 | 1072 |
| 840 | 1073 |
| 841 @DocsEditable() | 1074 @DocsEditable() |
| 842 @DomName('GainNode') | 1075 @DomName('GainNode') |
| 843 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#GainNod
e | 1076 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#GainNod
e |
| 844 @Experimental() | 1077 @Experimental() |
| 845 class GainNode extends AudioNode { | 1078 class GainNode extends AudioNode { |
| 846 // To suppress missing implicit constructor warnings. | 1079 // To suppress missing implicit constructor warnings. |
| 847 factory GainNode._() { throw new UnsupportedError("Not supported"); } | 1080 factory GainNode._() { throw new UnsupportedError("Not supported"); } |
| 848 | 1081 |
| 1082 |
| 1083 static GainNode internalCreateGainNode() { |
| 1084 return new GainNode._internalWrap(); |
| 1085 } |
| 1086 |
| 1087 factory GainNode._internalWrap() { |
| 1088 return new GainNode.internal_(); |
| 1089 } |
| 1090 |
| 1091 GainNode.internal_() : super.internal_(); |
| 1092 |
| 1093 |
| 849 @DomName('GainNode.gain') | 1094 @DomName('GainNode.gain') |
| 850 @DocsEditable() | 1095 @DocsEditable() |
| 851 AudioParam get gain => wrap_jso(_blink.BlinkGainNode.instance.gain_Getter_(unw
rap_jso(this))); | 1096 AudioParam get gain => wrap_jso(_blink.BlinkGainNode.instance.gain_Getter_(unw
rap_jso(this))); |
| 852 | 1097 |
| 853 } | 1098 } |
| 854 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1099 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 855 // for details. All rights reserved. Use of this source code is governed by a | 1100 // for details. All rights reserved. Use of this source code is governed by a |
| 856 // BSD-style license that can be found in the LICENSE file. | 1101 // BSD-style license that can be found in the LICENSE file. |
| 857 | 1102 |
| 858 // WARNING: Do not edit - generated code. | 1103 // WARNING: Do not edit - generated code. |
| 859 | 1104 |
| 860 | 1105 |
| 861 @DocsEditable() | 1106 @DocsEditable() |
| 862 @DomName('MediaElementAudioSourceNode') | 1107 @DomName('MediaElementAudioSourceNode') |
| 863 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaEl
ementAudioSourceNode | 1108 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaEl
ementAudioSourceNode |
| 864 @Experimental() | 1109 @Experimental() |
| 865 class MediaElementAudioSourceNode extends AudioSourceNode { | 1110 class MediaElementAudioSourceNode extends AudioSourceNode { |
| 866 // To suppress missing implicit constructor warnings. | 1111 // To suppress missing implicit constructor warnings. |
| 867 factory MediaElementAudioSourceNode._() { throw new UnsupportedError("Not supp
orted"); } | 1112 factory MediaElementAudioSourceNode._() { throw new UnsupportedError("Not supp
orted"); } |
| 868 | 1113 |
| 1114 |
| 1115 static MediaElementAudioSourceNode internalCreateMediaElementAudioSourceNode()
{ |
| 1116 return new MediaElementAudioSourceNode._internalWrap(); |
| 1117 } |
| 1118 |
| 1119 factory MediaElementAudioSourceNode._internalWrap() { |
| 1120 return new MediaElementAudioSourceNode.internal_(); |
| 1121 } |
| 1122 |
| 1123 MediaElementAudioSourceNode.internal_() : super.internal_(); |
| 1124 |
| 1125 |
| 869 @DomName('MediaElementAudioSourceNode.mediaElement') | 1126 @DomName('MediaElementAudioSourceNode.mediaElement') |
| 870 @DocsEditable() | 1127 @DocsEditable() |
| 871 @Experimental() // non-standard | 1128 @Experimental() // non-standard |
| 872 MediaElement get mediaElement => wrap_jso(_blink.BlinkMediaElementAudioSourceN
ode.instance.mediaElement_Getter_(unwrap_jso(this))); | 1129 MediaElement get mediaElement => wrap_jso(_blink.BlinkMediaElementAudioSourceN
ode.instance.mediaElement_Getter_(unwrap_jso(this))); |
| 873 | 1130 |
| 874 } | 1131 } |
| 875 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1132 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 876 // for details. All rights reserved. Use of this source code is governed by a | 1133 // for details. All rights reserved. Use of this source code is governed by a |
| 877 // BSD-style license that can be found in the LICENSE file. | 1134 // BSD-style license that can be found in the LICENSE file. |
| 878 | 1135 |
| 879 // WARNING: Do not edit - generated code. | 1136 // WARNING: Do not edit - generated code. |
| 880 | 1137 |
| 881 | 1138 |
| 882 @DocsEditable() | 1139 @DocsEditable() |
| 883 @DomName('MediaStreamAudioDestinationNode') | 1140 @DomName('MediaStreamAudioDestinationNode') |
| 884 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaSt
reamAudioDestinationNode | 1141 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaSt
reamAudioDestinationNode |
| 885 @Experimental() | 1142 @Experimental() |
| 886 class MediaStreamAudioDestinationNode extends AudioNode { | 1143 class MediaStreamAudioDestinationNode extends AudioNode { |
| 887 // To suppress missing implicit constructor warnings. | 1144 // To suppress missing implicit constructor warnings. |
| 888 factory MediaStreamAudioDestinationNode._() { throw new UnsupportedError("Not
supported"); } | 1145 factory MediaStreamAudioDestinationNode._() { throw new UnsupportedError("Not
supported"); } |
| 889 | 1146 |
| 1147 |
| 1148 static MediaStreamAudioDestinationNode internalCreateMediaStreamAudioDestinati
onNode() { |
| 1149 return new MediaStreamAudioDestinationNode._internalWrap(); |
| 1150 } |
| 1151 |
| 1152 factory MediaStreamAudioDestinationNode._internalWrap() { |
| 1153 return new MediaStreamAudioDestinationNode.internal_(); |
| 1154 } |
| 1155 |
| 1156 MediaStreamAudioDestinationNode.internal_() : super.internal_(); |
| 1157 |
| 1158 |
| 890 @DomName('MediaStreamAudioDestinationNode.stream') | 1159 @DomName('MediaStreamAudioDestinationNode.stream') |
| 891 @DocsEditable() | 1160 @DocsEditable() |
| 892 MediaStream get stream => wrap_jso(_blink.BlinkMediaStreamAudioDestinationNode
.instance.stream_Getter_(unwrap_jso(this))); | 1161 MediaStream get stream => wrap_jso(_blink.BlinkMediaStreamAudioDestinationNode
.instance.stream_Getter_(unwrap_jso(this))); |
| 893 | 1162 |
| 894 } | 1163 } |
| 895 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1164 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 896 // for details. All rights reserved. Use of this source code is governed by a | 1165 // for details. All rights reserved. Use of this source code is governed by a |
| 897 // BSD-style license that can be found in the LICENSE file. | 1166 // BSD-style license that can be found in the LICENSE file. |
| 898 | 1167 |
| 899 // WARNING: Do not edit - generated code. | 1168 // WARNING: Do not edit - generated code. |
| 900 | 1169 |
| 901 | 1170 |
| 902 @DocsEditable() | 1171 @DocsEditable() |
| 903 @DomName('MediaStreamAudioSourceNode') | 1172 @DomName('MediaStreamAudioSourceNode') |
| 904 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaSt
reamAudioSourceNode | 1173 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaSt
reamAudioSourceNode |
| 905 @Experimental() | 1174 @Experimental() |
| 906 class MediaStreamAudioSourceNode extends AudioSourceNode { | 1175 class MediaStreamAudioSourceNode extends AudioSourceNode { |
| 907 // To suppress missing implicit constructor warnings. | 1176 // To suppress missing implicit constructor warnings. |
| 908 factory MediaStreamAudioSourceNode._() { throw new UnsupportedError("Not suppo
rted"); } | 1177 factory MediaStreamAudioSourceNode._() { throw new UnsupportedError("Not suppo
rted"); } |
| 909 | 1178 |
| 1179 |
| 1180 static MediaStreamAudioSourceNode internalCreateMediaStreamAudioSourceNode() { |
| 1181 return new MediaStreamAudioSourceNode._internalWrap(); |
| 1182 } |
| 1183 |
| 1184 factory MediaStreamAudioSourceNode._internalWrap() { |
| 1185 return new MediaStreamAudioSourceNode.internal_(); |
| 1186 } |
| 1187 |
| 1188 MediaStreamAudioSourceNode.internal_() : super.internal_(); |
| 1189 |
| 1190 |
| 910 @DomName('MediaStreamAudioSourceNode.mediaStream') | 1191 @DomName('MediaStreamAudioSourceNode.mediaStream') |
| 911 @DocsEditable() | 1192 @DocsEditable() |
| 912 MediaStream get mediaStream => wrap_jso(_blink.BlinkMediaStreamAudioSourceNode
.instance.mediaStream_Getter_(unwrap_jso(this))); | 1193 MediaStream get mediaStream => wrap_jso(_blink.BlinkMediaStreamAudioSourceNode
.instance.mediaStream_Getter_(unwrap_jso(this))); |
| 913 | 1194 |
| 914 } | 1195 } |
| 915 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1196 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 916 // for details. All rights reserved. Use of this source code is governed by a | 1197 // for details. All rights reserved. Use of this source code is governed by a |
| 917 // BSD-style license that can be found in the LICENSE file. | 1198 // BSD-style license that can be found in the LICENSE file. |
| 918 | 1199 |
| 919 // WARNING: Do not edit - generated code. | 1200 // WARNING: Do not edit - generated code. |
| 920 | 1201 |
| 921 | 1202 |
| 922 @DocsEditable() | 1203 @DocsEditable() |
| 923 @DomName('OfflineAudioCompletionEvent') | 1204 @DomName('OfflineAudioCompletionEvent') |
| 924 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Offline
AudioCompletionEvent-section | 1205 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Offline
AudioCompletionEvent-section |
| 925 @Experimental() | 1206 @Experimental() |
| 926 class OfflineAudioCompletionEvent extends Event { | 1207 class OfflineAudioCompletionEvent extends Event { |
| 927 // To suppress missing implicit constructor warnings. | 1208 // To suppress missing implicit constructor warnings. |
| 928 factory OfflineAudioCompletionEvent._() { throw new UnsupportedError("Not supp
orted"); } | 1209 factory OfflineAudioCompletionEvent._() { throw new UnsupportedError("Not supp
orted"); } |
| 929 | 1210 |
| 1211 |
| 1212 static OfflineAudioCompletionEvent internalCreateOfflineAudioCompletionEvent()
{ |
| 1213 return new OfflineAudioCompletionEvent._internalWrap(); |
| 1214 } |
| 1215 |
| 1216 factory OfflineAudioCompletionEvent._internalWrap() { |
| 1217 return new OfflineAudioCompletionEvent.internal_(); |
| 1218 } |
| 1219 |
| 1220 OfflineAudioCompletionEvent.internal_() : super.internal_(); |
| 1221 |
| 1222 |
| 930 @DomName('OfflineAudioCompletionEvent.renderedBuffer') | 1223 @DomName('OfflineAudioCompletionEvent.renderedBuffer') |
| 931 @DocsEditable() | 1224 @DocsEditable() |
| 932 AudioBuffer get renderedBuffer => wrap_jso(_blink.BlinkOfflineAudioCompletionE
vent.instance.renderedBuffer_Getter_(unwrap_jso(this))); | 1225 AudioBuffer get renderedBuffer => wrap_jso(_blink.BlinkOfflineAudioCompletionE
vent.instance.renderedBuffer_Getter_(unwrap_jso(this))); |
| 933 | 1226 |
| 934 } | 1227 } |
| 935 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1228 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 936 // for details. All rights reserved. Use of this source code is governed by a | 1229 // for details. All rights reserved. Use of this source code is governed by a |
| 937 // BSD-style license that can be found in the LICENSE file. | 1230 // BSD-style license that can be found in the LICENSE file. |
| 938 | 1231 |
| 939 // WARNING: Do not edit - generated code. | 1232 // WARNING: Do not edit - generated code. |
| 940 | 1233 |
| 941 | 1234 |
| 942 @DocsEditable() | 1235 @DocsEditable() |
| 943 @DomName('OfflineAudioContext') | 1236 @DomName('OfflineAudioContext') |
| 944 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Offline
AudioContext-section | 1237 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Offline
AudioContext-section |
| 945 @Experimental() | 1238 @Experimental() |
| 946 class OfflineAudioContext extends AudioContext { | 1239 class OfflineAudioContext extends AudioContext { |
| 947 // To suppress missing implicit constructor warnings. | 1240 // To suppress missing implicit constructor warnings. |
| 948 factory OfflineAudioContext._() { throw new UnsupportedError("Not supported");
} | 1241 factory OfflineAudioContext._() { throw new UnsupportedError("Not supported");
} |
| 949 | 1242 |
| 950 @DomName('OfflineAudioContext.OfflineAudioContext') | 1243 @DomName('OfflineAudioContext.OfflineAudioContext') |
| 951 @DocsEditable() | 1244 @DocsEditable() |
| 952 factory OfflineAudioContext(int numberOfChannels, int numberOfFrames, num samp
leRate) { | 1245 factory OfflineAudioContext(int numberOfChannels, int numberOfFrames, num samp
leRate) { |
| 953 return _blink.BlinkOfflineAudioContext.instance.constructorCallback_3_(numbe
rOfChannels, numberOfFrames, sampleRate); | 1246 return wrap_jso(_blink.BlinkOfflineAudioContext.instance.constructorCallback
_3_(numberOfChannels, numberOfFrames, sampleRate)); |
| 954 } | 1247 } |
| 955 | 1248 |
| 1249 |
| 1250 static OfflineAudioContext internalCreateOfflineAudioContext() { |
| 1251 return new OfflineAudioContext._internalWrap(); |
| 1252 } |
| 1253 |
| 1254 factory OfflineAudioContext._internalWrap() { |
| 1255 return new OfflineAudioContext.internal_(); |
| 1256 } |
| 1257 |
| 1258 OfflineAudioContext.internal_() : super.internal_(); |
| 1259 |
| 1260 |
| 956 } | 1261 } |
| 957 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1262 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 958 // for details. All rights reserved. Use of this source code is governed by a | 1263 // for details. All rights reserved. Use of this source code is governed by a |
| 959 // BSD-style license that can be found in the LICENSE file. | 1264 // BSD-style license that can be found in the LICENSE file. |
| 960 | 1265 |
| 961 // WARNING: Do not edit - generated code. | 1266 // WARNING: Do not edit - generated code. |
| 962 | 1267 |
| 963 | 1268 |
| 964 @DocsEditable() | 1269 @DocsEditable() |
| 965 @DomName('OscillatorNode') | 1270 @DomName('OscillatorNode') |
| 966 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#dfn-Osc
illatorNode | 1271 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#dfn-Osc
illatorNode |
| 967 @Experimental() | 1272 @Experimental() |
| 968 class OscillatorNode extends AudioSourceNode { | 1273 class OscillatorNode extends AudioSourceNode { |
| 969 // To suppress missing implicit constructor warnings. | 1274 // To suppress missing implicit constructor warnings. |
| 970 factory OscillatorNode._() { throw new UnsupportedError("Not supported"); } | 1275 factory OscillatorNode._() { throw new UnsupportedError("Not supported"); } |
| 971 | 1276 |
| 972 /** | 1277 /** |
| 973 * Static factory designed to expose `ended` events to event | 1278 * Static factory designed to expose `ended` events to event |
| 974 * handlers that are not necessarily instances of [OscillatorNode]. | 1279 * handlers that are not necessarily instances of [OscillatorNode]. |
| 975 * | 1280 * |
| 976 * See [EventStreamProvider] for usage information. | 1281 * See [EventStreamProvider] for usage information. |
| 977 */ | 1282 */ |
| 978 @DomName('OscillatorNode.endedEvent') | 1283 @DomName('OscillatorNode.endedEvent') |
| 979 @DocsEditable() | 1284 @DocsEditable() |
| 980 @Experimental() // untriaged | 1285 @Experimental() // untriaged |
| 981 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider
<Event>('ended'); | 1286 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider
<Event>('ended'); |
| 982 | 1287 |
| 1288 |
| 1289 static OscillatorNode internalCreateOscillatorNode() { |
| 1290 return new OscillatorNode._internalWrap(); |
| 1291 } |
| 1292 |
| 1293 factory OscillatorNode._internalWrap() { |
| 1294 return new OscillatorNode.internal_(); |
| 1295 } |
| 1296 |
| 1297 OscillatorNode.internal_() : super.internal_(); |
| 1298 |
| 1299 |
| 983 @DomName('OscillatorNode.detune') | 1300 @DomName('OscillatorNode.detune') |
| 984 @DocsEditable() | 1301 @DocsEditable() |
| 985 AudioParam get detune => wrap_jso(_blink.BlinkOscillatorNode.instance.detune_G
etter_(unwrap_jso(this))); | 1302 AudioParam get detune => wrap_jso(_blink.BlinkOscillatorNode.instance.detune_G
etter_(unwrap_jso(this))); |
| 986 | 1303 |
| 987 @DomName('OscillatorNode.frequency') | 1304 @DomName('OscillatorNode.frequency') |
| 988 @DocsEditable() | 1305 @DocsEditable() |
| 989 AudioParam get frequency => wrap_jso(_blink.BlinkOscillatorNode.instance.frequ
ency_Getter_(unwrap_jso(this))); | 1306 AudioParam get frequency => wrap_jso(_blink.BlinkOscillatorNode.instance.frequ
ency_Getter_(unwrap_jso(this))); |
| 990 | 1307 |
| 991 @DomName('OscillatorNode.type') | 1308 @DomName('OscillatorNode.type') |
| 992 @DocsEditable() | 1309 @DocsEditable() |
| 993 String get type => _blink.BlinkOscillatorNode.instance.type_Getter_(unwrap_jso
(this)); | 1310 String get type => _blink.BlinkOscillatorNode.instance.type_Getter_(unwrap_jso
(this)); |
| 994 | 1311 |
| 995 @DomName('OscillatorNode.type') | 1312 @DomName('OscillatorNode.type') |
| 996 @DocsEditable() | 1313 @DocsEditable() |
| 997 void set type(String value) => _blink.BlinkOscillatorNode.instance.type_Setter
_(unwrap_jso(this), value); | 1314 set type(String value) => _blink.BlinkOscillatorNode.instance.type_Setter_(unw
rap_jso(this), value); |
| 998 | 1315 |
| 999 @DomName('OscillatorNode.noteOff') | 1316 @DomName('OscillatorNode.noteOff') |
| 1000 @DocsEditable() | 1317 @DocsEditable() |
| 1001 void noteOff(num when) => _blink.BlinkOscillatorNode.instance.noteOff_Callback
_1_(unwrap_jso(this), when); | 1318 void noteOff(num when) => _blink.BlinkOscillatorNode.instance.noteOff_Callback
_1_(unwrap_jso(this), when); |
| 1002 | 1319 |
| 1003 @DomName('OscillatorNode.noteOn') | 1320 @DomName('OscillatorNode.noteOn') |
| 1004 @DocsEditable() | 1321 @DocsEditable() |
| 1005 void noteOn(num when) => _blink.BlinkOscillatorNode.instance.noteOn_Callback_1
_(unwrap_jso(this), when); | 1322 void noteOn(num when) => _blink.BlinkOscillatorNode.instance.noteOn_Callback_1
_(unwrap_jso(this), when); |
| 1006 | 1323 |
| 1007 @DomName('OscillatorNode.setPeriodicWave') | 1324 @DomName('OscillatorNode.setPeriodicWave') |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1042 | 1359 |
| 1043 | 1360 |
| 1044 @DocsEditable() | 1361 @DocsEditable() |
| 1045 @DomName('PannerNode') | 1362 @DomName('PannerNode') |
| 1046 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#PannerN
ode | 1363 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#PannerN
ode |
| 1047 @Experimental() | 1364 @Experimental() |
| 1048 class PannerNode extends AudioNode { | 1365 class PannerNode extends AudioNode { |
| 1049 // To suppress missing implicit constructor warnings. | 1366 // To suppress missing implicit constructor warnings. |
| 1050 factory PannerNode._() { throw new UnsupportedError("Not supported"); } | 1367 factory PannerNode._() { throw new UnsupportedError("Not supported"); } |
| 1051 | 1368 |
| 1369 |
| 1370 static PannerNode internalCreatePannerNode() { |
| 1371 return new PannerNode._internalWrap(); |
| 1372 } |
| 1373 |
| 1374 factory PannerNode._internalWrap() { |
| 1375 return new PannerNode.internal_(); |
| 1376 } |
| 1377 |
| 1378 PannerNode.internal_() : super.internal_(); |
| 1379 |
| 1380 |
| 1052 @DomName('PannerNode.coneInnerAngle') | 1381 @DomName('PannerNode.coneInnerAngle') |
| 1053 @DocsEditable() | 1382 @DocsEditable() |
| 1054 num get coneInnerAngle => _blink.BlinkPannerNode.instance.coneInnerAngle_Gette
r_(unwrap_jso(this)); | 1383 num get coneInnerAngle => _blink.BlinkPannerNode.instance.coneInnerAngle_Gette
r_(unwrap_jso(this)); |
| 1055 | 1384 |
| 1056 @DomName('PannerNode.coneInnerAngle') | 1385 @DomName('PannerNode.coneInnerAngle') |
| 1057 @DocsEditable() | 1386 @DocsEditable() |
| 1058 void set coneInnerAngle(num value) => _blink.BlinkPannerNode.instance.coneInne
rAngle_Setter_(unwrap_jso(this), value); | 1387 set coneInnerAngle(num value) => _blink.BlinkPannerNode.instance.coneInnerAngl
e_Setter_(unwrap_jso(this), value); |
| 1059 | 1388 |
| 1060 @DomName('PannerNode.coneOuterAngle') | 1389 @DomName('PannerNode.coneOuterAngle') |
| 1061 @DocsEditable() | 1390 @DocsEditable() |
| 1062 num get coneOuterAngle => _blink.BlinkPannerNode.instance.coneOuterAngle_Gette
r_(unwrap_jso(this)); | 1391 num get coneOuterAngle => _blink.BlinkPannerNode.instance.coneOuterAngle_Gette
r_(unwrap_jso(this)); |
| 1063 | 1392 |
| 1064 @DomName('PannerNode.coneOuterAngle') | 1393 @DomName('PannerNode.coneOuterAngle') |
| 1065 @DocsEditable() | 1394 @DocsEditable() |
| 1066 void set coneOuterAngle(num value) => _blink.BlinkPannerNode.instance.coneOute
rAngle_Setter_(unwrap_jso(this), value); | 1395 set coneOuterAngle(num value) => _blink.BlinkPannerNode.instance.coneOuterAngl
e_Setter_(unwrap_jso(this), value); |
| 1067 | 1396 |
| 1068 @DomName('PannerNode.coneOuterGain') | 1397 @DomName('PannerNode.coneOuterGain') |
| 1069 @DocsEditable() | 1398 @DocsEditable() |
| 1070 num get coneOuterGain => _blink.BlinkPannerNode.instance.coneOuterGain_Getter_
(unwrap_jso(this)); | 1399 num get coneOuterGain => _blink.BlinkPannerNode.instance.coneOuterGain_Getter_
(unwrap_jso(this)); |
| 1071 | 1400 |
| 1072 @DomName('PannerNode.coneOuterGain') | 1401 @DomName('PannerNode.coneOuterGain') |
| 1073 @DocsEditable() | 1402 @DocsEditable() |
| 1074 void set coneOuterGain(num value) => _blink.BlinkPannerNode.instance.coneOuter
Gain_Setter_(unwrap_jso(this), value); | 1403 set coneOuterGain(num value) => _blink.BlinkPannerNode.instance.coneOuterGain_
Setter_(unwrap_jso(this), value); |
| 1075 | 1404 |
| 1076 @DomName('PannerNode.distanceModel') | 1405 @DomName('PannerNode.distanceModel') |
| 1077 @DocsEditable() | 1406 @DocsEditable() |
| 1078 String get distanceModel => _blink.BlinkPannerNode.instance.distanceModel_Gett
er_(unwrap_jso(this)); | 1407 String get distanceModel => _blink.BlinkPannerNode.instance.distanceModel_Gett
er_(unwrap_jso(this)); |
| 1079 | 1408 |
| 1080 @DomName('PannerNode.distanceModel') | 1409 @DomName('PannerNode.distanceModel') |
| 1081 @DocsEditable() | 1410 @DocsEditable() |
| 1082 void set distanceModel(String value) => _blink.BlinkPannerNode.instance.distan
ceModel_Setter_(unwrap_jso(this), value); | 1411 set distanceModel(String value) => _blink.BlinkPannerNode.instance.distanceMod
el_Setter_(unwrap_jso(this), value); |
| 1083 | 1412 |
| 1084 @DomName('PannerNode.maxDistance') | 1413 @DomName('PannerNode.maxDistance') |
| 1085 @DocsEditable() | 1414 @DocsEditable() |
| 1086 num get maxDistance => _blink.BlinkPannerNode.instance.maxDistance_Getter_(unw
rap_jso(this)); | 1415 num get maxDistance => _blink.BlinkPannerNode.instance.maxDistance_Getter_(unw
rap_jso(this)); |
| 1087 | 1416 |
| 1088 @DomName('PannerNode.maxDistance') | 1417 @DomName('PannerNode.maxDistance') |
| 1089 @DocsEditable() | 1418 @DocsEditable() |
| 1090 void set maxDistance(num value) => _blink.BlinkPannerNode.instance.maxDistance
_Setter_(unwrap_jso(this), value); | 1419 set maxDistance(num value) => _blink.BlinkPannerNode.instance.maxDistance_Sett
er_(unwrap_jso(this), value); |
| 1091 | 1420 |
| 1092 @DomName('PannerNode.panningModel') | 1421 @DomName('PannerNode.panningModel') |
| 1093 @DocsEditable() | 1422 @DocsEditable() |
| 1094 String get panningModel => _blink.BlinkPannerNode.instance.panningModel_Getter
_(unwrap_jso(this)); | 1423 String get panningModel => _blink.BlinkPannerNode.instance.panningModel_Getter
_(unwrap_jso(this)); |
| 1095 | 1424 |
| 1096 @DomName('PannerNode.panningModel') | 1425 @DomName('PannerNode.panningModel') |
| 1097 @DocsEditable() | 1426 @DocsEditable() |
| 1098 void set panningModel(String value) => _blink.BlinkPannerNode.instance.panning
Model_Setter_(unwrap_jso(this), value); | 1427 set panningModel(String value) => _blink.BlinkPannerNode.instance.panningModel
_Setter_(unwrap_jso(this), value); |
| 1099 | 1428 |
| 1100 @DomName('PannerNode.refDistance') | 1429 @DomName('PannerNode.refDistance') |
| 1101 @DocsEditable() | 1430 @DocsEditable() |
| 1102 num get refDistance => _blink.BlinkPannerNode.instance.refDistance_Getter_(unw
rap_jso(this)); | 1431 num get refDistance => _blink.BlinkPannerNode.instance.refDistance_Getter_(unw
rap_jso(this)); |
| 1103 | 1432 |
| 1104 @DomName('PannerNode.refDistance') | 1433 @DomName('PannerNode.refDistance') |
| 1105 @DocsEditable() | 1434 @DocsEditable() |
| 1106 void set refDistance(num value) => _blink.BlinkPannerNode.instance.refDistance
_Setter_(unwrap_jso(this), value); | 1435 set refDistance(num value) => _blink.BlinkPannerNode.instance.refDistance_Sett
er_(unwrap_jso(this), value); |
| 1107 | 1436 |
| 1108 @DomName('PannerNode.rolloffFactor') | 1437 @DomName('PannerNode.rolloffFactor') |
| 1109 @DocsEditable() | 1438 @DocsEditable() |
| 1110 num get rolloffFactor => _blink.BlinkPannerNode.instance.rolloffFactor_Getter_
(unwrap_jso(this)); | 1439 num get rolloffFactor => _blink.BlinkPannerNode.instance.rolloffFactor_Getter_
(unwrap_jso(this)); |
| 1111 | 1440 |
| 1112 @DomName('PannerNode.rolloffFactor') | 1441 @DomName('PannerNode.rolloffFactor') |
| 1113 @DocsEditable() | 1442 @DocsEditable() |
| 1114 void set rolloffFactor(num value) => _blink.BlinkPannerNode.instance.rolloffFa
ctor_Setter_(unwrap_jso(this), value); | 1443 set rolloffFactor(num value) => _blink.BlinkPannerNode.instance.rolloffFactor_
Setter_(unwrap_jso(this), value); |
| 1115 | 1444 |
| 1116 @DomName('PannerNode.setOrientation') | 1445 @DomName('PannerNode.setOrientation') |
| 1117 @DocsEditable() | 1446 @DocsEditable() |
| 1118 void setOrientation(num x, num y, num z) => _blink.BlinkPannerNode.instance.se
tOrientation_Callback_3_(unwrap_jso(this), x, y, z); | 1447 void setOrientation(num x, num y, num z) => _blink.BlinkPannerNode.instance.se
tOrientation_Callback_3_(unwrap_jso(this), x, y, z); |
| 1119 | 1448 |
| 1120 @DomName('PannerNode.setPosition') | 1449 @DomName('PannerNode.setPosition') |
| 1121 @DocsEditable() | 1450 @DocsEditable() |
| 1122 void setPosition(num x, num y, num z) => _blink.BlinkPannerNode.instance.setPo
sition_Callback_3_(unwrap_jso(this), x, y, z); | 1451 void setPosition(num x, num y, num z) => _blink.BlinkPannerNode.instance.setPo
sition_Callback_3_(unwrap_jso(this), x, y, z); |
| 1123 | 1452 |
| 1124 @DomName('PannerNode.setVelocity') | 1453 @DomName('PannerNode.setVelocity') |
| 1125 @DocsEditable() | 1454 @DocsEditable() |
| 1126 void setVelocity(num x, num y, num z) => _blink.BlinkPannerNode.instance.setVe
locity_Callback_3_(unwrap_jso(this), x, y, z); | 1455 void setVelocity(num x, num y, num z) => _blink.BlinkPannerNode.instance.setVe
locity_Callback_3_(unwrap_jso(this), x, y, z); |
| 1127 | 1456 |
| 1128 } | 1457 } |
| 1129 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1458 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1130 // for details. All rights reserved. Use of this source code is governed by a | 1459 // for details. All rights reserved. Use of this source code is governed by a |
| 1131 // BSD-style license that can be found in the LICENSE file. | 1460 // BSD-style license that can be found in the LICENSE file. |
| 1132 | 1461 |
| 1133 // WARNING: Do not edit - generated code. | 1462 // WARNING: Do not edit - generated code. |
| 1134 | 1463 |
| 1135 | 1464 |
| 1136 @DocsEditable() | 1465 @DocsEditable() |
| 1137 @DomName('PeriodicWave') | 1466 @DomName('PeriodicWave') |
| 1138 @Experimental() // untriaged | 1467 @Experimental() // untriaged |
| 1139 class PeriodicWave extends NativeFieldWrapperClass2 { | 1468 class PeriodicWave extends NativeFieldWrapperClass2 { |
| 1140 // To suppress missing implicit constructor warnings. | 1469 // To suppress missing implicit constructor warnings. |
| 1141 factory PeriodicWave._() { throw new UnsupportedError("Not supported"); } | 1470 factory PeriodicWave._() { throw new UnsupportedError("Not supported"); } |
| 1142 | 1471 |
| 1472 static PeriodicWave internalCreatePeriodicWave() { |
| 1473 return new PeriodicWave._internalWrap(); |
| 1474 } |
| 1475 |
| 1476 js.JsObject blink_jsObject; |
| 1477 |
| 1478 factory PeriodicWave._internalWrap() { |
| 1479 return new PeriodicWave.internal_(); |
| 1480 } |
| 1481 |
| 1482 PeriodicWave.internal_() { } |
| 1483 |
| 1484 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 1485 int get hashCode => unwrap_jso(this).hashCode; |
| 1486 |
| 1143 } | 1487 } |
| 1144 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1488 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1145 // for details. All rights reserved. Use of this source code is governed by a | 1489 // for details. All rights reserved. Use of this source code is governed by a |
| 1146 // BSD-style license that can be found in the LICENSE file. | 1490 // BSD-style license that can be found in the LICENSE file. |
| 1147 | 1491 |
| 1148 // WARNING: Do not edit - generated code. | 1492 // WARNING: Do not edit - generated code. |
| 1149 | 1493 |
| 1150 | 1494 |
| 1151 @DocsEditable() | 1495 @DocsEditable() |
| 1152 @DomName('ScriptProcessorNode') | 1496 @DomName('ScriptProcessorNode') |
| 1153 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#ScriptP
rocessorNode | 1497 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#ScriptP
rocessorNode |
| 1154 @Experimental() | 1498 @Experimental() |
| 1155 class ScriptProcessorNode extends AudioNode { | 1499 class ScriptProcessorNode extends AudioNode { |
| 1156 // To suppress missing implicit constructor warnings. | 1500 // To suppress missing implicit constructor warnings. |
| 1157 factory ScriptProcessorNode._() { throw new UnsupportedError("Not supported");
} | 1501 factory ScriptProcessorNode._() { throw new UnsupportedError("Not supported");
} |
| 1158 | 1502 |
| 1159 /** | 1503 /** |
| 1160 * Static factory designed to expose `audioprocess` events to event | 1504 * Static factory designed to expose `audioprocess` events to event |
| 1161 * handlers that are not necessarily instances of [ScriptProcessorNode]. | 1505 * handlers that are not necessarily instances of [ScriptProcessorNode]. |
| 1162 * | 1506 * |
| 1163 * See [EventStreamProvider] for usage information. | 1507 * See [EventStreamProvider] for usage information. |
| 1164 */ | 1508 */ |
| 1165 @DomName('ScriptProcessorNode.audioprocessEvent') | 1509 @DomName('ScriptProcessorNode.audioprocessEvent') |
| 1166 @DocsEditable() | 1510 @DocsEditable() |
| 1167 @Experimental() // untriaged | 1511 @Experimental() // untriaged |
| 1168 static const EventStreamProvider<AudioProcessingEvent> audioProcessEvent = con
st EventStreamProvider<AudioProcessingEvent>('audioprocess'); | 1512 static const EventStreamProvider<AudioProcessingEvent> audioProcessEvent = con
st EventStreamProvider<AudioProcessingEvent>('audioprocess'); |
| 1169 | 1513 |
| 1514 |
| 1515 static ScriptProcessorNode internalCreateScriptProcessorNode() { |
| 1516 return new ScriptProcessorNode._internalWrap(); |
| 1517 } |
| 1518 |
| 1519 factory ScriptProcessorNode._internalWrap() { |
| 1520 return new ScriptProcessorNode.internal_(); |
| 1521 } |
| 1522 |
| 1523 ScriptProcessorNode.internal_() : super.internal_(); |
| 1524 |
| 1525 |
| 1170 @DomName('ScriptProcessorNode.bufferSize') | 1526 @DomName('ScriptProcessorNode.bufferSize') |
| 1171 @DocsEditable() | 1527 @DocsEditable() |
| 1172 int get bufferSize => _blink.BlinkScriptProcessorNode.instance.bufferSize_Gett
er_(unwrap_jso(this)); | 1528 int get bufferSize => _blink.BlinkScriptProcessorNode.instance.bufferSize_Gett
er_(unwrap_jso(this)); |
| 1173 | 1529 |
| 1174 @DomName('ScriptProcessorNode.setEventListener') | 1530 @DomName('ScriptProcessorNode.setEventListener') |
| 1175 @DocsEditable() | 1531 @DocsEditable() |
| 1176 @Experimental() // untriaged | 1532 @Experimental() // untriaged |
| 1177 void setEventListener(EventListener eventListener) => _blink.BlinkScriptProces
sorNode.instance.setEventListener_Callback_1_(unwrap_jso(this), unwrap_jso(event
Listener)); | 1533 void setEventListener(EventListener eventListener) => _blink.BlinkScriptProces
sorNode.instance.setEventListener_Callback_1_(unwrap_jso(this), unwrap_jso((even
t) => eventListener(wrap_jso(event)))); |
| 1178 | 1534 |
| 1179 /// Stream of `audioprocess` events handled by this [ScriptProcessorNode]. | 1535 /// Stream of `audioprocess` events handled by this [ScriptProcessorNode]. |
| 1180 /** | 1536 /** |
| 1181 * Get a Stream that fires events when AudioProcessingEvents occur. | 1537 * Get a Stream that fires events when AudioProcessingEvents occur. |
| 1182 * This particular stream is special in that it only allows one listener to a | 1538 * This particular stream is special in that it only allows one listener to a |
| 1183 * given stream. Converting the returned Stream [asBroadcast] will likely ruin | 1539 * given stream. Converting the returned Stream [asBroadcast] will likely ruin |
| 1184 * the soft-real-time properties which which these events are fired and can | 1540 * the soft-real-time properties which which these events are fired and can |
| 1185 * be processed. | 1541 * be processed. |
| 1186 */ | 1542 */ |
| 1187 @DomName('ScriptProcessorNode.onaudioprocess') | 1543 @DomName('ScriptProcessorNode.onaudioprocess') |
| (...skipping 10 matching lines...) Expand all Loading... |
| 1198 | 1554 |
| 1199 | 1555 |
| 1200 @DocsEditable() | 1556 @DocsEditable() |
| 1201 @DomName('WaveShaperNode') | 1557 @DomName('WaveShaperNode') |
| 1202 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#dfn-Wav
eShaperNode | 1558 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#dfn-Wav
eShaperNode |
| 1203 @Experimental() | 1559 @Experimental() |
| 1204 class WaveShaperNode extends AudioNode { | 1560 class WaveShaperNode extends AudioNode { |
| 1205 // To suppress missing implicit constructor warnings. | 1561 // To suppress missing implicit constructor warnings. |
| 1206 factory WaveShaperNode._() { throw new UnsupportedError("Not supported"); } | 1562 factory WaveShaperNode._() { throw new UnsupportedError("Not supported"); } |
| 1207 | 1563 |
| 1564 |
| 1565 static WaveShaperNode internalCreateWaveShaperNode() { |
| 1566 return new WaveShaperNode._internalWrap(); |
| 1567 } |
| 1568 |
| 1569 factory WaveShaperNode._internalWrap() { |
| 1570 return new WaveShaperNode.internal_(); |
| 1571 } |
| 1572 |
| 1573 WaveShaperNode.internal_() : super.internal_(); |
| 1574 |
| 1575 |
| 1208 @DomName('WaveShaperNode.curve') | 1576 @DomName('WaveShaperNode.curve') |
| 1209 @DocsEditable() | 1577 @DocsEditable() |
| 1210 Float32List get curve => wrap_jso(_blink.BlinkWaveShaperNode.instance.curve_Ge
tter_(unwrap_jso(this))); | 1578 Float32List get curve => _blink.BlinkWaveShaperNode.instance.curve_Getter_(unw
rap_jso(this)); |
| 1211 | 1579 |
| 1212 @DomName('WaveShaperNode.curve') | 1580 @DomName('WaveShaperNode.curve') |
| 1213 @DocsEditable() | 1581 @DocsEditable() |
| 1214 void set curve(Float32List value) => _blink.BlinkWaveShaperNode.instance.curve
_Setter_(unwrap_jso(this), unwrap_jso(value)); | 1582 set curve(Float32List value) => _blink.BlinkWaveShaperNode.instance.curve_Sett
er_(unwrap_jso(this), unwrap_jso(value)); |
| 1215 | 1583 |
| 1216 @DomName('WaveShaperNode.oversample') | 1584 @DomName('WaveShaperNode.oversample') |
| 1217 @DocsEditable() | 1585 @DocsEditable() |
| 1218 String get oversample => _blink.BlinkWaveShaperNode.instance.oversample_Getter
_(unwrap_jso(this)); | 1586 String get oversample => _blink.BlinkWaveShaperNode.instance.oversample_Getter
_(unwrap_jso(this)); |
| 1219 | 1587 |
| 1220 @DomName('WaveShaperNode.oversample') | 1588 @DomName('WaveShaperNode.oversample') |
| 1221 @DocsEditable() | 1589 @DocsEditable() |
| 1222 void set oversample(String value) => _blink.BlinkWaveShaperNode.instance.overs
ample_Setter_(unwrap_jso(this), value); | 1590 set oversample(String value) => _blink.BlinkWaveShaperNode.instance.oversample
_Setter_(unwrap_jso(this), value); |
| 1223 | 1591 |
| 1224 } | 1592 } |
| OLD | NEW |