| 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'; | 8 import 'dart:_internal'; |
| 9 import 'dart:html'; | 9 import 'dart:html'; |
| 10 import 'dart:html_common'; | 10 import 'dart:html_common'; |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 } | 107 } |
| 108 | 108 |
| 109 external factory AnalyserNode._internalWrap(); | 109 external factory AnalyserNode._internalWrap(); |
| 110 | 110 |
| 111 @Deprecated("Internal Use Only") | 111 @Deprecated("Internal Use Only") |
| 112 AnalyserNode.internal_() : super.internal_(); | 112 AnalyserNode.internal_() : super.internal_(); |
| 113 | 113 |
| 114 | 114 |
| 115 @DomName('AnalyserNode.fftSize') | 115 @DomName('AnalyserNode.fftSize') |
| 116 @DocsEditable() | 116 @DocsEditable() |
| 117 int get fftSize => _blink.BlinkAnalyserNode.instance.fftSize_Getter_(unwrap_js
o(this)); | 117 int get fftSize => _blink.BlinkAnalyserNode.instance.fftSize_Getter_(this); |
| 118 | 118 |
| 119 @DomName('AnalyserNode.fftSize') | 119 @DomName('AnalyserNode.fftSize') |
| 120 @DocsEditable() | 120 @DocsEditable() |
| 121 set fftSize(int value) => _blink.BlinkAnalyserNode.instance.fftSize_Setter_(un
wrap_jso(this), value); | 121 set fftSize(int value) => _blink.BlinkAnalyserNode.instance.fftSize_Setter_(th
is, value); |
| 122 | 122 |
| 123 @DomName('AnalyserNode.frequencyBinCount') | 123 @DomName('AnalyserNode.frequencyBinCount') |
| 124 @DocsEditable() | 124 @DocsEditable() |
| 125 int get frequencyBinCount => _blink.BlinkAnalyserNode.instance.frequencyBinCou
nt_Getter_(unwrap_jso(this)); | 125 int get frequencyBinCount => _blink.BlinkAnalyserNode.instance.frequencyBinCou
nt_Getter_(this); |
| 126 | 126 |
| 127 @DomName('AnalyserNode.maxDecibels') | 127 @DomName('AnalyserNode.maxDecibels') |
| 128 @DocsEditable() | 128 @DocsEditable() |
| 129 num get maxDecibels => _blink.BlinkAnalyserNode.instance.maxDecibels_Getter_(u
nwrap_jso(this)); | 129 num get maxDecibels => _blink.BlinkAnalyserNode.instance.maxDecibels_Getter_(t
his); |
| 130 | 130 |
| 131 @DomName('AnalyserNode.maxDecibels') | 131 @DomName('AnalyserNode.maxDecibels') |
| 132 @DocsEditable() | 132 @DocsEditable() |
| 133 set maxDecibels(num value) => _blink.BlinkAnalyserNode.instance.maxDecibels_Se
tter_(unwrap_jso(this), value); | 133 set maxDecibels(num value) => _blink.BlinkAnalyserNode.instance.maxDecibels_Se
tter_(this, value); |
| 134 | 134 |
| 135 @DomName('AnalyserNode.minDecibels') | 135 @DomName('AnalyserNode.minDecibels') |
| 136 @DocsEditable() | 136 @DocsEditable() |
| 137 num get minDecibels => _blink.BlinkAnalyserNode.instance.minDecibels_Getter_(u
nwrap_jso(this)); | 137 num get minDecibels => _blink.BlinkAnalyserNode.instance.minDecibels_Getter_(t
his); |
| 138 | 138 |
| 139 @DomName('AnalyserNode.minDecibels') | 139 @DomName('AnalyserNode.minDecibels') |
| 140 @DocsEditable() | 140 @DocsEditable() |
| 141 set minDecibels(num value) => _blink.BlinkAnalyserNode.instance.minDecibels_Se
tter_(unwrap_jso(this), value); | 141 set minDecibels(num value) => _blink.BlinkAnalyserNode.instance.minDecibels_Se
tter_(this, value); |
| 142 | 142 |
| 143 @DomName('AnalyserNode.smoothingTimeConstant') | 143 @DomName('AnalyserNode.smoothingTimeConstant') |
| 144 @DocsEditable() | 144 @DocsEditable() |
| 145 num get smoothingTimeConstant => _blink.BlinkAnalyserNode.instance.smoothingTi
meConstant_Getter_(unwrap_jso(this)); | 145 num get smoothingTimeConstant => _blink.BlinkAnalyserNode.instance.smoothingTi
meConstant_Getter_(this); |
| 146 | 146 |
| 147 @DomName('AnalyserNode.smoothingTimeConstant') | 147 @DomName('AnalyserNode.smoothingTimeConstant') |
| 148 @DocsEditable() | 148 @DocsEditable() |
| 149 set smoothingTimeConstant(num value) => _blink.BlinkAnalyserNode.instance.smoo
thingTimeConstant_Setter_(unwrap_jso(this), value); | 149 set smoothingTimeConstant(num value) => _blink.BlinkAnalyserNode.instance.smoo
thingTimeConstant_Setter_(this, value); |
| 150 | 150 |
| 151 @DomName('AnalyserNode.getByteFrequencyData') | 151 @DomName('AnalyserNode.getByteFrequencyData') |
| 152 @DocsEditable() | 152 @DocsEditable() |
| 153 void getByteFrequencyData(Uint8List array) => _blink.BlinkAnalyserNode.instanc
e.getByteFrequencyData_Callback_1_(unwrap_jso(this), unwrap_jso(array)); | 153 void getByteFrequencyData(Uint8List array) => _blink.BlinkAnalyserNode.instanc
e.getByteFrequencyData_Callback_1_(this, array); |
| 154 | 154 |
| 155 @DomName('AnalyserNode.getByteTimeDomainData') | 155 @DomName('AnalyserNode.getByteTimeDomainData') |
| 156 @DocsEditable() | 156 @DocsEditable() |
| 157 void getByteTimeDomainData(Uint8List array) => _blink.BlinkAnalyserNode.instan
ce.getByteTimeDomainData_Callback_1_(unwrap_jso(this), unwrap_jso(array)); | 157 void getByteTimeDomainData(Uint8List array) => _blink.BlinkAnalyserNode.instan
ce.getByteTimeDomainData_Callback_1_(this, array); |
| 158 | 158 |
| 159 @DomName('AnalyserNode.getFloatFrequencyData') | 159 @DomName('AnalyserNode.getFloatFrequencyData') |
| 160 @DocsEditable() | 160 @DocsEditable() |
| 161 void getFloatFrequencyData(Float32List array) => _blink.BlinkAnalyserNode.inst
ance.getFloatFrequencyData_Callback_1_(unwrap_jso(this), unwrap_jso(array)); | 161 void getFloatFrequencyData(Float32List array) => _blink.BlinkAnalyserNode.inst
ance.getFloatFrequencyData_Callback_1_(this, array); |
| 162 | 162 |
| 163 @DomName('AnalyserNode.getFloatTimeDomainData') | 163 @DomName('AnalyserNode.getFloatTimeDomainData') |
| 164 @DocsEditable() | 164 @DocsEditable() |
| 165 @Experimental() // untriaged | 165 @Experimental() // untriaged |
| 166 void getFloatTimeDomainData(Float32List array) => _blink.BlinkAnalyserNode.ins
tance.getFloatTimeDomainData_Callback_1_(unwrap_jso(this), unwrap_jso(array)); | 166 void getFloatTimeDomainData(Float32List array) => _blink.BlinkAnalyserNode.ins
tance.getFloatTimeDomainData_Callback_1_(this, array); |
| 167 | 167 |
| 168 } | 168 } |
| 169 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 169 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 170 // for details. All rights reserved. Use of this source code is governed by a | 170 // for details. All rights reserved. Use of this source code is governed by a |
| 171 // BSD-style license that can be found in the LICENSE file. | 171 // BSD-style license that can be found in the LICENSE file. |
| 172 | 172 |
| 173 // WARNING: Do not edit - generated code. | 173 // WARNING: Do not edit - generated code. |
| 174 | 174 |
| 175 | 175 |
| 176 @DocsEditable() | 176 @DocsEditable() |
| 177 @DomName('AudioBuffer') | 177 @DomName('AudioBuffer') |
| 178 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBu
ffer-section | 178 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBu
ffer-section |
| 179 @Experimental() | 179 @Experimental() |
| 180 class AudioBuffer extends DartHtmlDomObject { | 180 class AudioBuffer extends DartHtmlDomObject { |
| 181 // To suppress missing implicit constructor warnings. | 181 // To suppress missing implicit constructor warnings. |
| 182 factory AudioBuffer._() { throw new UnsupportedError("Not supported"); } | 182 factory AudioBuffer._() { throw new UnsupportedError("Not supported"); } |
| 183 | 183 |
| 184 @Deprecated("Internal Use Only") | 184 @Deprecated("Internal Use Only") |
| 185 static AudioBuffer internalCreateAudioBuffer() { | 185 static AudioBuffer internalCreateAudioBuffer() { |
| 186 return new AudioBuffer._internalWrap(); | 186 return new AudioBuffer._internalWrap(); |
| 187 } | 187 } |
| 188 | 188 |
| 189 factory AudioBuffer._internalWrap() { | 189 factory AudioBuffer._internalWrap() { |
| 190 return new AudioBuffer.internal_(); | 190 return new AudioBuffer.internal_(); |
| 191 } | 191 } |
| 192 | 192 |
| 193 @Deprecated("Internal Use Only") | 193 @Deprecated("Internal Use Only") |
| 194 AudioBuffer.internal_() { } | 194 AudioBuffer.internal_() { } |
| 195 | 195 |
| 196 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | |
| 197 int get hashCode => unwrap_jso(this).hashCode; | |
| 198 | |
| 199 @DomName('AudioBuffer.duration') | 196 @DomName('AudioBuffer.duration') |
| 200 @DocsEditable() | 197 @DocsEditable() |
| 201 num get duration => _blink.BlinkAudioBuffer.instance.duration_Getter_(unwrap_j
so(this)); | 198 num get duration => _blink.BlinkAudioBuffer.instance.duration_Getter_(this); |
| 202 | 199 |
| 203 @DomName('AudioBuffer.length') | 200 @DomName('AudioBuffer.length') |
| 204 @DocsEditable() | 201 @DocsEditable() |
| 205 int get length => _blink.BlinkAudioBuffer.instance.length_Getter_(unwrap_jso(t
his)); | 202 int get length => _blink.BlinkAudioBuffer.instance.length_Getter_(this); |
| 206 | 203 |
| 207 @DomName('AudioBuffer.numberOfChannels') | 204 @DomName('AudioBuffer.numberOfChannels') |
| 208 @DocsEditable() | 205 @DocsEditable() |
| 209 int get numberOfChannels => _blink.BlinkAudioBuffer.instance.numberOfChannels_
Getter_(unwrap_jso(this)); | 206 int get numberOfChannels => _blink.BlinkAudioBuffer.instance.numberOfChannels_
Getter_(this); |
| 210 | 207 |
| 211 @DomName('AudioBuffer.sampleRate') | 208 @DomName('AudioBuffer.sampleRate') |
| 212 @DocsEditable() | 209 @DocsEditable() |
| 213 num get sampleRate => _blink.BlinkAudioBuffer.instance.sampleRate_Getter_(unwr
ap_jso(this)); | 210 num get sampleRate => _blink.BlinkAudioBuffer.instance.sampleRate_Getter_(this
); |
| 214 | 211 |
| 215 void copyFromChannel(Float32List destination, int channelNumber, [int startInC
hannel]) { | 212 void copyFromChannel(Float32List destination, int channelNumber, [int startInC
hannel]) { |
| 216 if (startInChannel != null) { | 213 if (startInChannel != null) { |
| 217 _blink.BlinkAudioBuffer.instance.copyFromChannel_Callback_3_(unwrap_jso(th
is), unwrap_jso(destination), channelNumber, startInChannel); | 214 _blink.BlinkAudioBuffer.instance.copyFromChannel_Callback_3_(this, destina
tion, channelNumber, startInChannel); |
| 218 return; | 215 return; |
| 219 } | 216 } |
| 220 _blink.BlinkAudioBuffer.instance.copyFromChannel_Callback_2_(unwrap_jso(this
), unwrap_jso(destination), channelNumber); | 217 _blink.BlinkAudioBuffer.instance.copyFromChannel_Callback_2_(this, destinati
on, channelNumber); |
| 221 return; | 218 return; |
| 222 } | 219 } |
| 223 | 220 |
| 224 void copyToChannel(Float32List source, int channelNumber, [int startInChannel]
) { | 221 void copyToChannel(Float32List source, int channelNumber, [int startInChannel]
) { |
| 225 if (startInChannel != null) { | 222 if (startInChannel != null) { |
| 226 _blink.BlinkAudioBuffer.instance.copyToChannel_Callback_3_(unwrap_jso(this
), unwrap_jso(source), channelNumber, startInChannel); | 223 _blink.BlinkAudioBuffer.instance.copyToChannel_Callback_3_(this, source, c
hannelNumber, startInChannel); |
| 227 return; | 224 return; |
| 228 } | 225 } |
| 229 _blink.BlinkAudioBuffer.instance.copyToChannel_Callback_2_(unwrap_jso(this),
unwrap_jso(source), channelNumber); | 226 _blink.BlinkAudioBuffer.instance.copyToChannel_Callback_2_(this, source, cha
nnelNumber); |
| 230 return; | 227 return; |
| 231 } | 228 } |
| 232 | 229 |
| 233 @DomName('AudioBuffer.getChannelData') | 230 @DomName('AudioBuffer.getChannelData') |
| 234 @DocsEditable() | 231 @DocsEditable() |
| 235 Float32List getChannelData(int channelIndex) => wrap_jso(_blink.BlinkAudioBuff
er.instance.getChannelData_Callback_1_(unwrap_jso(this), channelIndex)); | 232 Float32List getChannelData(int channelIndex) => _blink.BlinkAudioBuffer.instan
ce.getChannelData_Callback_1_(this, channelIndex); |
| 236 | 233 |
| 237 } | 234 } |
| 238 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 235 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 239 // for details. All rights reserved. Use of this source code is governed by a | 236 // for details. All rights reserved. Use of this source code is governed by a |
| 240 // BSD-style license that can be found in the LICENSE file. | 237 // BSD-style license that can be found in the LICENSE file. |
| 241 | 238 |
| 242 // WARNING: Do not edit - generated code. | 239 // WARNING: Do not edit - generated code. |
| 243 | 240 |
| 244 | 241 |
| 245 @DomName('AudioBufferCallback') | 242 @DomName('AudioBufferCallback') |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 281 } | 278 } |
| 282 | 279 |
| 283 external factory AudioBufferSourceNode._internalWrap(); | 280 external factory AudioBufferSourceNode._internalWrap(); |
| 284 | 281 |
| 285 @Deprecated("Internal Use Only") | 282 @Deprecated("Internal Use Only") |
| 286 AudioBufferSourceNode.internal_() : super.internal_(); | 283 AudioBufferSourceNode.internal_() : super.internal_(); |
| 287 | 284 |
| 288 | 285 |
| 289 @DomName('AudioBufferSourceNode.buffer') | 286 @DomName('AudioBufferSourceNode.buffer') |
| 290 @DocsEditable() | 287 @DocsEditable() |
| 291 AudioBuffer get buffer => wrap_jso(_blink.BlinkAudioBufferSourceNode.instance.
buffer_Getter_(unwrap_jso(this))); | 288 AudioBuffer get buffer => _blink.BlinkAudioBufferSourceNode.instance.buffer_Ge
tter_(this); |
| 292 | 289 |
| 293 @DomName('AudioBufferSourceNode.buffer') | 290 @DomName('AudioBufferSourceNode.buffer') |
| 294 @DocsEditable() | 291 @DocsEditable() |
| 295 set buffer(AudioBuffer value) => _blink.BlinkAudioBufferSourceNode.instance.bu
ffer_Setter_(unwrap_jso(this), unwrap_jso(value)); | 292 set buffer(AudioBuffer value) => _blink.BlinkAudioBufferSourceNode.instance.bu
ffer_Setter_(this, value); |
| 296 | 293 |
| 297 @DomName('AudioBufferSourceNode.detune') | 294 @DomName('AudioBufferSourceNode.detune') |
| 298 @DocsEditable() | 295 @DocsEditable() |
| 299 @Experimental() // untriaged | 296 @Experimental() // untriaged |
| 300 AudioParam get detune => wrap_jso(_blink.BlinkAudioBufferSourceNode.instance.d
etune_Getter_(unwrap_jso(this))); | 297 AudioParam get detune => _blink.BlinkAudioBufferSourceNode.instance.detune_Get
ter_(this); |
| 301 | 298 |
| 302 @DomName('AudioBufferSourceNode.loop') | 299 @DomName('AudioBufferSourceNode.loop') |
| 303 @DocsEditable() | 300 @DocsEditable() |
| 304 bool get loop => _blink.BlinkAudioBufferSourceNode.instance.loop_Getter_(unwra
p_jso(this)); | 301 bool get loop => _blink.BlinkAudioBufferSourceNode.instance.loop_Getter_(this)
; |
| 305 | 302 |
| 306 @DomName('AudioBufferSourceNode.loop') | 303 @DomName('AudioBufferSourceNode.loop') |
| 307 @DocsEditable() | 304 @DocsEditable() |
| 308 set loop(bool value) => _blink.BlinkAudioBufferSourceNode.instance.loop_Setter
_(unwrap_jso(this), value); | 305 set loop(bool value) => _blink.BlinkAudioBufferSourceNode.instance.loop_Setter
_(this, value); |
| 309 | 306 |
| 310 @DomName('AudioBufferSourceNode.loopEnd') | 307 @DomName('AudioBufferSourceNode.loopEnd') |
| 311 @DocsEditable() | 308 @DocsEditable() |
| 312 num get loopEnd => _blink.BlinkAudioBufferSourceNode.instance.loopEnd_Getter_(
unwrap_jso(this)); | 309 num get loopEnd => _blink.BlinkAudioBufferSourceNode.instance.loopEnd_Getter_(
this); |
| 313 | 310 |
| 314 @DomName('AudioBufferSourceNode.loopEnd') | 311 @DomName('AudioBufferSourceNode.loopEnd') |
| 315 @DocsEditable() | 312 @DocsEditable() |
| 316 set loopEnd(num value) => _blink.BlinkAudioBufferSourceNode.instance.loopEnd_S
etter_(unwrap_jso(this), value); | 313 set loopEnd(num value) => _blink.BlinkAudioBufferSourceNode.instance.loopEnd_S
etter_(this, value); |
| 317 | 314 |
| 318 @DomName('AudioBufferSourceNode.loopStart') | 315 @DomName('AudioBufferSourceNode.loopStart') |
| 319 @DocsEditable() | 316 @DocsEditable() |
| 320 num get loopStart => _blink.BlinkAudioBufferSourceNode.instance.loopStart_Gett
er_(unwrap_jso(this)); | 317 num get loopStart => _blink.BlinkAudioBufferSourceNode.instance.loopStart_Gett
er_(this); |
| 321 | 318 |
| 322 @DomName('AudioBufferSourceNode.loopStart') | 319 @DomName('AudioBufferSourceNode.loopStart') |
| 323 @DocsEditable() | 320 @DocsEditable() |
| 324 set loopStart(num value) => _blink.BlinkAudioBufferSourceNode.instance.loopSta
rt_Setter_(unwrap_jso(this), value); | 321 set loopStart(num value) => _blink.BlinkAudioBufferSourceNode.instance.loopSta
rt_Setter_(this, value); |
| 325 | 322 |
| 326 @DomName('AudioBufferSourceNode.playbackRate') | 323 @DomName('AudioBufferSourceNode.playbackRate') |
| 327 @DocsEditable() | 324 @DocsEditable() |
| 328 AudioParam get playbackRate => wrap_jso(_blink.BlinkAudioBufferSourceNode.inst
ance.playbackRate_Getter_(unwrap_jso(this))); | 325 AudioParam get playbackRate => _blink.BlinkAudioBufferSourceNode.instance.play
backRate_Getter_(this); |
| 329 | 326 |
| 330 void start([num when, num grainOffset, num grainDuration]) { | 327 void start([num when, num grainOffset, num grainDuration]) { |
| 331 if (grainDuration != null) { | 328 if (grainDuration != null) { |
| 332 _blink.BlinkAudioBufferSourceNode.instance.start_Callback_3_(unwrap_jso(th
is), when, grainOffset, grainDuration); | 329 _blink.BlinkAudioBufferSourceNode.instance.start_Callback_3_(this, when, g
rainOffset, grainDuration); |
| 333 return; | 330 return; |
| 334 } | 331 } |
| 335 if (grainOffset != null) { | 332 if (grainOffset != null) { |
| 336 _blink.BlinkAudioBufferSourceNode.instance.start_Callback_2_(unwrap_jso(th
is), when, grainOffset); | 333 _blink.BlinkAudioBufferSourceNode.instance.start_Callback_2_(this, when, g
rainOffset); |
| 337 return; | 334 return; |
| 338 } | 335 } |
| 339 if (when != null) { | 336 if (when != null) { |
| 340 _blink.BlinkAudioBufferSourceNode.instance.start_Callback_1_(unwrap_jso(th
is), when); | 337 _blink.BlinkAudioBufferSourceNode.instance.start_Callback_1_(this, when); |
| 341 return; | 338 return; |
| 342 } | 339 } |
| 343 _blink.BlinkAudioBufferSourceNode.instance.start_Callback_0_(unwrap_jso(this
)); | 340 _blink.BlinkAudioBufferSourceNode.instance.start_Callback_0_(this); |
| 344 return; | 341 return; |
| 345 } | 342 } |
| 346 | 343 |
| 347 void stop([num when]) { | 344 void stop([num when]) { |
| 348 if (when != null) { | 345 if (when != null) { |
| 349 _blink.BlinkAudioBufferSourceNode.instance.stop_Callback_1_(unwrap_jso(thi
s), when); | 346 _blink.BlinkAudioBufferSourceNode.instance.stop_Callback_1_(this, when); |
| 350 return; | 347 return; |
| 351 } | 348 } |
| 352 _blink.BlinkAudioBufferSourceNode.instance.stop_Callback_0_(unwrap_jso(this)
); | 349 _blink.BlinkAudioBufferSourceNode.instance.stop_Callback_0_(this); |
| 353 return; | 350 return; |
| 354 } | 351 } |
| 355 | 352 |
| 356 /// Stream of `ended` events handled by this [AudioBufferSourceNode]. | 353 /// Stream of `ended` events handled by this [AudioBufferSourceNode]. |
| 357 @DomName('AudioBufferSourceNode.onended') | 354 @DomName('AudioBufferSourceNode.onended') |
| 358 @DocsEditable() | 355 @DocsEditable() |
| 359 @Experimental() // untriaged | 356 @Experimental() // untriaged |
| 360 Stream<Event> get onEnded => endedEvent.forTarget(this); | 357 Stream<Event> get onEnded => endedEvent.forTarget(this); |
| 361 | 358 |
| 362 } | 359 } |
| 363 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 360 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 364 // for details. All rights reserved. Use of this source code is governed by a | 361 // for details. All rights reserved. Use of this source code is governed by a |
| 365 // BSD-style license that can be found in the LICENSE file. | 362 // BSD-style license that can be found in the LICENSE file. |
| 366 | 363 |
| 367 | 364 |
| 368 @DomName('AudioContext') | 365 @DomName('AudioContext') |
| 369 @SupportedBrowser(SupportedBrowser.CHROME) | 366 @SupportedBrowser(SupportedBrowser.CHROME) |
| 370 @SupportedBrowser(SupportedBrowser.FIREFOX) | 367 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 371 @Experimental() | 368 @Experimental() |
| 372 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioCo
ntext-section | 369 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioCo
ntext-section |
| 373 class AudioContext extends EventTarget { | 370 class AudioContext extends EventTarget { |
| 374 // To suppress missing implicit constructor warnings. | 371 // To suppress missing implicit constructor warnings. |
| 375 factory AudioContext._() { throw new UnsupportedError("Not supported"); } | 372 factory AudioContext._() { throw new UnsupportedError("Not supported"); } |
| 376 | 373 |
| 377 @DomName('AudioContext.AudioContext') | 374 @DomName('AudioContext.AudioContext') |
| 378 @DocsEditable() | 375 @DocsEditable() |
| 379 factory AudioContext() { | 376 factory AudioContext() { |
| 380 return wrap_jso(_blink.BlinkAudioContext.instance.constructorCallback_0_()); | 377 return _blink.BlinkAudioContext.instance.constructorCallback_0_(); |
| 381 } | 378 } |
| 382 | 379 |
| 383 | 380 |
| 384 @Deprecated("Internal Use Only") | 381 @Deprecated("Internal Use Only") |
| 385 static AudioContext internalCreateAudioContext() { | 382 static AudioContext internalCreateAudioContext() { |
| 386 return new AudioContext._internalWrap(); | 383 return new AudioContext._internalWrap(); |
| 387 } | 384 } |
| 388 | 385 |
| 389 external factory AudioContext._internalWrap(); | 386 external factory AudioContext._internalWrap(); |
| 390 | 387 |
| 391 @Deprecated("Internal Use Only") | 388 @Deprecated("Internal Use Only") |
| 392 AudioContext.internal_() : super.internal_(); | 389 AudioContext.internal_() : super.internal_(); |
| 393 | 390 |
| 394 | 391 |
| 395 /// Checks if this type is supported on the current platform. | 392 /// Checks if this type is supported on the current platform. |
| 396 static bool get supported => true; | 393 static bool get supported => true; |
| 397 | 394 |
| 398 @DomName('AudioContext.currentTime') | 395 @DomName('AudioContext.currentTime') |
| 399 @DocsEditable() | 396 @DocsEditable() |
| 400 num get currentTime => _blink.BlinkAudioContext.instance.currentTime_Getter_(u
nwrap_jso(this)); | 397 num get currentTime => _blink.BlinkAudioContext.instance.currentTime_Getter_(t
his); |
| 401 | 398 |
| 402 @DomName('AudioContext.destination') | 399 @DomName('AudioContext.destination') |
| 403 @DocsEditable() | 400 @DocsEditable() |
| 404 AudioDestinationNode get destination => wrap_jso(_blink.BlinkAudioContext.inst
ance.destination_Getter_(unwrap_jso(this))); | 401 AudioDestinationNode get destination => _blink.BlinkAudioContext.instance.dest
ination_Getter_(this); |
| 405 | 402 |
| 406 @DomName('AudioContext.listener') | 403 @DomName('AudioContext.listener') |
| 407 @DocsEditable() | 404 @DocsEditable() |
| 408 AudioListener get listener => wrap_jso(_blink.BlinkAudioContext.instance.liste
ner_Getter_(unwrap_jso(this))); | 405 AudioListener get listener => _blink.BlinkAudioContext.instance.listener_Gette
r_(this); |
| 409 | 406 |
| 410 @DomName('AudioContext.sampleRate') | 407 @DomName('AudioContext.sampleRate') |
| 411 @DocsEditable() | 408 @DocsEditable() |
| 412 num get sampleRate => _blink.BlinkAudioContext.instance.sampleRate_Getter_(unw
rap_jso(this)); | 409 num get sampleRate => _blink.BlinkAudioContext.instance.sampleRate_Getter_(thi
s); |
| 413 | 410 |
| 414 @DomName('AudioContext.state') | 411 @DomName('AudioContext.state') |
| 415 @DocsEditable() | 412 @DocsEditable() |
| 416 @Experimental() // untriaged | 413 @Experimental() // untriaged |
| 417 String get state => _blink.BlinkAudioContext.instance.state_Getter_(unwrap_jso
(this)); | 414 String get state => _blink.BlinkAudioContext.instance.state_Getter_(this); |
| 418 | 415 |
| 419 @DomName('AudioContext.close') | 416 @DomName('AudioContext.close') |
| 420 @DocsEditable() | 417 @DocsEditable() |
| 421 @Experimental() // untriaged | 418 @Experimental() // untriaged |
| 422 Future close() => wrap_jso(_blink.BlinkAudioContext.instance.close_Callback_0_
(unwrap_jso(this))); | 419 Future close() => _blink.BlinkAudioContext.instance.close_Callback_0_(this); |
| 423 | 420 |
| 424 @DomName('AudioContext.createAnalyser') | 421 @DomName('AudioContext.createAnalyser') |
| 425 @DocsEditable() | 422 @DocsEditable() |
| 426 AnalyserNode createAnalyser() => wrap_jso(_blink.BlinkAudioContext.instance.cr
eateAnalyser_Callback_0_(unwrap_jso(this))); | 423 AnalyserNode createAnalyser() => _blink.BlinkAudioContext.instance.createAnaly
ser_Callback_0_(this); |
| 427 | 424 |
| 428 @DomName('AudioContext.createBiquadFilter') | 425 @DomName('AudioContext.createBiquadFilter') |
| 429 @DocsEditable() | 426 @DocsEditable() |
| 430 BiquadFilterNode createBiquadFilter() => wrap_jso(_blink.BlinkAudioContext.ins
tance.createBiquadFilter_Callback_0_(unwrap_jso(this))); | 427 BiquadFilterNode createBiquadFilter() => _blink.BlinkAudioContext.instance.cre
ateBiquadFilter_Callback_0_(this); |
| 431 | 428 |
| 432 @DomName('AudioContext.createBuffer') | 429 @DomName('AudioContext.createBuffer') |
| 433 @DocsEditable() | 430 @DocsEditable() |
| 434 AudioBuffer createBuffer(int numberOfChannels, int numberOfFrames, num sampleR
ate) => wrap_jso(_blink.BlinkAudioContext.instance.createBuffer_Callback_3_(unwr
ap_jso(this), numberOfChannels, numberOfFrames, sampleRate)); | 431 AudioBuffer createBuffer(int numberOfChannels, int numberOfFrames, num sampleR
ate) => _blink.BlinkAudioContext.instance.createBuffer_Callback_3_(this, numberO
fChannels, numberOfFrames, sampleRate); |
| 435 | 432 |
| 436 @DomName('AudioContext.createBufferSource') | 433 @DomName('AudioContext.createBufferSource') |
| 437 @DocsEditable() | 434 @DocsEditable() |
| 438 AudioBufferSourceNode createBufferSource() => wrap_jso(_blink.BlinkAudioContex
t.instance.createBufferSource_Callback_0_(unwrap_jso(this))); | 435 AudioBufferSourceNode createBufferSource() => _blink.BlinkAudioContext.instanc
e.createBufferSource_Callback_0_(this); |
| 439 | 436 |
| 440 ChannelMergerNode createChannelMerger([int numberOfInputs]) { | 437 ChannelMergerNode createChannelMerger([int numberOfInputs]) { |
| 441 if (numberOfInputs != null) { | 438 if (numberOfInputs != null) { |
| 442 return wrap_jso(_blink.BlinkAudioContext.instance.createChannelMerger_Call
back_1_(unwrap_jso(this), numberOfInputs)); | 439 return _blink.BlinkAudioContext.instance.createChannelMerger_Callback_1_(t
his, numberOfInputs); |
| 443 } | 440 } |
| 444 return wrap_jso(_blink.BlinkAudioContext.instance.createChannelMerger_Callba
ck_0_(unwrap_jso(this))); | 441 return _blink.BlinkAudioContext.instance.createChannelMerger_Callback_0_(thi
s); |
| 445 } | 442 } |
| 446 | 443 |
| 447 ChannelSplitterNode createChannelSplitter([int numberOfOutputs]) { | 444 ChannelSplitterNode createChannelSplitter([int numberOfOutputs]) { |
| 448 if (numberOfOutputs != null) { | 445 if (numberOfOutputs != null) { |
| 449 return wrap_jso(_blink.BlinkAudioContext.instance.createChannelSplitter_Ca
llback_1_(unwrap_jso(this), numberOfOutputs)); | 446 return _blink.BlinkAudioContext.instance.createChannelSplitter_Callback_1_
(this, numberOfOutputs); |
| 450 } | 447 } |
| 451 return wrap_jso(_blink.BlinkAudioContext.instance.createChannelSplitter_Call
back_0_(unwrap_jso(this))); | 448 return _blink.BlinkAudioContext.instance.createChannelSplitter_Callback_0_(t
his); |
| 452 } | 449 } |
| 453 | 450 |
| 454 @DomName('AudioContext.createConvolver') | 451 @DomName('AudioContext.createConvolver') |
| 455 @DocsEditable() | 452 @DocsEditable() |
| 456 ConvolverNode createConvolver() => wrap_jso(_blink.BlinkAudioContext.instance.
createConvolver_Callback_0_(unwrap_jso(this))); | 453 ConvolverNode createConvolver() => _blink.BlinkAudioContext.instance.createCon
volver_Callback_0_(this); |
| 457 | 454 |
| 458 DelayNode createDelay([num maxDelayTime]) { | 455 DelayNode createDelay([num maxDelayTime]) { |
| 459 if (maxDelayTime != null) { | 456 if (maxDelayTime != null) { |
| 460 return wrap_jso(_blink.BlinkAudioContext.instance.createDelay_Callback_1_(
unwrap_jso(this), maxDelayTime)); | 457 return _blink.BlinkAudioContext.instance.createDelay_Callback_1_(this, max
DelayTime); |
| 461 } | 458 } |
| 462 return wrap_jso(_blink.BlinkAudioContext.instance.createDelay_Callback_0_(un
wrap_jso(this))); | 459 return _blink.BlinkAudioContext.instance.createDelay_Callback_0_(this); |
| 463 } | 460 } |
| 464 | 461 |
| 465 @DomName('AudioContext.createDynamicsCompressor') | 462 @DomName('AudioContext.createDynamicsCompressor') |
| 466 @DocsEditable() | 463 @DocsEditable() |
| 467 DynamicsCompressorNode createDynamicsCompressor() => wrap_jso(_blink.BlinkAudi
oContext.instance.createDynamicsCompressor_Callback_0_(unwrap_jso(this))); | 464 DynamicsCompressorNode createDynamicsCompressor() => _blink.BlinkAudioContext.
instance.createDynamicsCompressor_Callback_0_(this); |
| 468 | 465 |
| 469 @DomName('AudioContext.createGain') | 466 @DomName('AudioContext.createGain') |
| 470 @DocsEditable() | 467 @DocsEditable() |
| 471 GainNode createGain() => wrap_jso(_blink.BlinkAudioContext.instance.createGain
_Callback_0_(unwrap_jso(this))); | 468 GainNode createGain() => _blink.BlinkAudioContext.instance.createGain_Callback
_0_(this); |
| 472 | 469 |
| 473 @DomName('AudioContext.createMediaElementSource') | 470 @DomName('AudioContext.createMediaElementSource') |
| 474 @DocsEditable() | 471 @DocsEditable() |
| 475 MediaElementAudioSourceNode createMediaElementSource(MediaElement mediaElement
) => wrap_jso(_blink.BlinkAudioContext.instance.createMediaElementSource_Callbac
k_1_(unwrap_jso(this), unwrap_jso(mediaElement))); | 472 MediaElementAudioSourceNode createMediaElementSource(MediaElement mediaElement
) => _blink.BlinkAudioContext.instance.createMediaElementSource_Callback_1_(this
, mediaElement); |
| 476 | 473 |
| 477 @DomName('AudioContext.createMediaStreamDestination') | 474 @DomName('AudioContext.createMediaStreamDestination') |
| 478 @DocsEditable() | 475 @DocsEditable() |
| 479 MediaStreamAudioDestinationNode createMediaStreamDestination() => wrap_jso(_bl
ink.BlinkAudioContext.instance.createMediaStreamDestination_Callback_0_(unwrap_j
so(this))); | 476 MediaStreamAudioDestinationNode createMediaStreamDestination() => _blink.Blink
AudioContext.instance.createMediaStreamDestination_Callback_0_(this); |
| 480 | 477 |
| 481 @DomName('AudioContext.createMediaStreamSource') | 478 @DomName('AudioContext.createMediaStreamSource') |
| 482 @DocsEditable() | 479 @DocsEditable() |
| 483 MediaStreamAudioSourceNode createMediaStreamSource(MediaStream mediaStream) =>
wrap_jso(_blink.BlinkAudioContext.instance.createMediaStreamSource_Callback_1_(
unwrap_jso(this), unwrap_jso(mediaStream))); | 480 MediaStreamAudioSourceNode createMediaStreamSource(MediaStream mediaStream) =>
_blink.BlinkAudioContext.instance.createMediaStreamSource_Callback_1_(this, med
iaStream); |
| 484 | 481 |
| 485 @DomName('AudioContext.createOscillator') | 482 @DomName('AudioContext.createOscillator') |
| 486 @DocsEditable() | 483 @DocsEditable() |
| 487 OscillatorNode createOscillator() => wrap_jso(_blink.BlinkAudioContext.instanc
e.createOscillator_Callback_0_(unwrap_jso(this))); | 484 OscillatorNode createOscillator() => _blink.BlinkAudioContext.instance.createO
scillator_Callback_0_(this); |
| 488 | 485 |
| 489 @DomName('AudioContext.createPanner') | 486 @DomName('AudioContext.createPanner') |
| 490 @DocsEditable() | 487 @DocsEditable() |
| 491 PannerNode createPanner() => wrap_jso(_blink.BlinkAudioContext.instance.create
Panner_Callback_0_(unwrap_jso(this))); | 488 PannerNode createPanner() => _blink.BlinkAudioContext.instance.createPanner_Ca
llback_0_(this); |
| 492 | 489 |
| 493 @DomName('AudioContext.createPeriodicWave') | 490 @DomName('AudioContext.createPeriodicWave') |
| 494 @DocsEditable() | 491 @DocsEditable() |
| 495 @Experimental() // untriaged | 492 @Experimental() // untriaged |
| 496 PeriodicWave createPeriodicWave(Float32List real, Float32List imag) => wrap_js
o(_blink.BlinkAudioContext.instance.createPeriodicWave_Callback_2_(unwrap_jso(th
is), unwrap_jso(real), unwrap_jso(imag))); | 493 PeriodicWave createPeriodicWave(Float32List real, Float32List imag) => _blink.
BlinkAudioContext.instance.createPeriodicWave_Callback_2_(this, real, imag); |
| 497 | 494 |
| 498 ScriptProcessorNode createScriptProcessor([int bufferSize, int numberOfInputCh
annels, int numberOfOutputChannels]) { | 495 ScriptProcessorNode createScriptProcessor([int bufferSize, int numberOfInputCh
annels, int numberOfOutputChannels]) { |
| 499 if (numberOfOutputChannels != null) { | 496 if (numberOfOutputChannels != null) { |
| 500 return wrap_jso(_blink.BlinkAudioContext.instance.createScriptProcessor_Ca
llback_3_(unwrap_jso(this), bufferSize, numberOfInputChannels, numberOfOutputCha
nnels)); | 497 return _blink.BlinkAudioContext.instance.createScriptProcessor_Callback_3_
(this, bufferSize, numberOfInputChannels, numberOfOutputChannels); |
| 501 } | 498 } |
| 502 if (numberOfInputChannels != null) { | 499 if (numberOfInputChannels != null) { |
| 503 return wrap_jso(_blink.BlinkAudioContext.instance.createScriptProcessor_Ca
llback_2_(unwrap_jso(this), bufferSize, numberOfInputChannels)); | 500 return _blink.BlinkAudioContext.instance.createScriptProcessor_Callback_2_
(this, bufferSize, numberOfInputChannels); |
| 504 } | 501 } |
| 505 if (bufferSize != null) { | 502 if (bufferSize != null) { |
| 506 return wrap_jso(_blink.BlinkAudioContext.instance.createScriptProcessor_Ca
llback_1_(unwrap_jso(this), bufferSize)); | 503 return _blink.BlinkAudioContext.instance.createScriptProcessor_Callback_1_
(this, bufferSize); |
| 507 } | 504 } |
| 508 return wrap_jso(_blink.BlinkAudioContext.instance.createScriptProcessor_Call
back_0_(unwrap_jso(this))); | 505 return _blink.BlinkAudioContext.instance.createScriptProcessor_Callback_0_(t
his); |
| 509 } | 506 } |
| 510 | 507 |
| 511 @DomName('AudioContext.createStereoPanner') | 508 @DomName('AudioContext.createStereoPanner') |
| 512 @DocsEditable() | 509 @DocsEditable() |
| 513 @Experimental() // untriaged | 510 @Experimental() // untriaged |
| 514 StereoPannerNode createStereoPanner() => wrap_jso(_blink.BlinkAudioContext.ins
tance.createStereoPanner_Callback_0_(unwrap_jso(this))); | 511 StereoPannerNode createStereoPanner() => _blink.BlinkAudioContext.instance.cre
ateStereoPanner_Callback_0_(this); |
| 515 | 512 |
| 516 @DomName('AudioContext.createWaveShaper') | 513 @DomName('AudioContext.createWaveShaper') |
| 517 @DocsEditable() | 514 @DocsEditable() |
| 518 WaveShaperNode createWaveShaper() => wrap_jso(_blink.BlinkAudioContext.instanc
e.createWaveShaper_Callback_0_(unwrap_jso(this))); | 515 WaveShaperNode createWaveShaper() => _blink.BlinkAudioContext.instance.createW
aveShaper_Callback_0_(this); |
| 519 | 516 |
| 520 void _decodeAudioData(ByteBuffer audioData, AudioBufferCallback successCallbac
k, [AudioBufferCallback errorCallback]) { | 517 void _decodeAudioData(ByteBuffer audioData, AudioBufferCallback successCallbac
k, [AudioBufferCallback errorCallback]) { |
| 521 if (errorCallback != null) { | 518 if (errorCallback != null) { |
| 522 _blink.BlinkAudioContext.instance.decodeAudioData_Callback_3_(unwrap_jso(t
his), unwrap_jso(audioData), unwrap_jso((audioBuffer) => successCallback(wrap_js
o(audioBuffer))), unwrap_jso((audioBuffer) => errorCallback(wrap_jso(audioBuffer
)))); | 519 _blink.BlinkAudioContext.instance.decodeAudioData_Callback_3_(this, audioD
ata, successCallback, errorCallback); |
| 523 return; | 520 return; |
| 524 } | 521 } |
| 525 _blink.BlinkAudioContext.instance.decodeAudioData_Callback_2_(unwrap_jso(thi
s), unwrap_jso(audioData), unwrap_jso((audioBuffer) => successCallback(wrap_jso(
audioBuffer)))); | 522 _blink.BlinkAudioContext.instance.decodeAudioData_Callback_2_(this, audioDat
a, successCallback); |
| 526 return; | 523 return; |
| 527 } | 524 } |
| 528 | 525 |
| 529 @DomName('AudioContext.resume') | 526 @DomName('AudioContext.resume') |
| 530 @DocsEditable() | 527 @DocsEditable() |
| 531 @Experimental() // untriaged | 528 @Experimental() // untriaged |
| 532 Future resume() => wrap_jso(_blink.BlinkAudioContext.instance.resume_Callback_
0_(unwrap_jso(this))); | 529 Future resume() => _blink.BlinkAudioContext.instance.resume_Callback_0_(this); |
| 533 | 530 |
| 534 @DomName('AudioContext.suspend') | 531 @DomName('AudioContext.suspend') |
| 535 @DocsEditable() | 532 @DocsEditable() |
| 536 @Experimental() // untriaged | 533 @Experimental() // untriaged |
| 537 Future suspend() => wrap_jso(_blink.BlinkAudioContext.instance.suspend_Callbac
k_0_(unwrap_jso(this))); | 534 Future suspend() => _blink.BlinkAudioContext.instance.suspend_Callback_0_(this
); |
| 538 | 535 |
| 539 @DomName('AudioContext.decodeAudioData') | 536 @DomName('AudioContext.decodeAudioData') |
| 540 Future<AudioBuffer> decodeAudioData(ByteBuffer audioData) { | 537 Future<AudioBuffer> decodeAudioData(ByteBuffer audioData) { |
| 541 var completer = new Completer<AudioBuffer>(); | 538 var completer = new Completer<AudioBuffer>(); |
| 542 _decodeAudioData(audioData, | 539 _decodeAudioData(audioData, |
| 543 (value) { completer.complete(value); }, | 540 (value) { completer.complete(value); }, |
| 544 (error) { | 541 (error) { |
| 545 if (error == null) { | 542 if (error == null) { |
| 546 completer.completeError(''); | 543 completer.completeError(''); |
| 547 } else { | 544 } else { |
| (...skipping 25 matching lines...) Expand all Loading... |
| 573 } | 570 } |
| 574 | 571 |
| 575 external factory AudioDestinationNode._internalWrap(); | 572 external factory AudioDestinationNode._internalWrap(); |
| 576 | 573 |
| 577 @Deprecated("Internal Use Only") | 574 @Deprecated("Internal Use Only") |
| 578 AudioDestinationNode.internal_() : super.internal_(); | 575 AudioDestinationNode.internal_() : super.internal_(); |
| 579 | 576 |
| 580 | 577 |
| 581 @DomName('AudioDestinationNode.maxChannelCount') | 578 @DomName('AudioDestinationNode.maxChannelCount') |
| 582 @DocsEditable() | 579 @DocsEditable() |
| 583 int get maxChannelCount => _blink.BlinkAudioDestinationNode.instance.maxChanne
lCount_Getter_(unwrap_jso(this)); | 580 int get maxChannelCount => _blink.BlinkAudioDestinationNode.instance.maxChanne
lCount_Getter_(this); |
| 584 | 581 |
| 585 } | 582 } |
| 586 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 583 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 587 // for details. All rights reserved. Use of this source code is governed by a | 584 // for details. All rights reserved. Use of this source code is governed by a |
| 588 // BSD-style license that can be found in the LICENSE file. | 585 // BSD-style license that can be found in the LICENSE file. |
| 589 | 586 |
| 590 // WARNING: Do not edit - generated code. | 587 // WARNING: Do not edit - generated code. |
| 591 | 588 |
| 592 | 589 |
| 593 @DocsEditable() | 590 @DocsEditable() |
| 594 @DomName('AudioListener') | 591 @DomName('AudioListener') |
| 595 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioLi
stener-section | 592 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioLi
stener-section |
| 596 @Experimental() | 593 @Experimental() |
| 597 class AudioListener extends DartHtmlDomObject { | 594 class AudioListener extends DartHtmlDomObject { |
| 598 // To suppress missing implicit constructor warnings. | 595 // To suppress missing implicit constructor warnings. |
| 599 factory AudioListener._() { throw new UnsupportedError("Not supported"); } | 596 factory AudioListener._() { throw new UnsupportedError("Not supported"); } |
| 600 | 597 |
| 601 @Deprecated("Internal Use Only") | 598 @Deprecated("Internal Use Only") |
| 602 static AudioListener internalCreateAudioListener() { | 599 static AudioListener internalCreateAudioListener() { |
| 603 return new AudioListener._internalWrap(); | 600 return new AudioListener._internalWrap(); |
| 604 } | 601 } |
| 605 | 602 |
| 606 factory AudioListener._internalWrap() { | 603 factory AudioListener._internalWrap() { |
| 607 return new AudioListener.internal_(); | 604 return new AudioListener.internal_(); |
| 608 } | 605 } |
| 609 | 606 |
| 610 @Deprecated("Internal Use Only") | 607 @Deprecated("Internal Use Only") |
| 611 AudioListener.internal_() { } | 608 AudioListener.internal_() { } |
| 612 | 609 |
| 613 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | |
| 614 int get hashCode => unwrap_jso(this).hashCode; | |
| 615 | |
| 616 @DomName('AudioListener.dopplerFactor') | 610 @DomName('AudioListener.dopplerFactor') |
| 617 @DocsEditable() | 611 @DocsEditable() |
| 618 num get dopplerFactor => _blink.BlinkAudioListener.instance.dopplerFactor_Gett
er_(unwrap_jso(this)); | 612 num get dopplerFactor => _blink.BlinkAudioListener.instance.dopplerFactor_Gett
er_(this); |
| 619 | 613 |
| 620 @DomName('AudioListener.dopplerFactor') | 614 @DomName('AudioListener.dopplerFactor') |
| 621 @DocsEditable() | 615 @DocsEditable() |
| 622 set dopplerFactor(num value) => _blink.BlinkAudioListener.instance.dopplerFact
or_Setter_(unwrap_jso(this), value); | 616 set dopplerFactor(num value) => _blink.BlinkAudioListener.instance.dopplerFact
or_Setter_(this, value); |
| 623 | 617 |
| 624 @DomName('AudioListener.speedOfSound') | 618 @DomName('AudioListener.speedOfSound') |
| 625 @DocsEditable() | 619 @DocsEditable() |
| 626 num get speedOfSound => _blink.BlinkAudioListener.instance.speedOfSound_Getter
_(unwrap_jso(this)); | 620 num get speedOfSound => _blink.BlinkAudioListener.instance.speedOfSound_Getter
_(this); |
| 627 | 621 |
| 628 @DomName('AudioListener.speedOfSound') | 622 @DomName('AudioListener.speedOfSound') |
| 629 @DocsEditable() | 623 @DocsEditable() |
| 630 set speedOfSound(num value) => _blink.BlinkAudioListener.instance.speedOfSound
_Setter_(unwrap_jso(this), value); | 624 set speedOfSound(num value) => _blink.BlinkAudioListener.instance.speedOfSound
_Setter_(this, value); |
| 631 | 625 |
| 632 @DomName('AudioListener.setOrientation') | 626 @DomName('AudioListener.setOrientation') |
| 633 @DocsEditable() | 627 @DocsEditable() |
| 634 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); | 628 void setOrientation(num x, num y, num z, num xUp, num yUp, num zUp) => _blink.
BlinkAudioListener.instance.setOrientation_Callback_6_(this, x, y, z, xUp, yUp,
zUp); |
| 635 | 629 |
| 636 @DomName('AudioListener.setPosition') | 630 @DomName('AudioListener.setPosition') |
| 637 @DocsEditable() | 631 @DocsEditable() |
| 638 void setPosition(num x, num y, num z) => _blink.BlinkAudioListener.instance.se
tPosition_Callback_3_(unwrap_jso(this), x, y, z); | 632 void setPosition(num x, num y, num z) => _blink.BlinkAudioListener.instance.se
tPosition_Callback_3_(this, x, y, z); |
| 639 | 633 |
| 640 @DomName('AudioListener.setVelocity') | 634 @DomName('AudioListener.setVelocity') |
| 641 @DocsEditable() | 635 @DocsEditable() |
| 642 void setVelocity(num x, num y, num z) => _blink.BlinkAudioListener.instance.se
tVelocity_Callback_3_(unwrap_jso(this), x, y, z); | 636 void setVelocity(num x, num y, num z) => _blink.BlinkAudioListener.instance.se
tVelocity_Callback_3_(this, x, y, z); |
| 643 | 637 |
| 644 } | 638 } |
| 645 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 639 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 646 // for details. All rights reserved. Use of this source code is governed by a | 640 // for details. All rights reserved. Use of this source code is governed by a |
| 647 // BSD-style license that can be found in the LICENSE file. | 641 // BSD-style license that can be found in the LICENSE file. |
| 648 | 642 |
| 649 | 643 |
| 650 @DomName('AudioNode') | 644 @DomName('AudioNode') |
| 651 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioNo
de-section | 645 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioNo
de-section |
| 652 @Experimental() | 646 @Experimental() |
| 653 class AudioNode extends EventTarget { | 647 class AudioNode extends EventTarget { |
| 654 // To suppress missing implicit constructor warnings. | 648 // To suppress missing implicit constructor warnings. |
| 655 factory AudioNode._() { throw new UnsupportedError("Not supported"); } | 649 factory AudioNode._() { throw new UnsupportedError("Not supported"); } |
| 656 | 650 |
| 657 | 651 |
| 658 @Deprecated("Internal Use Only") | 652 @Deprecated("Internal Use Only") |
| 659 static AudioNode internalCreateAudioNode() { | 653 static AudioNode internalCreateAudioNode() { |
| 660 return new AudioNode._internalWrap(); | 654 return new AudioNode._internalWrap(); |
| 661 } | 655 } |
| 662 | 656 |
| 663 external factory AudioNode._internalWrap(); | 657 external factory AudioNode._internalWrap(); |
| 664 | 658 |
| 665 @Deprecated("Internal Use Only") | 659 @Deprecated("Internal Use Only") |
| 666 AudioNode.internal_() : super.internal_(); | 660 AudioNode.internal_() : super.internal_(); |
| 667 | 661 |
| 668 | 662 |
| 669 @DomName('AudioNode.channelCount') | 663 @DomName('AudioNode.channelCount') |
| 670 @DocsEditable() | 664 @DocsEditable() |
| 671 int get channelCount => _blink.BlinkAudioNode.instance.channelCount_Getter_(un
wrap_jso(this)); | 665 int get channelCount => _blink.BlinkAudioNode.instance.channelCount_Getter_(th
is); |
| 672 | 666 |
| 673 @DomName('AudioNode.channelCount') | 667 @DomName('AudioNode.channelCount') |
| 674 @DocsEditable() | 668 @DocsEditable() |
| 675 set channelCount(int value) => _blink.BlinkAudioNode.instance.channelCount_Set
ter_(unwrap_jso(this), value); | 669 set channelCount(int value) => _blink.BlinkAudioNode.instance.channelCount_Set
ter_(this, value); |
| 676 | 670 |
| 677 @DomName('AudioNode.channelCountMode') | 671 @DomName('AudioNode.channelCountMode') |
| 678 @DocsEditable() | 672 @DocsEditable() |
| 679 String get channelCountMode => _blink.BlinkAudioNode.instance.channelCountMode
_Getter_(unwrap_jso(this)); | 673 String get channelCountMode => _blink.BlinkAudioNode.instance.channelCountMode
_Getter_(this); |
| 680 | 674 |
| 681 @DomName('AudioNode.channelCountMode') | 675 @DomName('AudioNode.channelCountMode') |
| 682 @DocsEditable() | 676 @DocsEditable() |
| 683 set channelCountMode(String value) => _blink.BlinkAudioNode.instance.channelCo
untMode_Setter_(unwrap_jso(this), value); | 677 set channelCountMode(String value) => _blink.BlinkAudioNode.instance.channelCo
untMode_Setter_(this, value); |
| 684 | 678 |
| 685 @DomName('AudioNode.channelInterpretation') | 679 @DomName('AudioNode.channelInterpretation') |
| 686 @DocsEditable() | 680 @DocsEditable() |
| 687 String get channelInterpretation => _blink.BlinkAudioNode.instance.channelInte
rpretation_Getter_(unwrap_jso(this)); | 681 String get channelInterpretation => _blink.BlinkAudioNode.instance.channelInte
rpretation_Getter_(this); |
| 688 | 682 |
| 689 @DomName('AudioNode.channelInterpretation') | 683 @DomName('AudioNode.channelInterpretation') |
| 690 @DocsEditable() | 684 @DocsEditable() |
| 691 set channelInterpretation(String value) => _blink.BlinkAudioNode.instance.chan
nelInterpretation_Setter_(unwrap_jso(this), value); | 685 set channelInterpretation(String value) => _blink.BlinkAudioNode.instance.chan
nelInterpretation_Setter_(this, value); |
| 692 | 686 |
| 693 @DomName('AudioNode.context') | 687 @DomName('AudioNode.context') |
| 694 @DocsEditable() | 688 @DocsEditable() |
| 695 AudioContext get context => wrap_jso(_blink.BlinkAudioNode.instance.context_Ge
tter_(unwrap_jso(this))); | 689 AudioContext get context => _blink.BlinkAudioNode.instance.context_Getter_(thi
s); |
| 696 | 690 |
| 697 @DomName('AudioNode.numberOfInputs') | 691 @DomName('AudioNode.numberOfInputs') |
| 698 @DocsEditable() | 692 @DocsEditable() |
| 699 int get numberOfInputs => _blink.BlinkAudioNode.instance.numberOfInputs_Getter
_(unwrap_jso(this)); | 693 int get numberOfInputs => _blink.BlinkAudioNode.instance.numberOfInputs_Getter
_(this); |
| 700 | 694 |
| 701 @DomName('AudioNode.numberOfOutputs') | 695 @DomName('AudioNode.numberOfOutputs') |
| 702 @DocsEditable() | 696 @DocsEditable() |
| 703 int get numberOfOutputs => _blink.BlinkAudioNode.instance.numberOfOutputs_Gett
er_(unwrap_jso(this)); | 697 int get numberOfOutputs => _blink.BlinkAudioNode.instance.numberOfOutputs_Gett
er_(this); |
| 704 | 698 |
| 705 void _connect(destination, [int output, int input]) { | 699 void _connect(destination, [int output, int input]) { |
| 706 if ((destination is AudioNode) && output == null && input == null) { | 700 if ((destination is AudioNode) && output == null && input == null) { |
| 707 _blink.BlinkAudioNode.instance.connect_Callback_1_(unwrap_jso(this), unwra
p_jso(destination)); | 701 _blink.BlinkAudioNode.instance.connect_Callback_1_(this, destination); |
| 708 return; | 702 return; |
| 709 } | 703 } |
| 710 if ((output is int || output == null) && (destination is AudioNode) && input
== null) { | 704 if ((output is int || output == null) && (destination is AudioNode) && input
== null) { |
| 711 _blink.BlinkAudioNode.instance.connect_Callback_2_(unwrap_jso(this), unwra
p_jso(destination), output); | 705 _blink.BlinkAudioNode.instance.connect_Callback_2_(this, destination, outp
ut); |
| 712 return; | 706 return; |
| 713 } | 707 } |
| 714 if ((input is int || input == null) && (output is int || output == null) &&
(destination is AudioNode)) { | 708 if ((input is int || input == null) && (output is int || output == null) &&
(destination is AudioNode)) { |
| 715 _blink.BlinkAudioNode.instance.connect_Callback_3_(unwrap_jso(this), unwra
p_jso(destination), output, input); | 709 _blink.BlinkAudioNode.instance.connect_Callback_3_(this, destination, outp
ut, input); |
| 716 return; | 710 return; |
| 717 } | 711 } |
| 718 if ((destination is AudioParam) && output == null && input == null) { | 712 if ((destination is AudioParam) && output == null && input == null) { |
| 719 _blink.BlinkAudioNode.instance.connect_Callback_1_(unwrap_jso(this), unwra
p_jso(destination)); | 713 _blink.BlinkAudioNode.instance.connect_Callback_1_(this, destination); |
| 720 return; | 714 return; |
| 721 } | 715 } |
| 722 if ((output is int || output == null) && (destination is AudioParam) && inpu
t == null) { | 716 if ((output is int || output == null) && (destination is AudioParam) && inpu
t == null) { |
| 723 _blink.BlinkAudioNode.instance.connect_Callback_2_(unwrap_jso(this), unwra
p_jso(destination), output); | 717 _blink.BlinkAudioNode.instance.connect_Callback_2_(this, destination, outp
ut); |
| 724 return; | 718 return; |
| 725 } | 719 } |
| 726 throw new ArgumentError("Incorrect number or type of arguments"); | 720 throw new ArgumentError("Incorrect number or type of arguments"); |
| 727 } | 721 } |
| 728 | 722 |
| 729 void disconnect([destination_OR_output, int output, int input]) { | 723 void disconnect([destination_OR_output, int output, int input]) { |
| 730 if (destination_OR_output == null && output == null && input == null) { | 724 if (destination_OR_output == null && output == null && input == null) { |
| 731 _blink.BlinkAudioNode.instance.disconnect_Callback_0_(unwrap_jso(this)); | 725 _blink.BlinkAudioNode.instance.disconnect_Callback_0_(this); |
| 732 return; | 726 return; |
| 733 } | 727 } |
| 734 if ((destination_OR_output is int) && output == null && input == null) { | 728 if ((destination_OR_output is int) && output == null && input == null) { |
| 735 _blink.BlinkAudioNode.instance.disconnect_Callback_1_(unwrap_jso(this), un
wrap_jso(destination_OR_output)); | 729 _blink.BlinkAudioNode.instance.disconnect_Callback_1_(this, destination_OR
_output); |
| 736 return; | 730 return; |
| 737 } | 731 } |
| 738 if ((destination_OR_output is AudioNode) && output == null && input == null)
{ | 732 if ((destination_OR_output is AudioNode) && output == null && input == null)
{ |
| 739 _blink.BlinkAudioNode.instance.disconnect_Callback_1_(unwrap_jso(this), un
wrap_jso(destination_OR_output)); | 733 _blink.BlinkAudioNode.instance.disconnect_Callback_1_(this, destination_OR
_output); |
| 740 return; | 734 return; |
| 741 } | 735 } |
| 742 if ((output is int) && (destination_OR_output is AudioNode) && input == null
) { | 736 if ((output is int) && (destination_OR_output is AudioNode) && input == null
) { |
| 743 _blink.BlinkAudioNode.instance.disconnect_Callback_2_(unwrap_jso(this), un
wrap_jso(destination_OR_output), output); | 737 _blink.BlinkAudioNode.instance.disconnect_Callback_2_(this, destination_OR
_output, output); |
| 744 return; | 738 return; |
| 745 } | 739 } |
| 746 if ((input is int) && (output is int) && (destination_OR_output is AudioNode
)) { | 740 if ((input is int) && (output is int) && (destination_OR_output is AudioNode
)) { |
| 747 _blink.BlinkAudioNode.instance.disconnect_Callback_3_(unwrap_jso(this), un
wrap_jso(destination_OR_output), output, input); | 741 _blink.BlinkAudioNode.instance.disconnect_Callback_3_(this, destination_OR
_output, output, input); |
| 748 return; | 742 return; |
| 749 } | 743 } |
| 750 if ((destination_OR_output is AudioParam) && output == null && input == null
) { | 744 if ((destination_OR_output is AudioParam) && output == null && input == null
) { |
| 751 _blink.BlinkAudioNode.instance.disconnect_Callback_1_(unwrap_jso(this), un
wrap_jso(destination_OR_output)); | 745 _blink.BlinkAudioNode.instance.disconnect_Callback_1_(this, destination_OR
_output); |
| 752 return; | 746 return; |
| 753 } | 747 } |
| 754 if ((output is int) && (destination_OR_output is AudioParam) && input == nul
l) { | 748 if ((output is int) && (destination_OR_output is AudioParam) && input == nul
l) { |
| 755 _blink.BlinkAudioNode.instance.disconnect_Callback_2_(unwrap_jso(this), un
wrap_jso(destination_OR_output), output); | 749 _blink.BlinkAudioNode.instance.disconnect_Callback_2_(this, destination_OR
_output, output); |
| 756 return; | 750 return; |
| 757 } | 751 } |
| 758 throw new ArgumentError("Incorrect number or type of arguments"); | 752 throw new ArgumentError("Incorrect number or type of arguments"); |
| 759 } | 753 } |
| 760 | 754 |
| 761 @DomName('AudioNode.connect') | 755 @DomName('AudioNode.connect') |
| 762 void connectNode(AudioNode destination, [int output = 0, int input = 0]) => | 756 void connectNode(AudioNode destination, [int output = 0, int input = 0]) => |
| 763 _connect(destination, output, input); | 757 _connect(destination, output, input); |
| 764 | 758 |
| 765 @DomName('AudioNode.connect') | 759 @DomName('AudioNode.connect') |
| (...skipping 20 matching lines...) Expand all Loading... |
| 786 return new AudioParam._internalWrap(); | 780 return new AudioParam._internalWrap(); |
| 787 } | 781 } |
| 788 | 782 |
| 789 factory AudioParam._internalWrap() { | 783 factory AudioParam._internalWrap() { |
| 790 return new AudioParam.internal_(); | 784 return new AudioParam.internal_(); |
| 791 } | 785 } |
| 792 | 786 |
| 793 @Deprecated("Internal Use Only") | 787 @Deprecated("Internal Use Only") |
| 794 AudioParam.internal_() { } | 788 AudioParam.internal_() { } |
| 795 | 789 |
| 796 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | |
| 797 int get hashCode => unwrap_jso(this).hashCode; | |
| 798 | |
| 799 @DomName('AudioParam.defaultValue') | 790 @DomName('AudioParam.defaultValue') |
| 800 @DocsEditable() | 791 @DocsEditable() |
| 801 num get defaultValue => _blink.BlinkAudioParam.instance.defaultValue_Getter_(u
nwrap_jso(this)); | 792 num get defaultValue => _blink.BlinkAudioParam.instance.defaultValue_Getter_(t
his); |
| 802 | 793 |
| 803 @DomName('AudioParam.value') | 794 @DomName('AudioParam.value') |
| 804 @DocsEditable() | 795 @DocsEditable() |
| 805 num get value => _blink.BlinkAudioParam.instance.value_Getter_(unwrap_jso(this
)); | 796 num get value => _blink.BlinkAudioParam.instance.value_Getter_(this); |
| 806 | 797 |
| 807 @DomName('AudioParam.value') | 798 @DomName('AudioParam.value') |
| 808 @DocsEditable() | 799 @DocsEditable() |
| 809 set value(num value) => _blink.BlinkAudioParam.instance.value_Setter_(unwrap_j
so(this), value); | 800 set value(num value) => _blink.BlinkAudioParam.instance.value_Setter_(this, va
lue); |
| 810 | 801 |
| 811 @DomName('AudioParam.cancelScheduledValues') | 802 @DomName('AudioParam.cancelScheduledValues') |
| 812 @DocsEditable() | 803 @DocsEditable() |
| 813 void cancelScheduledValues(num startTime) => _blink.BlinkAudioParam.instance.c
ancelScheduledValues_Callback_1_(unwrap_jso(this), startTime); | 804 void cancelScheduledValues(num startTime) => _blink.BlinkAudioParam.instance.c
ancelScheduledValues_Callback_1_(this, startTime); |
| 814 | 805 |
| 815 @DomName('AudioParam.exponentialRampToValueAtTime') | 806 @DomName('AudioParam.exponentialRampToValueAtTime') |
| 816 @DocsEditable() | 807 @DocsEditable() |
| 817 void exponentialRampToValueAtTime(num value, num time) => _blink.BlinkAudioPar
am.instance.exponentialRampToValueAtTime_Callback_2_(unwrap_jso(this), value, ti
me); | 808 void exponentialRampToValueAtTime(num value, num time) => _blink.BlinkAudioPar
am.instance.exponentialRampToValueAtTime_Callback_2_(this, value, time); |
| 818 | 809 |
| 819 @DomName('AudioParam.linearRampToValueAtTime') | 810 @DomName('AudioParam.linearRampToValueAtTime') |
| 820 @DocsEditable() | 811 @DocsEditable() |
| 821 void linearRampToValueAtTime(num value, num time) => _blink.BlinkAudioParam.in
stance.linearRampToValueAtTime_Callback_2_(unwrap_jso(this), value, time); | 812 void linearRampToValueAtTime(num value, num time) => _blink.BlinkAudioParam.in
stance.linearRampToValueAtTime_Callback_2_(this, value, time); |
| 822 | 813 |
| 823 @DomName('AudioParam.setTargetAtTime') | 814 @DomName('AudioParam.setTargetAtTime') |
| 824 @DocsEditable() | 815 @DocsEditable() |
| 825 void setTargetAtTime(num target, num time, num timeConstant) => _blink.BlinkAu
dioParam.instance.setTargetAtTime_Callback_3_(unwrap_jso(this), target, time, ti
meConstant); | 816 void setTargetAtTime(num target, num time, num timeConstant) => _blink.BlinkAu
dioParam.instance.setTargetAtTime_Callback_3_(this, target, time, timeConstant); |
| 826 | 817 |
| 827 @DomName('AudioParam.setValueAtTime') | 818 @DomName('AudioParam.setValueAtTime') |
| 828 @DocsEditable() | 819 @DocsEditable() |
| 829 void setValueAtTime(num value, num time) => _blink.BlinkAudioParam.instance.se
tValueAtTime_Callback_2_(unwrap_jso(this), value, time); | 820 void setValueAtTime(num value, num time) => _blink.BlinkAudioParam.instance.se
tValueAtTime_Callback_2_(this, value, time); |
| 830 | 821 |
| 831 @DomName('AudioParam.setValueCurveAtTime') | 822 @DomName('AudioParam.setValueCurveAtTime') |
| 832 @DocsEditable() | 823 @DocsEditable() |
| 833 void setValueCurveAtTime(Float32List values, num time, num duration) => _blink
.BlinkAudioParam.instance.setValueCurveAtTime_Callback_3_(unwrap_jso(this), unwr
ap_jso(values), time, duration); | 824 void setValueCurveAtTime(Float32List values, num time, num duration) => _blink
.BlinkAudioParam.instance.setValueCurveAtTime_Callback_3_(this, values, time, du
ration); |
| 834 | 825 |
| 835 } | 826 } |
| 836 // 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 |
| 837 // 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 |
| 838 // BSD-style license that can be found in the LICENSE file. | 829 // BSD-style license that can be found in the LICENSE file. |
| 839 | 830 |
| 840 // WARNING: Do not edit - generated code. | 831 // WARNING: Do not edit - generated code. |
| 841 | 832 |
| 842 | 833 |
| 843 @DocsEditable() | 834 @DocsEditable() |
| (...skipping 11 matching lines...) Expand all Loading... |
| 855 } | 846 } |
| 856 | 847 |
| 857 external factory AudioProcessingEvent._internalWrap(); | 848 external factory AudioProcessingEvent._internalWrap(); |
| 858 | 849 |
| 859 @Deprecated("Internal Use Only") | 850 @Deprecated("Internal Use Only") |
| 860 AudioProcessingEvent.internal_() : super.internal_(); | 851 AudioProcessingEvent.internal_() : super.internal_(); |
| 861 | 852 |
| 862 | 853 |
| 863 @DomName('AudioProcessingEvent.inputBuffer') | 854 @DomName('AudioProcessingEvent.inputBuffer') |
| 864 @DocsEditable() | 855 @DocsEditable() |
| 865 AudioBuffer get inputBuffer => wrap_jso(_blink.BlinkAudioProcessingEvent.insta
nce.inputBuffer_Getter_(unwrap_jso(this))); | 856 AudioBuffer get inputBuffer => _blink.BlinkAudioProcessingEvent.instance.input
Buffer_Getter_(this); |
| 866 | 857 |
| 867 @DomName('AudioProcessingEvent.outputBuffer') | 858 @DomName('AudioProcessingEvent.outputBuffer') |
| 868 @DocsEditable() | 859 @DocsEditable() |
| 869 AudioBuffer get outputBuffer => wrap_jso(_blink.BlinkAudioProcessingEvent.inst
ance.outputBuffer_Getter_(unwrap_jso(this))); | 860 AudioBuffer get outputBuffer => _blink.BlinkAudioProcessingEvent.instance.outp
utBuffer_Getter_(this); |
| 870 | 861 |
| 871 @DomName('AudioProcessingEvent.playbackTime') | 862 @DomName('AudioProcessingEvent.playbackTime') |
| 872 @DocsEditable() | 863 @DocsEditable() |
| 873 @Experimental() // untriaged | 864 @Experimental() // untriaged |
| 874 num get playbackTime => _blink.BlinkAudioProcessingEvent.instance.playbackTime
_Getter_(unwrap_jso(this)); | 865 num get playbackTime => _blink.BlinkAudioProcessingEvent.instance.playbackTime
_Getter_(this); |
| 875 | 866 |
| 876 } | 867 } |
| 877 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 868 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 878 // for details. All rights reserved. Use of this source code is governed by a | 869 // for details. All rights reserved. Use of this source code is governed by a |
| 879 // BSD-style license that can be found in the LICENSE file. | 870 // BSD-style license that can be found in the LICENSE file. |
| 880 | 871 |
| 881 // WARNING: Do not edit - generated code. | 872 // WARNING: Do not edit - generated code. |
| 882 | 873 |
| 883 | 874 |
| 884 @DocsEditable() | 875 @DocsEditable() |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 924 } | 915 } |
| 925 | 916 |
| 926 external factory BiquadFilterNode._internalWrap(); | 917 external factory BiquadFilterNode._internalWrap(); |
| 927 | 918 |
| 928 @Deprecated("Internal Use Only") | 919 @Deprecated("Internal Use Only") |
| 929 BiquadFilterNode.internal_() : super.internal_(); | 920 BiquadFilterNode.internal_() : super.internal_(); |
| 930 | 921 |
| 931 | 922 |
| 932 @DomName('BiquadFilterNode.Q') | 923 @DomName('BiquadFilterNode.Q') |
| 933 @DocsEditable() | 924 @DocsEditable() |
| 934 AudioParam get Q => wrap_jso(_blink.BlinkBiquadFilterNode.instance.Q_Getter_(u
nwrap_jso(this))); | 925 AudioParam get Q => _blink.BlinkBiquadFilterNode.instance.Q_Getter_(this); |
| 935 | 926 |
| 936 @DomName('BiquadFilterNode.detune') | 927 @DomName('BiquadFilterNode.detune') |
| 937 @DocsEditable() | 928 @DocsEditable() |
| 938 AudioParam get detune => wrap_jso(_blink.BlinkBiquadFilterNode.instance.detune
_Getter_(unwrap_jso(this))); | 929 AudioParam get detune => _blink.BlinkBiquadFilterNode.instance.detune_Getter_(
this); |
| 939 | 930 |
| 940 @DomName('BiquadFilterNode.frequency') | 931 @DomName('BiquadFilterNode.frequency') |
| 941 @DocsEditable() | 932 @DocsEditable() |
| 942 AudioParam get frequency => wrap_jso(_blink.BlinkBiquadFilterNode.instance.fre
quency_Getter_(unwrap_jso(this))); | 933 AudioParam get frequency => _blink.BlinkBiquadFilterNode.instance.frequency_Ge
tter_(this); |
| 943 | 934 |
| 944 @DomName('BiquadFilterNode.gain') | 935 @DomName('BiquadFilterNode.gain') |
| 945 @DocsEditable() | 936 @DocsEditable() |
| 946 AudioParam get gain => wrap_jso(_blink.BlinkBiquadFilterNode.instance.gain_Get
ter_(unwrap_jso(this))); | 937 AudioParam get gain => _blink.BlinkBiquadFilterNode.instance.gain_Getter_(this
); |
| 947 | 938 |
| 948 @DomName('BiquadFilterNode.type') | 939 @DomName('BiquadFilterNode.type') |
| 949 @DocsEditable() | 940 @DocsEditable() |
| 950 String get type => _blink.BlinkBiquadFilterNode.instance.type_Getter_(unwrap_j
so(this)); | 941 String get type => _blink.BlinkBiquadFilterNode.instance.type_Getter_(this); |
| 951 | 942 |
| 952 @DomName('BiquadFilterNode.type') | 943 @DomName('BiquadFilterNode.type') |
| 953 @DocsEditable() | 944 @DocsEditable() |
| 954 set type(String value) => _blink.BlinkBiquadFilterNode.instance.type_Setter_(u
nwrap_jso(this), value); | 945 set type(String value) => _blink.BlinkBiquadFilterNode.instance.type_Setter_(t
his, value); |
| 955 | 946 |
| 956 @DomName('BiquadFilterNode.getFrequencyResponse') | 947 @DomName('BiquadFilterNode.getFrequencyResponse') |
| 957 @DocsEditable() | 948 @DocsEditable() |
| 958 void getFrequencyResponse(Float32List frequencyHz, Float32List magResponse, Fl
oat32List phaseResponse) => _blink.BlinkBiquadFilterNode.instance.getFrequencyRe
sponse_Callback_3_(unwrap_jso(this), unwrap_jso(frequencyHz), unwrap_jso(magResp
onse), unwrap_jso(phaseResponse)); | 949 void getFrequencyResponse(Float32List frequencyHz, Float32List magResponse, Fl
oat32List phaseResponse) => _blink.BlinkBiquadFilterNode.instance.getFrequencyRe
sponse_Callback_3_(this, frequencyHz, magResponse, phaseResponse); |
| 959 | 950 |
| 960 } | 951 } |
| 961 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 952 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 962 // for details. All rights reserved. Use of this source code is governed by a | 953 // for details. All rights reserved. Use of this source code is governed by a |
| 963 // BSD-style license that can be found in the LICENSE file. | 954 // BSD-style license that can be found in the LICENSE file. |
| 964 | 955 |
| 965 // WARNING: Do not edit - generated code. | 956 // WARNING: Do not edit - generated code. |
| 966 | 957 |
| 967 | 958 |
| 968 @DocsEditable() | 959 @DocsEditable() |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1036 } | 1027 } |
| 1037 | 1028 |
| 1038 external factory ConvolverNode._internalWrap(); | 1029 external factory ConvolverNode._internalWrap(); |
| 1039 | 1030 |
| 1040 @Deprecated("Internal Use Only") | 1031 @Deprecated("Internal Use Only") |
| 1041 ConvolverNode.internal_() : super.internal_(); | 1032 ConvolverNode.internal_() : super.internal_(); |
| 1042 | 1033 |
| 1043 | 1034 |
| 1044 @DomName('ConvolverNode.buffer') | 1035 @DomName('ConvolverNode.buffer') |
| 1045 @DocsEditable() | 1036 @DocsEditable() |
| 1046 AudioBuffer get buffer => wrap_jso(_blink.BlinkConvolverNode.instance.buffer_G
etter_(unwrap_jso(this))); | 1037 AudioBuffer get buffer => _blink.BlinkConvolverNode.instance.buffer_Getter_(th
is); |
| 1047 | 1038 |
| 1048 @DomName('ConvolverNode.buffer') | 1039 @DomName('ConvolverNode.buffer') |
| 1049 @DocsEditable() | 1040 @DocsEditable() |
| 1050 set buffer(AudioBuffer value) => _blink.BlinkConvolverNode.instance.buffer_Set
ter_(unwrap_jso(this), unwrap_jso(value)); | 1041 set buffer(AudioBuffer value) => _blink.BlinkConvolverNode.instance.buffer_Set
ter_(this, value); |
| 1051 | 1042 |
| 1052 @DomName('ConvolverNode.normalize') | 1043 @DomName('ConvolverNode.normalize') |
| 1053 @DocsEditable() | 1044 @DocsEditable() |
| 1054 bool get normalize => _blink.BlinkConvolverNode.instance.normalize_Getter_(unw
rap_jso(this)); | 1045 bool get normalize => _blink.BlinkConvolverNode.instance.normalize_Getter_(thi
s); |
| 1055 | 1046 |
| 1056 @DomName('ConvolverNode.normalize') | 1047 @DomName('ConvolverNode.normalize') |
| 1057 @DocsEditable() | 1048 @DocsEditable() |
| 1058 set normalize(bool value) => _blink.BlinkConvolverNode.instance.normalize_Sett
er_(unwrap_jso(this), value); | 1049 set normalize(bool value) => _blink.BlinkConvolverNode.instance.normalize_Sett
er_(this, value); |
| 1059 | 1050 |
| 1060 } | 1051 } |
| 1061 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1052 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1062 // for details. All rights reserved. Use of this source code is governed by a | 1053 // for details. All rights reserved. Use of this source code is governed by a |
| 1063 // BSD-style license that can be found in the LICENSE file. | 1054 // BSD-style license that can be found in the LICENSE file. |
| 1064 | 1055 |
| 1065 // WARNING: Do not edit - generated code. | 1056 // WARNING: Do not edit - generated code. |
| 1066 | 1057 |
| 1067 | 1058 |
| 1068 @DocsEditable() | 1059 @DocsEditable() |
| (...skipping 11 matching lines...) Expand all Loading... |
| 1080 } | 1071 } |
| 1081 | 1072 |
| 1082 external factory DelayNode._internalWrap(); | 1073 external factory DelayNode._internalWrap(); |
| 1083 | 1074 |
| 1084 @Deprecated("Internal Use Only") | 1075 @Deprecated("Internal Use Only") |
| 1085 DelayNode.internal_() : super.internal_(); | 1076 DelayNode.internal_() : super.internal_(); |
| 1086 | 1077 |
| 1087 | 1078 |
| 1088 @DomName('DelayNode.delayTime') | 1079 @DomName('DelayNode.delayTime') |
| 1089 @DocsEditable() | 1080 @DocsEditable() |
| 1090 AudioParam get delayTime => wrap_jso(_blink.BlinkDelayNode.instance.delayTime_
Getter_(unwrap_jso(this))); | 1081 AudioParam get delayTime => _blink.BlinkDelayNode.instance.delayTime_Getter_(t
his); |
| 1091 | 1082 |
| 1092 } | 1083 } |
| 1093 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1084 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1094 // for details. All rights reserved. Use of this source code is governed by a | 1085 // for details. All rights reserved. Use of this source code is governed by a |
| 1095 // BSD-style license that can be found in the LICENSE file. | 1086 // BSD-style license that can be found in the LICENSE file. |
| 1096 | 1087 |
| 1097 // WARNING: Do not edit - generated code. | 1088 // WARNING: Do not edit - generated code. |
| 1098 | 1089 |
| 1099 | 1090 |
| 1100 @DocsEditable() | 1091 @DocsEditable() |
| (...skipping 11 matching lines...) Expand all Loading... |
| 1112 } | 1103 } |
| 1113 | 1104 |
| 1114 external factory DynamicsCompressorNode._internalWrap(); | 1105 external factory DynamicsCompressorNode._internalWrap(); |
| 1115 | 1106 |
| 1116 @Deprecated("Internal Use Only") | 1107 @Deprecated("Internal Use Only") |
| 1117 DynamicsCompressorNode.internal_() : super.internal_(); | 1108 DynamicsCompressorNode.internal_() : super.internal_(); |
| 1118 | 1109 |
| 1119 | 1110 |
| 1120 @DomName('DynamicsCompressorNode.attack') | 1111 @DomName('DynamicsCompressorNode.attack') |
| 1121 @DocsEditable() | 1112 @DocsEditable() |
| 1122 AudioParam get attack => wrap_jso(_blink.BlinkDynamicsCompressorNode.instance.
attack_Getter_(unwrap_jso(this))); | 1113 AudioParam get attack => _blink.BlinkDynamicsCompressorNode.instance.attack_Ge
tter_(this); |
| 1123 | 1114 |
| 1124 @DomName('DynamicsCompressorNode.knee') | 1115 @DomName('DynamicsCompressorNode.knee') |
| 1125 @DocsEditable() | 1116 @DocsEditable() |
| 1126 AudioParam get knee => wrap_jso(_blink.BlinkDynamicsCompressorNode.instance.kn
ee_Getter_(unwrap_jso(this))); | 1117 AudioParam get knee => _blink.BlinkDynamicsCompressorNode.instance.knee_Getter
_(this); |
| 1127 | 1118 |
| 1128 @DomName('DynamicsCompressorNode.ratio') | 1119 @DomName('DynamicsCompressorNode.ratio') |
| 1129 @DocsEditable() | 1120 @DocsEditable() |
| 1130 AudioParam get ratio => wrap_jso(_blink.BlinkDynamicsCompressorNode.instance.r
atio_Getter_(unwrap_jso(this))); | 1121 AudioParam get ratio => _blink.BlinkDynamicsCompressorNode.instance.ratio_Gett
er_(this); |
| 1131 | 1122 |
| 1132 @DomName('DynamicsCompressorNode.reduction') | 1123 @DomName('DynamicsCompressorNode.reduction') |
| 1133 @DocsEditable() | 1124 @DocsEditable() |
| 1134 AudioParam get reduction => wrap_jso(_blink.BlinkDynamicsCompressorNode.instan
ce.reduction_Getter_(unwrap_jso(this))); | 1125 AudioParam get reduction => _blink.BlinkDynamicsCompressorNode.instance.reduct
ion_Getter_(this); |
| 1135 | 1126 |
| 1136 @DomName('DynamicsCompressorNode.release') | 1127 @DomName('DynamicsCompressorNode.release') |
| 1137 @DocsEditable() | 1128 @DocsEditable() |
| 1138 AudioParam get release => wrap_jso(_blink.BlinkDynamicsCompressorNode.instance
.release_Getter_(unwrap_jso(this))); | 1129 AudioParam get release => _blink.BlinkDynamicsCompressorNode.instance.release_
Getter_(this); |
| 1139 | 1130 |
| 1140 @DomName('DynamicsCompressorNode.threshold') | 1131 @DomName('DynamicsCompressorNode.threshold') |
| 1141 @DocsEditable() | 1132 @DocsEditable() |
| 1142 AudioParam get threshold => wrap_jso(_blink.BlinkDynamicsCompressorNode.instan
ce.threshold_Getter_(unwrap_jso(this))); | 1133 AudioParam get threshold => _blink.BlinkDynamicsCompressorNode.instance.thresh
old_Getter_(this); |
| 1143 | 1134 |
| 1144 } | 1135 } |
| 1145 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1136 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1146 // for details. All rights reserved. Use of this source code is governed by a | 1137 // for details. All rights reserved. Use of this source code is governed by a |
| 1147 // BSD-style license that can be found in the LICENSE file. | 1138 // BSD-style license that can be found in the LICENSE file. |
| 1148 | 1139 |
| 1149 // WARNING: Do not edit - generated code. | 1140 // WARNING: Do not edit - generated code. |
| 1150 | 1141 |
| 1151 | 1142 |
| 1152 @DocsEditable() | 1143 @DocsEditable() |
| (...skipping 11 matching lines...) Expand all Loading... |
| 1164 } | 1155 } |
| 1165 | 1156 |
| 1166 external factory GainNode._internalWrap(); | 1157 external factory GainNode._internalWrap(); |
| 1167 | 1158 |
| 1168 @Deprecated("Internal Use Only") | 1159 @Deprecated("Internal Use Only") |
| 1169 GainNode.internal_() : super.internal_(); | 1160 GainNode.internal_() : super.internal_(); |
| 1170 | 1161 |
| 1171 | 1162 |
| 1172 @DomName('GainNode.gain') | 1163 @DomName('GainNode.gain') |
| 1173 @DocsEditable() | 1164 @DocsEditable() |
| 1174 AudioParam get gain => wrap_jso(_blink.BlinkGainNode.instance.gain_Getter_(unw
rap_jso(this))); | 1165 AudioParam get gain => _blink.BlinkGainNode.instance.gain_Getter_(this); |
| 1175 | 1166 |
| 1176 } | 1167 } |
| 1177 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1168 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1178 // for details. All rights reserved. Use of this source code is governed by a | 1169 // for details. All rights reserved. Use of this source code is governed by a |
| 1179 // BSD-style license that can be found in the LICENSE file. | 1170 // BSD-style license that can be found in the LICENSE file. |
| 1180 | 1171 |
| 1181 // WARNING: Do not edit - generated code. | 1172 // WARNING: Do not edit - generated code. |
| 1182 | 1173 |
| 1183 | 1174 |
| 1184 @DocsEditable() | 1175 @DocsEditable() |
| (...skipping 12 matching lines...) Expand all Loading... |
| 1197 | 1188 |
| 1198 external factory MediaElementAudioSourceNode._internalWrap(); | 1189 external factory MediaElementAudioSourceNode._internalWrap(); |
| 1199 | 1190 |
| 1200 @Deprecated("Internal Use Only") | 1191 @Deprecated("Internal Use Only") |
| 1201 MediaElementAudioSourceNode.internal_() : super.internal_(); | 1192 MediaElementAudioSourceNode.internal_() : super.internal_(); |
| 1202 | 1193 |
| 1203 | 1194 |
| 1204 @DomName('MediaElementAudioSourceNode.mediaElement') | 1195 @DomName('MediaElementAudioSourceNode.mediaElement') |
| 1205 @DocsEditable() | 1196 @DocsEditable() |
| 1206 @Experimental() // non-standard | 1197 @Experimental() // non-standard |
| 1207 MediaElement get mediaElement => wrap_jso(_blink.BlinkMediaElementAudioSourceN
ode.instance.mediaElement_Getter_(unwrap_jso(this))); | 1198 MediaElement get mediaElement => _blink.BlinkMediaElementAudioSourceNode.insta
nce.mediaElement_Getter_(this); |
| 1208 | 1199 |
| 1209 } | 1200 } |
| 1210 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1201 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1211 // for details. All rights reserved. Use of this source code is governed by a | 1202 // for details. All rights reserved. Use of this source code is governed by a |
| 1212 // BSD-style license that can be found in the LICENSE file. | 1203 // BSD-style license that can be found in the LICENSE file. |
| 1213 | 1204 |
| 1214 // WARNING: Do not edit - generated code. | 1205 // WARNING: Do not edit - generated code. |
| 1215 | 1206 |
| 1216 | 1207 |
| 1217 @DocsEditable() | 1208 @DocsEditable() |
| (...skipping 11 matching lines...) Expand all Loading... |
| 1229 } | 1220 } |
| 1230 | 1221 |
| 1231 external factory MediaStreamAudioDestinationNode._internalWrap(); | 1222 external factory MediaStreamAudioDestinationNode._internalWrap(); |
| 1232 | 1223 |
| 1233 @Deprecated("Internal Use Only") | 1224 @Deprecated("Internal Use Only") |
| 1234 MediaStreamAudioDestinationNode.internal_() : super.internal_(); | 1225 MediaStreamAudioDestinationNode.internal_() : super.internal_(); |
| 1235 | 1226 |
| 1236 | 1227 |
| 1237 @DomName('MediaStreamAudioDestinationNode.stream') | 1228 @DomName('MediaStreamAudioDestinationNode.stream') |
| 1238 @DocsEditable() | 1229 @DocsEditable() |
| 1239 MediaStream get stream => wrap_jso(_blink.BlinkMediaStreamAudioDestinationNode
.instance.stream_Getter_(unwrap_jso(this))); | 1230 MediaStream get stream => _blink.BlinkMediaStreamAudioDestinationNode.instance
.stream_Getter_(this); |
| 1240 | 1231 |
| 1241 } | 1232 } |
| 1242 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1233 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1243 // for details. All rights reserved. Use of this source code is governed by a | 1234 // for details. All rights reserved. Use of this source code is governed by a |
| 1244 // BSD-style license that can be found in the LICENSE file. | 1235 // BSD-style license that can be found in the LICENSE file. |
| 1245 | 1236 |
| 1246 // WARNING: Do not edit - generated code. | 1237 // WARNING: Do not edit - generated code. |
| 1247 | 1238 |
| 1248 | 1239 |
| 1249 @DocsEditable() | 1240 @DocsEditable() |
| (...skipping 11 matching lines...) Expand all Loading... |
| 1261 } | 1252 } |
| 1262 | 1253 |
| 1263 external factory MediaStreamAudioSourceNode._internalWrap(); | 1254 external factory MediaStreamAudioSourceNode._internalWrap(); |
| 1264 | 1255 |
| 1265 @Deprecated("Internal Use Only") | 1256 @Deprecated("Internal Use Only") |
| 1266 MediaStreamAudioSourceNode.internal_() : super.internal_(); | 1257 MediaStreamAudioSourceNode.internal_() : super.internal_(); |
| 1267 | 1258 |
| 1268 | 1259 |
| 1269 @DomName('MediaStreamAudioSourceNode.mediaStream') | 1260 @DomName('MediaStreamAudioSourceNode.mediaStream') |
| 1270 @DocsEditable() | 1261 @DocsEditable() |
| 1271 MediaStream get mediaStream => wrap_jso(_blink.BlinkMediaStreamAudioSourceNode
.instance.mediaStream_Getter_(unwrap_jso(this))); | 1262 MediaStream get mediaStream => _blink.BlinkMediaStreamAudioSourceNode.instance
.mediaStream_Getter_(this); |
| 1272 | 1263 |
| 1273 } | 1264 } |
| 1274 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1265 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1275 // for details. All rights reserved. Use of this source code is governed by a | 1266 // for details. All rights reserved. Use of this source code is governed by a |
| 1276 // BSD-style license that can be found in the LICENSE file. | 1267 // BSD-style license that can be found in the LICENSE file. |
| 1277 | 1268 |
| 1278 // WARNING: Do not edit - generated code. | 1269 // WARNING: Do not edit - generated code. |
| 1279 | 1270 |
| 1280 | 1271 |
| 1281 @DocsEditable() | 1272 @DocsEditable() |
| (...skipping 11 matching lines...) Expand all Loading... |
| 1293 } | 1284 } |
| 1294 | 1285 |
| 1295 external factory OfflineAudioCompletionEvent._internalWrap(); | 1286 external factory OfflineAudioCompletionEvent._internalWrap(); |
| 1296 | 1287 |
| 1297 @Deprecated("Internal Use Only") | 1288 @Deprecated("Internal Use Only") |
| 1298 OfflineAudioCompletionEvent.internal_() : super.internal_(); | 1289 OfflineAudioCompletionEvent.internal_() : super.internal_(); |
| 1299 | 1290 |
| 1300 | 1291 |
| 1301 @DomName('OfflineAudioCompletionEvent.renderedBuffer') | 1292 @DomName('OfflineAudioCompletionEvent.renderedBuffer') |
| 1302 @DocsEditable() | 1293 @DocsEditable() |
| 1303 AudioBuffer get renderedBuffer => wrap_jso(_blink.BlinkOfflineAudioCompletionE
vent.instance.renderedBuffer_Getter_(unwrap_jso(this))); | 1294 AudioBuffer get renderedBuffer => _blink.BlinkOfflineAudioCompletionEvent.inst
ance.renderedBuffer_Getter_(this); |
| 1304 | 1295 |
| 1305 } | 1296 } |
| 1306 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1297 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1307 // for details. All rights reserved. Use of this source code is governed by a | 1298 // for details. All rights reserved. Use of this source code is governed by a |
| 1308 // BSD-style license that can be found in the LICENSE file. | 1299 // BSD-style license that can be found in the LICENSE file. |
| 1309 | 1300 |
| 1310 // WARNING: Do not edit - generated code. | 1301 // WARNING: Do not edit - generated code. |
| 1311 | 1302 |
| 1312 | 1303 |
| 1313 @DocsEditable() | 1304 @DocsEditable() |
| 1314 @DomName('OfflineAudioContext') | 1305 @DomName('OfflineAudioContext') |
| 1315 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Offline
AudioContext-section | 1306 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Offline
AudioContext-section |
| 1316 @Experimental() | 1307 @Experimental() |
| 1317 class OfflineAudioContext extends AudioContext { | 1308 class OfflineAudioContext extends AudioContext { |
| 1318 // To suppress missing implicit constructor warnings. | 1309 // To suppress missing implicit constructor warnings. |
| 1319 factory OfflineAudioContext._() { throw new UnsupportedError("Not supported");
} | 1310 factory OfflineAudioContext._() { throw new UnsupportedError("Not supported");
} |
| 1320 | 1311 |
| 1321 @DomName('OfflineAudioContext.OfflineAudioContext') | 1312 @DomName('OfflineAudioContext.OfflineAudioContext') |
| 1322 @DocsEditable() | 1313 @DocsEditable() |
| 1323 factory OfflineAudioContext(int numberOfChannels, int numberOfFrames, num samp
leRate) { | 1314 factory OfflineAudioContext(int numberOfChannels, int numberOfFrames, num samp
leRate) { |
| 1324 return wrap_jso(_blink.BlinkOfflineAudioContext.instance.constructorCallback
_3_(numberOfChannels, numberOfFrames, sampleRate)); | 1315 return _blink.BlinkOfflineAudioContext.instance.constructorCallback_3_(numbe
rOfChannels, numberOfFrames, sampleRate); |
| 1325 } | 1316 } |
| 1326 | 1317 |
| 1327 | 1318 |
| 1328 @Deprecated("Internal Use Only") | 1319 @Deprecated("Internal Use Only") |
| 1329 static OfflineAudioContext internalCreateOfflineAudioContext() { | 1320 static OfflineAudioContext internalCreateOfflineAudioContext() { |
| 1330 return new OfflineAudioContext._internalWrap(); | 1321 return new OfflineAudioContext._internalWrap(); |
| 1331 } | 1322 } |
| 1332 | 1323 |
| 1333 external factory OfflineAudioContext._internalWrap(); | 1324 external factory OfflineAudioContext._internalWrap(); |
| 1334 | 1325 |
| 1335 @Deprecated("Internal Use Only") | 1326 @Deprecated("Internal Use Only") |
| 1336 OfflineAudioContext.internal_() : super.internal_(); | 1327 OfflineAudioContext.internal_() : super.internal_(); |
| 1337 | 1328 |
| 1338 | 1329 |
| 1339 @DomName('OfflineAudioContext.startRendering') | 1330 @DomName('OfflineAudioContext.startRendering') |
| 1340 @DocsEditable() | 1331 @DocsEditable() |
| 1341 @Experimental() // untriaged | 1332 @Experimental() // untriaged |
| 1342 Future startRendering() => wrap_jso(_blink.BlinkOfflineAudioContext.instance.s
tartRendering_Callback_0_(unwrap_jso(this))); | 1333 Future startRendering() => _blink.BlinkOfflineAudioContext.instance.startRende
ring_Callback_0_(this); |
| 1343 | 1334 |
| 1344 } | 1335 } |
| 1345 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1336 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1346 // for details. All rights reserved. Use of this source code is governed by a | 1337 // for details. All rights reserved. Use of this source code is governed by a |
| 1347 // BSD-style license that can be found in the LICENSE file. | 1338 // BSD-style license that can be found in the LICENSE file. |
| 1348 | 1339 |
| 1349 // WARNING: Do not edit - generated code. | 1340 // WARNING: Do not edit - generated code. |
| 1350 | 1341 |
| 1351 | 1342 |
| 1352 @DocsEditable() | 1343 @DocsEditable() |
| (...skipping 22 matching lines...) Expand all Loading... |
| 1375 } | 1366 } |
| 1376 | 1367 |
| 1377 external factory OscillatorNode._internalWrap(); | 1368 external factory OscillatorNode._internalWrap(); |
| 1378 | 1369 |
| 1379 @Deprecated("Internal Use Only") | 1370 @Deprecated("Internal Use Only") |
| 1380 OscillatorNode.internal_() : super.internal_(); | 1371 OscillatorNode.internal_() : super.internal_(); |
| 1381 | 1372 |
| 1382 | 1373 |
| 1383 @DomName('OscillatorNode.detune') | 1374 @DomName('OscillatorNode.detune') |
| 1384 @DocsEditable() | 1375 @DocsEditable() |
| 1385 AudioParam get detune => wrap_jso(_blink.BlinkOscillatorNode.instance.detune_G
etter_(unwrap_jso(this))); | 1376 AudioParam get detune => _blink.BlinkOscillatorNode.instance.detune_Getter_(th
is); |
| 1386 | 1377 |
| 1387 @DomName('OscillatorNode.frequency') | 1378 @DomName('OscillatorNode.frequency') |
| 1388 @DocsEditable() | 1379 @DocsEditable() |
| 1389 AudioParam get frequency => wrap_jso(_blink.BlinkOscillatorNode.instance.frequ
ency_Getter_(unwrap_jso(this))); | 1380 AudioParam get frequency => _blink.BlinkOscillatorNode.instance.frequency_Gett
er_(this); |
| 1390 | 1381 |
| 1391 @DomName('OscillatorNode.type') | 1382 @DomName('OscillatorNode.type') |
| 1392 @DocsEditable() | 1383 @DocsEditable() |
| 1393 String get type => _blink.BlinkOscillatorNode.instance.type_Getter_(unwrap_jso
(this)); | 1384 String get type => _blink.BlinkOscillatorNode.instance.type_Getter_(this); |
| 1394 | 1385 |
| 1395 @DomName('OscillatorNode.type') | 1386 @DomName('OscillatorNode.type') |
| 1396 @DocsEditable() | 1387 @DocsEditable() |
| 1397 set type(String value) => _blink.BlinkOscillatorNode.instance.type_Setter_(unw
rap_jso(this), value); | 1388 set type(String value) => _blink.BlinkOscillatorNode.instance.type_Setter_(thi
s, value); |
| 1398 | 1389 |
| 1399 @DomName('OscillatorNode.setPeriodicWave') | 1390 @DomName('OscillatorNode.setPeriodicWave') |
| 1400 @DocsEditable() | 1391 @DocsEditable() |
| 1401 @Experimental() // untriaged | 1392 @Experimental() // untriaged |
| 1402 void setPeriodicWave(PeriodicWave periodicWave) => _blink.BlinkOscillatorNode.
instance.setPeriodicWave_Callback_1_(unwrap_jso(this), unwrap_jso(periodicWave))
; | 1393 void setPeriodicWave(PeriodicWave periodicWave) => _blink.BlinkOscillatorNode.
instance.setPeriodicWave_Callback_1_(this, periodicWave); |
| 1403 | 1394 |
| 1404 void start([num when]) { | 1395 void start([num when]) { |
| 1405 if (when != null) { | 1396 if (when != null) { |
| 1406 _blink.BlinkOscillatorNode.instance.start_Callback_1_(unwrap_jso(this), wh
en); | 1397 _blink.BlinkOscillatorNode.instance.start_Callback_1_(this, when); |
| 1407 return; | 1398 return; |
| 1408 } | 1399 } |
| 1409 _blink.BlinkOscillatorNode.instance.start_Callback_0_(unwrap_jso(this)); | 1400 _blink.BlinkOscillatorNode.instance.start_Callback_0_(this); |
| 1410 return; | 1401 return; |
| 1411 } | 1402 } |
| 1412 | 1403 |
| 1413 void stop([num when]) { | 1404 void stop([num when]) { |
| 1414 if (when != null) { | 1405 if (when != null) { |
| 1415 _blink.BlinkOscillatorNode.instance.stop_Callback_1_(unwrap_jso(this), whe
n); | 1406 _blink.BlinkOscillatorNode.instance.stop_Callback_1_(this, when); |
| 1416 return; | 1407 return; |
| 1417 } | 1408 } |
| 1418 _blink.BlinkOscillatorNode.instance.stop_Callback_0_(unwrap_jso(this)); | 1409 _blink.BlinkOscillatorNode.instance.stop_Callback_0_(this); |
| 1419 return; | 1410 return; |
| 1420 } | 1411 } |
| 1421 | 1412 |
| 1422 /// Stream of `ended` events handled by this [OscillatorNode]. | 1413 /// Stream of `ended` events handled by this [OscillatorNode]. |
| 1423 @DomName('OscillatorNode.onended') | 1414 @DomName('OscillatorNode.onended') |
| 1424 @DocsEditable() | 1415 @DocsEditable() |
| 1425 @Experimental() // untriaged | 1416 @Experimental() // untriaged |
| 1426 Stream<Event> get onEnded => endedEvent.forTarget(this); | 1417 Stream<Event> get onEnded => endedEvent.forTarget(this); |
| 1427 | 1418 |
| 1428 } | 1419 } |
| (...skipping 19 matching lines...) Expand all Loading... |
| 1448 } | 1439 } |
| 1449 | 1440 |
| 1450 external factory PannerNode._internalWrap(); | 1441 external factory PannerNode._internalWrap(); |
| 1451 | 1442 |
| 1452 @Deprecated("Internal Use Only") | 1443 @Deprecated("Internal Use Only") |
| 1453 PannerNode.internal_() : super.internal_(); | 1444 PannerNode.internal_() : super.internal_(); |
| 1454 | 1445 |
| 1455 | 1446 |
| 1456 @DomName('PannerNode.coneInnerAngle') | 1447 @DomName('PannerNode.coneInnerAngle') |
| 1457 @DocsEditable() | 1448 @DocsEditable() |
| 1458 num get coneInnerAngle => _blink.BlinkPannerNode.instance.coneInnerAngle_Gette
r_(unwrap_jso(this)); | 1449 num get coneInnerAngle => _blink.BlinkPannerNode.instance.coneInnerAngle_Gette
r_(this); |
| 1459 | 1450 |
| 1460 @DomName('PannerNode.coneInnerAngle') | 1451 @DomName('PannerNode.coneInnerAngle') |
| 1461 @DocsEditable() | 1452 @DocsEditable() |
| 1462 set coneInnerAngle(num value) => _blink.BlinkPannerNode.instance.coneInnerAngl
e_Setter_(unwrap_jso(this), value); | 1453 set coneInnerAngle(num value) => _blink.BlinkPannerNode.instance.coneInnerAngl
e_Setter_(this, value); |
| 1463 | 1454 |
| 1464 @DomName('PannerNode.coneOuterAngle') | 1455 @DomName('PannerNode.coneOuterAngle') |
| 1465 @DocsEditable() | 1456 @DocsEditable() |
| 1466 num get coneOuterAngle => _blink.BlinkPannerNode.instance.coneOuterAngle_Gette
r_(unwrap_jso(this)); | 1457 num get coneOuterAngle => _blink.BlinkPannerNode.instance.coneOuterAngle_Gette
r_(this); |
| 1467 | 1458 |
| 1468 @DomName('PannerNode.coneOuterAngle') | 1459 @DomName('PannerNode.coneOuterAngle') |
| 1469 @DocsEditable() | 1460 @DocsEditable() |
| 1470 set coneOuterAngle(num value) => _blink.BlinkPannerNode.instance.coneOuterAngl
e_Setter_(unwrap_jso(this), value); | 1461 set coneOuterAngle(num value) => _blink.BlinkPannerNode.instance.coneOuterAngl
e_Setter_(this, value); |
| 1471 | 1462 |
| 1472 @DomName('PannerNode.coneOuterGain') | 1463 @DomName('PannerNode.coneOuterGain') |
| 1473 @DocsEditable() | 1464 @DocsEditable() |
| 1474 num get coneOuterGain => _blink.BlinkPannerNode.instance.coneOuterGain_Getter_
(unwrap_jso(this)); | 1465 num get coneOuterGain => _blink.BlinkPannerNode.instance.coneOuterGain_Getter_
(this); |
| 1475 | 1466 |
| 1476 @DomName('PannerNode.coneOuterGain') | 1467 @DomName('PannerNode.coneOuterGain') |
| 1477 @DocsEditable() | 1468 @DocsEditable() |
| 1478 set coneOuterGain(num value) => _blink.BlinkPannerNode.instance.coneOuterGain_
Setter_(unwrap_jso(this), value); | 1469 set coneOuterGain(num value) => _blink.BlinkPannerNode.instance.coneOuterGain_
Setter_(this, value); |
| 1479 | 1470 |
| 1480 @DomName('PannerNode.distanceModel') | 1471 @DomName('PannerNode.distanceModel') |
| 1481 @DocsEditable() | 1472 @DocsEditable() |
| 1482 String get distanceModel => _blink.BlinkPannerNode.instance.distanceModel_Gett
er_(unwrap_jso(this)); | 1473 String get distanceModel => _blink.BlinkPannerNode.instance.distanceModel_Gett
er_(this); |
| 1483 | 1474 |
| 1484 @DomName('PannerNode.distanceModel') | 1475 @DomName('PannerNode.distanceModel') |
| 1485 @DocsEditable() | 1476 @DocsEditable() |
| 1486 set distanceModel(String value) => _blink.BlinkPannerNode.instance.distanceMod
el_Setter_(unwrap_jso(this), value); | 1477 set distanceModel(String value) => _blink.BlinkPannerNode.instance.distanceMod
el_Setter_(this, value); |
| 1487 | 1478 |
| 1488 @DomName('PannerNode.maxDistance') | 1479 @DomName('PannerNode.maxDistance') |
| 1489 @DocsEditable() | 1480 @DocsEditable() |
| 1490 num get maxDistance => _blink.BlinkPannerNode.instance.maxDistance_Getter_(unw
rap_jso(this)); | 1481 num get maxDistance => _blink.BlinkPannerNode.instance.maxDistance_Getter_(thi
s); |
| 1491 | 1482 |
| 1492 @DomName('PannerNode.maxDistance') | 1483 @DomName('PannerNode.maxDistance') |
| 1493 @DocsEditable() | 1484 @DocsEditable() |
| 1494 set maxDistance(num value) => _blink.BlinkPannerNode.instance.maxDistance_Sett
er_(unwrap_jso(this), value); | 1485 set maxDistance(num value) => _blink.BlinkPannerNode.instance.maxDistance_Sett
er_(this, value); |
| 1495 | 1486 |
| 1496 @DomName('PannerNode.panningModel') | 1487 @DomName('PannerNode.panningModel') |
| 1497 @DocsEditable() | 1488 @DocsEditable() |
| 1498 String get panningModel => _blink.BlinkPannerNode.instance.panningModel_Getter
_(unwrap_jso(this)); | 1489 String get panningModel => _blink.BlinkPannerNode.instance.panningModel_Getter
_(this); |
| 1499 | 1490 |
| 1500 @DomName('PannerNode.panningModel') | 1491 @DomName('PannerNode.panningModel') |
| 1501 @DocsEditable() | 1492 @DocsEditable() |
| 1502 set panningModel(String value) => _blink.BlinkPannerNode.instance.panningModel
_Setter_(unwrap_jso(this), value); | 1493 set panningModel(String value) => _blink.BlinkPannerNode.instance.panningModel
_Setter_(this, value); |
| 1503 | 1494 |
| 1504 @DomName('PannerNode.refDistance') | 1495 @DomName('PannerNode.refDistance') |
| 1505 @DocsEditable() | 1496 @DocsEditable() |
| 1506 num get refDistance => _blink.BlinkPannerNode.instance.refDistance_Getter_(unw
rap_jso(this)); | 1497 num get refDistance => _blink.BlinkPannerNode.instance.refDistance_Getter_(thi
s); |
| 1507 | 1498 |
| 1508 @DomName('PannerNode.refDistance') | 1499 @DomName('PannerNode.refDistance') |
| 1509 @DocsEditable() | 1500 @DocsEditable() |
| 1510 set refDistance(num value) => _blink.BlinkPannerNode.instance.refDistance_Sett
er_(unwrap_jso(this), value); | 1501 set refDistance(num value) => _blink.BlinkPannerNode.instance.refDistance_Sett
er_(this, value); |
| 1511 | 1502 |
| 1512 @DomName('PannerNode.rolloffFactor') | 1503 @DomName('PannerNode.rolloffFactor') |
| 1513 @DocsEditable() | 1504 @DocsEditable() |
| 1514 num get rolloffFactor => _blink.BlinkPannerNode.instance.rolloffFactor_Getter_
(unwrap_jso(this)); | 1505 num get rolloffFactor => _blink.BlinkPannerNode.instance.rolloffFactor_Getter_
(this); |
| 1515 | 1506 |
| 1516 @DomName('PannerNode.rolloffFactor') | 1507 @DomName('PannerNode.rolloffFactor') |
| 1517 @DocsEditable() | 1508 @DocsEditable() |
| 1518 set rolloffFactor(num value) => _blink.BlinkPannerNode.instance.rolloffFactor_
Setter_(unwrap_jso(this), value); | 1509 set rolloffFactor(num value) => _blink.BlinkPannerNode.instance.rolloffFactor_
Setter_(this, value); |
| 1519 | 1510 |
| 1520 @DomName('PannerNode.setOrientation') | 1511 @DomName('PannerNode.setOrientation') |
| 1521 @DocsEditable() | 1512 @DocsEditable() |
| 1522 void setOrientation(num x, num y, num z) => _blink.BlinkPannerNode.instance.se
tOrientation_Callback_3_(unwrap_jso(this), x, y, z); | 1513 void setOrientation(num x, num y, num z) => _blink.BlinkPannerNode.instance.se
tOrientation_Callback_3_(this, x, y, z); |
| 1523 | 1514 |
| 1524 @DomName('PannerNode.setPosition') | 1515 @DomName('PannerNode.setPosition') |
| 1525 @DocsEditable() | 1516 @DocsEditable() |
| 1526 void setPosition(num x, num y, num z) => _blink.BlinkPannerNode.instance.setPo
sition_Callback_3_(unwrap_jso(this), x, y, z); | 1517 void setPosition(num x, num y, num z) => _blink.BlinkPannerNode.instance.setPo
sition_Callback_3_(this, x, y, z); |
| 1527 | 1518 |
| 1528 @DomName('PannerNode.setVelocity') | 1519 @DomName('PannerNode.setVelocity') |
| 1529 @DocsEditable() | 1520 @DocsEditable() |
| 1530 void setVelocity(num x, num y, num z) => _blink.BlinkPannerNode.instance.setVe
locity_Callback_3_(unwrap_jso(this), x, y, z); | 1521 void setVelocity(num x, num y, num z) => _blink.BlinkPannerNode.instance.setVe
locity_Callback_3_(this, x, y, z); |
| 1531 | 1522 |
| 1532 } | 1523 } |
| 1533 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1524 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1534 // for details. All rights reserved. Use of this source code is governed by a | 1525 // for details. All rights reserved. Use of this source code is governed by a |
| 1535 // BSD-style license that can be found in the LICENSE file. | 1526 // BSD-style license that can be found in the LICENSE file. |
| 1536 | 1527 |
| 1537 // WARNING: Do not edit - generated code. | 1528 // WARNING: Do not edit - generated code. |
| 1538 | 1529 |
| 1539 | 1530 |
| 1540 @DocsEditable() | 1531 @DocsEditable() |
| 1541 @DomName('PeriodicWave') | 1532 @DomName('PeriodicWave') |
| 1542 @Experimental() // untriaged | 1533 @Experimental() // untriaged |
| 1543 class PeriodicWave extends DartHtmlDomObject { | 1534 class PeriodicWave extends DartHtmlDomObject { |
| 1544 // To suppress missing implicit constructor warnings. | 1535 // To suppress missing implicit constructor warnings. |
| 1545 factory PeriodicWave._() { throw new UnsupportedError("Not supported"); } | 1536 factory PeriodicWave._() { throw new UnsupportedError("Not supported"); } |
| 1546 | 1537 |
| 1547 @Deprecated("Internal Use Only") | 1538 @Deprecated("Internal Use Only") |
| 1548 static PeriodicWave internalCreatePeriodicWave() { | 1539 static PeriodicWave internalCreatePeriodicWave() { |
| 1549 return new PeriodicWave._internalWrap(); | 1540 return new PeriodicWave._internalWrap(); |
| 1550 } | 1541 } |
| 1551 | 1542 |
| 1552 factory PeriodicWave._internalWrap() { | 1543 factory PeriodicWave._internalWrap() { |
| 1553 return new PeriodicWave.internal_(); | 1544 return new PeriodicWave.internal_(); |
| 1554 } | 1545 } |
| 1555 | 1546 |
| 1556 @Deprecated("Internal Use Only") | 1547 @Deprecated("Internal Use Only") |
| 1557 PeriodicWave.internal_() { } | 1548 PeriodicWave.internal_() { } |
| 1558 | 1549 |
| 1559 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | |
| 1560 int get hashCode => unwrap_jso(this).hashCode; | |
| 1561 | |
| 1562 } | 1550 } |
| 1563 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1551 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1564 // for details. All rights reserved. Use of this source code is governed by a | 1552 // for details. All rights reserved. Use of this source code is governed by a |
| 1565 // BSD-style license that can be found in the LICENSE file. | 1553 // BSD-style license that can be found in the LICENSE file. |
| 1566 | 1554 |
| 1567 // WARNING: Do not edit - generated code. | 1555 // WARNING: Do not edit - generated code. |
| 1568 | 1556 |
| 1569 | 1557 |
| 1570 @DocsEditable() | 1558 @DocsEditable() |
| 1571 @DomName('ScriptProcessorNode') | 1559 @DomName('ScriptProcessorNode') |
| (...skipping 21 matching lines...) Expand all Loading... |
| 1593 } | 1581 } |
| 1594 | 1582 |
| 1595 external factory ScriptProcessorNode._internalWrap(); | 1583 external factory ScriptProcessorNode._internalWrap(); |
| 1596 | 1584 |
| 1597 @Deprecated("Internal Use Only") | 1585 @Deprecated("Internal Use Only") |
| 1598 ScriptProcessorNode.internal_() : super.internal_(); | 1586 ScriptProcessorNode.internal_() : super.internal_(); |
| 1599 | 1587 |
| 1600 | 1588 |
| 1601 @DomName('ScriptProcessorNode.bufferSize') | 1589 @DomName('ScriptProcessorNode.bufferSize') |
| 1602 @DocsEditable() | 1590 @DocsEditable() |
| 1603 int get bufferSize => _blink.BlinkScriptProcessorNode.instance.bufferSize_Gett
er_(unwrap_jso(this)); | 1591 int get bufferSize => _blink.BlinkScriptProcessorNode.instance.bufferSize_Gett
er_(this); |
| 1604 | 1592 |
| 1605 @DomName('ScriptProcessorNode.setEventListener') | 1593 @DomName('ScriptProcessorNode.setEventListener') |
| 1606 @DocsEditable() | 1594 @DocsEditable() |
| 1607 @Experimental() // untriaged | 1595 @Experimental() // untriaged |
| 1608 void setEventListener(EventListener eventListener) => _blink.BlinkScriptProces
sorNode.instance.setEventListener_Callback_1_(unwrap_jso(this), unwrap_jso((even
t) => eventListener(wrap_jso(event)))); | 1596 void setEventListener(EventListener eventListener) => _blink.BlinkScriptProces
sorNode.instance.setEventListener_Callback_1_(this, eventListener); |
| 1609 | 1597 |
| 1610 /// Stream of `audioprocess` events handled by this [ScriptProcessorNode]. | 1598 /// Stream of `audioprocess` events handled by this [ScriptProcessorNode]. |
| 1611 /** | 1599 /** |
| 1612 * Get a Stream that fires events when AudioProcessingEvents occur. | 1600 * Get a Stream that fires events when AudioProcessingEvents occur. |
| 1613 * This particular stream is special in that it only allows one listener to a | 1601 * This particular stream is special in that it only allows one listener to a |
| 1614 * given stream. Converting the returned Stream [asBroadcast] will likely ruin | 1602 * given stream. Converting the returned Stream [asBroadcast] will likely ruin |
| 1615 * the soft-real-time properties which which these events are fired and can | 1603 * the soft-real-time properties which which these events are fired and can |
| 1616 * be processed. | 1604 * be processed. |
| 1617 */ | 1605 */ |
| 1618 @DomName('ScriptProcessorNode.onaudioprocess') | 1606 @DomName('ScriptProcessorNode.onaudioprocess') |
| (...skipping 24 matching lines...) Expand all Loading... |
| 1643 | 1631 |
| 1644 external factory StereoPannerNode._internalWrap(); | 1632 external factory StereoPannerNode._internalWrap(); |
| 1645 | 1633 |
| 1646 @Deprecated("Internal Use Only") | 1634 @Deprecated("Internal Use Only") |
| 1647 StereoPannerNode.internal_() : super.internal_(); | 1635 StereoPannerNode.internal_() : super.internal_(); |
| 1648 | 1636 |
| 1649 | 1637 |
| 1650 @DomName('StereoPannerNode.pan') | 1638 @DomName('StereoPannerNode.pan') |
| 1651 @DocsEditable() | 1639 @DocsEditable() |
| 1652 @Experimental() // untriaged | 1640 @Experimental() // untriaged |
| 1653 AudioParam get pan => wrap_jso(_blink.BlinkStereoPannerNode.instance.pan_Gette
r_(unwrap_jso(this))); | 1641 AudioParam get pan => _blink.BlinkStereoPannerNode.instance.pan_Getter_(this); |
| 1654 | 1642 |
| 1655 } | 1643 } |
| 1656 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1644 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1657 // for details. All rights reserved. Use of this source code is governed by a | 1645 // for details. All rights reserved. Use of this source code is governed by a |
| 1658 // BSD-style license that can be found in the LICENSE file. | 1646 // BSD-style license that can be found in the LICENSE file. |
| 1659 | 1647 |
| 1660 // WARNING: Do not edit - generated code. | 1648 // WARNING: Do not edit - generated code. |
| 1661 | 1649 |
| 1662 | 1650 |
| 1663 @DocsEditable() | 1651 @DocsEditable() |
| (...skipping 11 matching lines...) Expand all Loading... |
| 1675 } | 1663 } |
| 1676 | 1664 |
| 1677 external factory WaveShaperNode._internalWrap(); | 1665 external factory WaveShaperNode._internalWrap(); |
| 1678 | 1666 |
| 1679 @Deprecated("Internal Use Only") | 1667 @Deprecated("Internal Use Only") |
| 1680 WaveShaperNode.internal_() : super.internal_(); | 1668 WaveShaperNode.internal_() : super.internal_(); |
| 1681 | 1669 |
| 1682 | 1670 |
| 1683 @DomName('WaveShaperNode.curve') | 1671 @DomName('WaveShaperNode.curve') |
| 1684 @DocsEditable() | 1672 @DocsEditable() |
| 1685 Float32List get curve => wrap_jso(_blink.BlinkWaveShaperNode.instance.curve_Ge
tter_(unwrap_jso(this))); | 1673 Float32List get curve => _blink.BlinkWaveShaperNode.instance.curve_Getter_(thi
s); |
| 1686 | 1674 |
| 1687 @DomName('WaveShaperNode.curve') | 1675 @DomName('WaveShaperNode.curve') |
| 1688 @DocsEditable() | 1676 @DocsEditable() |
| 1689 set curve(Float32List value) => _blink.BlinkWaveShaperNode.instance.curve_Sett
er_(unwrap_jso(this), unwrap_jso(value)); | 1677 set curve(Float32List value) => _blink.BlinkWaveShaperNode.instance.curve_Sett
er_(this, value); |
| 1690 | 1678 |
| 1691 @DomName('WaveShaperNode.oversample') | 1679 @DomName('WaveShaperNode.oversample') |
| 1692 @DocsEditable() | 1680 @DocsEditable() |
| 1693 String get oversample => _blink.BlinkWaveShaperNode.instance.oversample_Getter
_(unwrap_jso(this)); | 1681 String get oversample => _blink.BlinkWaveShaperNode.instance.oversample_Getter
_(this); |
| 1694 | 1682 |
| 1695 @DomName('WaveShaperNode.oversample') | 1683 @DomName('WaveShaperNode.oversample') |
| 1696 @DocsEditable() | 1684 @DocsEditable() |
| 1697 set oversample(String value) => _blink.BlinkWaveShaperNode.instance.oversample
_Setter_(unwrap_jso(this), value); | 1685 set oversample(String value) => _blink.BlinkWaveShaperNode.instance.oversample
_Setter_(this, value); |
| 1698 | 1686 |
| 1699 } | 1687 } |
| OLD | NEW |