OLD | NEW |
1 library dart.dom.web_audio; | 1 library dart.dom.web_audio; |
2 | 2 |
3 import 'dart:async'; | 3 import 'dart:async'; |
4 import 'dart:collection'; | 4 import 'dart:collection'; |
5 import 'dart:_internal' hide deprecated; | 5 import 'dart:_internal' hide deprecated; |
6 import 'dart:html'; | 6 import 'dart:html'; |
7 import 'dart:html_common'; | 7 import 'dart:html_common'; |
8 import 'dart:nativewrappers'; | 8 import 'dart:nativewrappers'; |
9 import 'dart:typed_data'; | 9 import 'dart:typed_data'; |
10 import 'dart:_blink' as _blink; | 10 import 'dart:_blink' as _blink; |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 @DocsEditable() | 55 @DocsEditable() |
56 @DomName('AnalyserNode') | 56 @DomName('AnalyserNode') |
57 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Analyse
rNode | 57 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Analyse
rNode |
58 @Experimental() | 58 @Experimental() |
59 class AnalyserNode extends AudioNode { | 59 class AnalyserNode extends AudioNode { |
60 // To suppress missing implicit constructor warnings. | 60 // To suppress missing implicit constructor warnings. |
61 factory AnalyserNode._() { throw new UnsupportedError("Not supported"); } | 61 factory AnalyserNode._() { throw new UnsupportedError("Not supported"); } |
62 | 62 |
63 @DomName('AnalyserNode.fftSize') | 63 @DomName('AnalyserNode.fftSize') |
64 @DocsEditable() | 64 @DocsEditable() |
65 int get fftSize => _blink.BlinkAnalyserNode.fftSize_Getter(this); | 65 int get fftSize => _blink.BlinkAnalyserNode.instance.fftSize_Getter_(this); |
66 | 66 |
67 @DomName('AnalyserNode.fftSize') | 67 @DomName('AnalyserNode.fftSize') |
68 @DocsEditable() | 68 @DocsEditable() |
69 void set fftSize(int value) => _blink.BlinkAnalyserNode.fftSize_Setter(this, v
alue); | 69 void set fftSize(int value) => _blink.BlinkAnalyserNode.instance.fftSize_Sette
r_(this, value); |
70 | 70 |
71 @DomName('AnalyserNode.frequencyBinCount') | 71 @DomName('AnalyserNode.frequencyBinCount') |
72 @DocsEditable() | 72 @DocsEditable() |
73 int get frequencyBinCount => _blink.BlinkAnalyserNode.frequencyBinCount_Getter
(this); | 73 int get frequencyBinCount => _blink.BlinkAnalyserNode.instance.frequencyBinCou
nt_Getter_(this); |
74 | 74 |
75 @DomName('AnalyserNode.maxDecibels') | 75 @DomName('AnalyserNode.maxDecibels') |
76 @DocsEditable() | 76 @DocsEditable() |
77 num get maxDecibels => _blink.BlinkAnalyserNode.maxDecibels_Getter(this); | 77 num get maxDecibels => _blink.BlinkAnalyserNode.instance.maxDecibels_Getter_(t
his); |
78 | 78 |
79 @DomName('AnalyserNode.maxDecibels') | 79 @DomName('AnalyserNode.maxDecibels') |
80 @DocsEditable() | 80 @DocsEditable() |
81 void set maxDecibels(num value) => _blink.BlinkAnalyserNode.maxDecibels_Setter
(this, value); | 81 void set maxDecibels(num value) => _blink.BlinkAnalyserNode.instance.maxDecibe
ls_Setter_(this, value); |
82 | 82 |
83 @DomName('AnalyserNode.minDecibels') | 83 @DomName('AnalyserNode.minDecibels') |
84 @DocsEditable() | 84 @DocsEditable() |
85 num get minDecibels => _blink.BlinkAnalyserNode.minDecibels_Getter(this); | 85 num get minDecibels => _blink.BlinkAnalyserNode.instance.minDecibels_Getter_(t
his); |
86 | 86 |
87 @DomName('AnalyserNode.minDecibels') | 87 @DomName('AnalyserNode.minDecibels') |
88 @DocsEditable() | 88 @DocsEditable() |
89 void set minDecibels(num value) => _blink.BlinkAnalyserNode.minDecibels_Setter
(this, value); | 89 void set minDecibels(num value) => _blink.BlinkAnalyserNode.instance.minDecibe
ls_Setter_(this, value); |
90 | 90 |
91 @DomName('AnalyserNode.smoothingTimeConstant') | 91 @DomName('AnalyserNode.smoothingTimeConstant') |
92 @DocsEditable() | 92 @DocsEditable() |
93 num get smoothingTimeConstant => _blink.BlinkAnalyserNode.smoothingTimeConstan
t_Getter(this); | 93 num get smoothingTimeConstant => _blink.BlinkAnalyserNode.instance.smoothingTi
meConstant_Getter_(this); |
94 | 94 |
95 @DomName('AnalyserNode.smoothingTimeConstant') | 95 @DomName('AnalyserNode.smoothingTimeConstant') |
96 @DocsEditable() | 96 @DocsEditable() |
97 void set smoothingTimeConstant(num value) => _blink.BlinkAnalyserNode.smoothin
gTimeConstant_Setter(this, value); | 97 void set smoothingTimeConstant(num value) => _blink.BlinkAnalyserNode.instance
.smoothingTimeConstant_Setter_(this, value); |
98 | 98 |
99 @DomName('AnalyserNode.getByteFrequencyData') | 99 @DomName('AnalyserNode.getByteFrequencyData') |
100 @DocsEditable() | 100 @DocsEditable() |
101 void getByteFrequencyData(Uint8List array) => _blink.BlinkAnalyserNode.getByte
FrequencyData_Callback_1(this, array); | 101 void getByteFrequencyData(Uint8List array) => _blink.BlinkAnalyserNode.instanc
e.getByteFrequencyData_Callback_1_(this, array); |
102 | 102 |
103 @DomName('AnalyserNode.getByteTimeDomainData') | 103 @DomName('AnalyserNode.getByteTimeDomainData') |
104 @DocsEditable() | 104 @DocsEditable() |
105 void getByteTimeDomainData(Uint8List array) => _blink.BlinkAnalyserNode.getByt
eTimeDomainData_Callback_1(this, array); | 105 void getByteTimeDomainData(Uint8List array) => _blink.BlinkAnalyserNode.instan
ce.getByteTimeDomainData_Callback_1_(this, array); |
106 | 106 |
107 @DomName('AnalyserNode.getFloatFrequencyData') | 107 @DomName('AnalyserNode.getFloatFrequencyData') |
108 @DocsEditable() | 108 @DocsEditable() |
109 void getFloatFrequencyData(Float32List array) => _blink.BlinkAnalyserNode.getF
loatFrequencyData_Callback_1(this, array); | 109 void getFloatFrequencyData(Float32List array) => _blink.BlinkAnalyserNode.inst
ance.getFloatFrequencyData_Callback_1_(this, array); |
110 | 110 |
111 @DomName('AnalyserNode.getFloatTimeDomainData') | 111 @DomName('AnalyserNode.getFloatTimeDomainData') |
112 @DocsEditable() | 112 @DocsEditable() |
113 @Experimental() // untriaged | 113 @Experimental() // untriaged |
114 void getFloatTimeDomainData(Float32List array) => _blink.BlinkAnalyserNode.get
FloatTimeDomainData_Callback_1(this, array); | 114 void getFloatTimeDomainData(Float32List array) => _blink.BlinkAnalyserNode.ins
tance.getFloatTimeDomainData_Callback_1_(this, array); |
115 | 115 |
116 } | 116 } |
117 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 117 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
118 // for details. All rights reserved. Use of this source code is governed by a | 118 // for details. All rights reserved. Use of this source code is governed by a |
119 // BSD-style license that can be found in the LICENSE file. | 119 // BSD-style license that can be found in the LICENSE file. |
120 | 120 |
121 // WARNING: Do not edit - generated code. | 121 // WARNING: Do not edit - generated code. |
122 | 122 |
123 | 123 |
124 @DocsEditable() | 124 @DocsEditable() |
125 @DomName('AudioBuffer') | 125 @DomName('AudioBuffer') |
126 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBu
ffer-section | 126 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBu
ffer-section |
127 @Experimental() | 127 @Experimental() |
128 class AudioBuffer extends NativeFieldWrapperClass2 { | 128 class AudioBuffer extends NativeFieldWrapperClass2 { |
129 // To suppress missing implicit constructor warnings. | 129 // To suppress missing implicit constructor warnings. |
130 factory AudioBuffer._() { throw new UnsupportedError("Not supported"); } | 130 factory AudioBuffer._() { throw new UnsupportedError("Not supported"); } |
131 | 131 |
132 @DomName('AudioBuffer.duration') | 132 @DomName('AudioBuffer.duration') |
133 @DocsEditable() | 133 @DocsEditable() |
134 double get duration => _blink.BlinkAudioBuffer.duration_Getter(this); | 134 double get duration => _blink.BlinkAudioBuffer.instance.duration_Getter_(this)
; |
135 | 135 |
136 @DomName('AudioBuffer.length') | 136 @DomName('AudioBuffer.length') |
137 @DocsEditable() | 137 @DocsEditable() |
138 int get length => _blink.BlinkAudioBuffer.length_Getter(this); | 138 int get length => _blink.BlinkAudioBuffer.instance.length_Getter_(this); |
139 | 139 |
140 @DomName('AudioBuffer.numberOfChannels') | 140 @DomName('AudioBuffer.numberOfChannels') |
141 @DocsEditable() | 141 @DocsEditable() |
142 int get numberOfChannels => _blink.BlinkAudioBuffer.numberOfChannels_Getter(th
is); | 142 int get numberOfChannels => _blink.BlinkAudioBuffer.instance.numberOfChannels_
Getter_(this); |
143 | 143 |
144 @DomName('AudioBuffer.sampleRate') | 144 @DomName('AudioBuffer.sampleRate') |
145 @DocsEditable() | 145 @DocsEditable() |
146 double get sampleRate => _blink.BlinkAudioBuffer.sampleRate_Getter(this); | 146 double get sampleRate => _blink.BlinkAudioBuffer.instance.sampleRate_Getter_(t
his); |
147 | 147 |
148 @DomName('AudioBuffer.getChannelData') | 148 @DomName('AudioBuffer.getChannelData') |
149 @DocsEditable() | 149 @DocsEditable() |
150 Float32List getChannelData(int channelIndex) => _blink.BlinkAudioBuffer.getCha
nnelData_Callback_1(this, channelIndex); | 150 Float32List getChannelData(int channelIndex) => _blink.BlinkAudioBuffer.instan
ce.getChannelData_Callback_1_(this, channelIndex); |
151 | 151 |
152 } | 152 } |
153 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 153 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
154 // for details. All rights reserved. Use of this source code is governed by a | 154 // for details. All rights reserved. Use of this source code is governed by a |
155 // BSD-style license that can be found in the LICENSE file. | 155 // BSD-style license that can be found in the LICENSE file. |
156 | 156 |
157 // WARNING: Do not edit - generated code. | 157 // WARNING: Do not edit - generated code. |
158 | 158 |
159 | 159 |
160 @DomName('AudioBufferCallback') | 160 @DomName('AudioBufferCallback') |
(...skipping 23 matching lines...) Expand all Loading... |
184 * | 184 * |
185 * See [EventStreamProvider] for usage information. | 185 * See [EventStreamProvider] for usage information. |
186 */ | 186 */ |
187 @DomName('AudioBufferSourceNode.endedEvent') | 187 @DomName('AudioBufferSourceNode.endedEvent') |
188 @DocsEditable() | 188 @DocsEditable() |
189 @Experimental() // untriaged | 189 @Experimental() // untriaged |
190 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider
<Event>('ended'); | 190 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider
<Event>('ended'); |
191 | 191 |
192 @DomName('AudioBufferSourceNode.buffer') | 192 @DomName('AudioBufferSourceNode.buffer') |
193 @DocsEditable() | 193 @DocsEditable() |
194 AudioBuffer get buffer => _blink.BlinkAudioBufferSourceNode.buffer_Getter(this
); | 194 AudioBuffer get buffer => _blink.BlinkAudioBufferSourceNode.instance.buffer_Ge
tter_(this); |
195 | 195 |
196 @DomName('AudioBufferSourceNode.buffer') | 196 @DomName('AudioBufferSourceNode.buffer') |
197 @DocsEditable() | 197 @DocsEditable() |
198 void set buffer(AudioBuffer value) => _blink.BlinkAudioBufferSourceNode.buffer
_Setter(this, value); | 198 void set buffer(AudioBuffer value) => _blink.BlinkAudioBufferSourceNode.instan
ce.buffer_Setter_(this, value); |
199 | 199 |
200 @DomName('AudioBufferSourceNode.loop') | 200 @DomName('AudioBufferSourceNode.loop') |
201 @DocsEditable() | 201 @DocsEditable() |
202 bool get loop => _blink.BlinkAudioBufferSourceNode.loop_Getter(this); | 202 bool get loop => _blink.BlinkAudioBufferSourceNode.instance.loop_Getter_(this)
; |
203 | 203 |
204 @DomName('AudioBufferSourceNode.loop') | 204 @DomName('AudioBufferSourceNode.loop') |
205 @DocsEditable() | 205 @DocsEditable() |
206 void set loop(bool value) => _blink.BlinkAudioBufferSourceNode.loop_Setter(thi
s, value); | 206 void set loop(bool value) => _blink.BlinkAudioBufferSourceNode.instance.loop_S
etter_(this, value); |
207 | 207 |
208 @DomName('AudioBufferSourceNode.loopEnd') | 208 @DomName('AudioBufferSourceNode.loopEnd') |
209 @DocsEditable() | 209 @DocsEditable() |
210 num get loopEnd => _blink.BlinkAudioBufferSourceNode.loopEnd_Getter(this); | 210 num get loopEnd => _blink.BlinkAudioBufferSourceNode.instance.loopEnd_Getter_(
this); |
211 | 211 |
212 @DomName('AudioBufferSourceNode.loopEnd') | 212 @DomName('AudioBufferSourceNode.loopEnd') |
213 @DocsEditable() | 213 @DocsEditable() |
214 void set loopEnd(num value) => _blink.BlinkAudioBufferSourceNode.loopEnd_Sette
r(this, value); | 214 void set loopEnd(num value) => _blink.BlinkAudioBufferSourceNode.instance.loop
End_Setter_(this, value); |
215 | 215 |
216 @DomName('AudioBufferSourceNode.loopStart') | 216 @DomName('AudioBufferSourceNode.loopStart') |
217 @DocsEditable() | 217 @DocsEditable() |
218 num get loopStart => _blink.BlinkAudioBufferSourceNode.loopStart_Getter(this); | 218 num get loopStart => _blink.BlinkAudioBufferSourceNode.instance.loopStart_Gett
er_(this); |
219 | 219 |
220 @DomName('AudioBufferSourceNode.loopStart') | 220 @DomName('AudioBufferSourceNode.loopStart') |
221 @DocsEditable() | 221 @DocsEditable() |
222 void set loopStart(num value) => _blink.BlinkAudioBufferSourceNode.loopStart_S
etter(this, value); | 222 void set loopStart(num value) => _blink.BlinkAudioBufferSourceNode.instance.lo
opStart_Setter_(this, value); |
223 | 223 |
224 @DomName('AudioBufferSourceNode.playbackRate') | 224 @DomName('AudioBufferSourceNode.playbackRate') |
225 @DocsEditable() | 225 @DocsEditable() |
226 AudioParam get playbackRate => _blink.BlinkAudioBufferSourceNode.playbackRate_
Getter(this); | 226 AudioParam get playbackRate => _blink.BlinkAudioBufferSourceNode.instance.play
backRate_Getter_(this); |
227 | 227 |
228 void start([num when, num grainOffset, num grainDuration]) { | 228 void start([num when, num grainOffset, num grainDuration]) { |
229 if (grainDuration != null) { | 229 if (grainDuration != null) { |
230 _blink.BlinkAudioBufferSourceNode.start_Callback_3(this, when, grainOffset
, grainDuration); | 230 _blink.BlinkAudioBufferSourceNode.instance.start_Callback_3_(this, when, g
rainOffset, grainDuration); |
231 return; | 231 return; |
232 } | 232 } |
233 if (grainOffset != null) { | 233 if (grainOffset != null) { |
234 _blink.BlinkAudioBufferSourceNode.start_Callback_2(this, when, grainOffset
); | 234 _blink.BlinkAudioBufferSourceNode.instance.start_Callback_2_(this, when, g
rainOffset); |
235 return; | 235 return; |
236 } | 236 } |
237 if (when != null) { | 237 if (when != null) { |
238 _blink.BlinkAudioBufferSourceNode.start_Callback_1(this, when); | 238 _blink.BlinkAudioBufferSourceNode.instance.start_Callback_1_(this, when); |
239 return; | 239 return; |
240 } | 240 } |
241 _blink.BlinkAudioBufferSourceNode.start_Callback_0(this); | 241 _blink.BlinkAudioBufferSourceNode.instance.start_Callback_0_(this); |
242 return; | 242 return; |
243 } | 243 } |
244 | 244 |
245 void stop([num when]) { | 245 void stop([num when]) { |
246 if (when != null) { | 246 if (when != null) { |
247 _blink.BlinkAudioBufferSourceNode.stop_Callback_1(this, when); | 247 _blink.BlinkAudioBufferSourceNode.instance.stop_Callback_1_(this, when); |
248 return; | 248 return; |
249 } | 249 } |
250 _blink.BlinkAudioBufferSourceNode.stop_Callback_0(this); | 250 _blink.BlinkAudioBufferSourceNode.instance.stop_Callback_0_(this); |
251 return; | 251 return; |
252 } | 252 } |
253 | 253 |
254 /// Stream of `ended` events handled by this [AudioBufferSourceNode]. | 254 /// Stream of `ended` events handled by this [AudioBufferSourceNode]. |
255 @DomName('AudioBufferSourceNode.onended') | 255 @DomName('AudioBufferSourceNode.onended') |
256 @DocsEditable() | 256 @DocsEditable() |
257 @Experimental() // untriaged | 257 @Experimental() // untriaged |
258 Stream<Event> get onEnded => endedEvent.forTarget(this); | 258 Stream<Event> get onEnded => endedEvent.forTarget(this); |
259 | 259 |
260 } | 260 } |
(...skipping 17 matching lines...) Expand all Loading... |
278 * | 278 * |
279 * See [EventStreamProvider] for usage information. | 279 * See [EventStreamProvider] for usage information. |
280 */ | 280 */ |
281 @DomName('AudioContext.completeEvent') | 281 @DomName('AudioContext.completeEvent') |
282 @DocsEditable() | 282 @DocsEditable() |
283 static const EventStreamProvider<Event> completeEvent = const EventStreamProvi
der<Event>('complete'); | 283 static const EventStreamProvider<Event> completeEvent = const EventStreamProvi
der<Event>('complete'); |
284 | 284 |
285 @DomName('AudioContext.AudioContext') | 285 @DomName('AudioContext.AudioContext') |
286 @DocsEditable() | 286 @DocsEditable() |
287 factory AudioContext() { | 287 factory AudioContext() { |
288 return _blink.BlinkAudioContext.constructorCallback_0(); | 288 return _blink.BlinkAudioContext.instance.constructorCallback_0_(); |
289 } | 289 } |
290 | 290 |
291 /// Checks if this type is supported on the current platform. | 291 /// Checks if this type is supported on the current platform. |
292 static bool get supported => true; | 292 static bool get supported => true; |
293 | 293 |
294 @DomName('AudioContext.currentTime') | 294 @DomName('AudioContext.currentTime') |
295 @DocsEditable() | 295 @DocsEditable() |
296 double get currentTime => _blink.BlinkAudioContext.currentTime_Getter(this); | 296 double get currentTime => _blink.BlinkAudioContext.instance.currentTime_Getter
_(this); |
297 | 297 |
298 @DomName('AudioContext.destination') | 298 @DomName('AudioContext.destination') |
299 @DocsEditable() | 299 @DocsEditable() |
300 AudioDestinationNode get destination => _blink.BlinkAudioContext.destination_G
etter(this); | 300 AudioDestinationNode get destination => _blink.BlinkAudioContext.instance.dest
ination_Getter_(this); |
301 | 301 |
302 @DomName('AudioContext.listener') | 302 @DomName('AudioContext.listener') |
303 @DocsEditable() | 303 @DocsEditable() |
304 AudioListener get listener => _blink.BlinkAudioContext.listener_Getter(this); | 304 AudioListener get listener => _blink.BlinkAudioContext.instance.listener_Gette
r_(this); |
305 | 305 |
306 @DomName('AudioContext.sampleRate') | 306 @DomName('AudioContext.sampleRate') |
307 @DocsEditable() | 307 @DocsEditable() |
308 double get sampleRate => _blink.BlinkAudioContext.sampleRate_Getter(this); | 308 double get sampleRate => _blink.BlinkAudioContext.instance.sampleRate_Getter_(
this); |
309 | 309 |
310 @DomName('AudioContext.createAnalyser') | 310 @DomName('AudioContext.createAnalyser') |
311 @DocsEditable() | 311 @DocsEditable() |
312 AnalyserNode createAnalyser() => _blink.BlinkAudioContext.createAnalyser_Callb
ack_0(this); | 312 AnalyserNode createAnalyser() => _blink.BlinkAudioContext.instance.createAnaly
ser_Callback_0_(this); |
313 | 313 |
314 @DomName('AudioContext.createBiquadFilter') | 314 @DomName('AudioContext.createBiquadFilter') |
315 @DocsEditable() | 315 @DocsEditable() |
316 BiquadFilterNode createBiquadFilter() => _blink.BlinkAudioContext.createBiquad
Filter_Callback_0(this); | 316 BiquadFilterNode createBiquadFilter() => _blink.BlinkAudioContext.instance.cre
ateBiquadFilter_Callback_0_(this); |
317 | 317 |
318 @DomName('AudioContext.createBuffer') | 318 @DomName('AudioContext.createBuffer') |
319 @DocsEditable() | 319 @DocsEditable() |
320 AudioBuffer createBuffer(int numberOfChannels, int numberOfFrames, num sampleR
ate) => _blink.BlinkAudioContext.createBuffer_Callback_3(this, numberOfChannels,
numberOfFrames, sampleRate); | 320 AudioBuffer createBuffer(int numberOfChannels, int numberOfFrames, num sampleR
ate) => _blink.BlinkAudioContext.instance.createBuffer_Callback_3_(this, numberO
fChannels, numberOfFrames, sampleRate); |
321 | 321 |
322 @DomName('AudioContext.createBufferSource') | 322 @DomName('AudioContext.createBufferSource') |
323 @DocsEditable() | 323 @DocsEditable() |
324 AudioBufferSourceNode createBufferSource() => _blink.BlinkAudioContext.createB
ufferSource_Callback_0(this); | 324 AudioBufferSourceNode createBufferSource() => _blink.BlinkAudioContext.instanc
e.createBufferSource_Callback_0_(this); |
325 | 325 |
326 ChannelMergerNode createChannelMerger([int numberOfInputs]) { | 326 ChannelMergerNode createChannelMerger([int numberOfInputs]) { |
327 if (numberOfInputs != null) { | 327 if (numberOfInputs != null) { |
328 return _blink.BlinkAudioContext.createChannelMerger_Callback_1(this, numbe
rOfInputs); | 328 return _blink.BlinkAudioContext.instance.createChannelMerger_Callback_1_(t
his, numberOfInputs); |
329 } | 329 } |
330 return _blink.BlinkAudioContext.createChannelMerger_Callback_0(this); | 330 return _blink.BlinkAudioContext.instance.createChannelMerger_Callback_0_(thi
s); |
331 } | 331 } |
332 | 332 |
333 ChannelSplitterNode createChannelSplitter([int numberOfOutputs]) { | 333 ChannelSplitterNode createChannelSplitter([int numberOfOutputs]) { |
334 if (numberOfOutputs != null) { | 334 if (numberOfOutputs != null) { |
335 return _blink.BlinkAudioContext.createChannelSplitter_Callback_1(this, num
berOfOutputs); | 335 return _blink.BlinkAudioContext.instance.createChannelSplitter_Callback_1_
(this, numberOfOutputs); |
336 } | 336 } |
337 return _blink.BlinkAudioContext.createChannelSplitter_Callback_0(this); | 337 return _blink.BlinkAudioContext.instance.createChannelSplitter_Callback_0_(t
his); |
338 } | 338 } |
339 | 339 |
340 @DomName('AudioContext.createConvolver') | 340 @DomName('AudioContext.createConvolver') |
341 @DocsEditable() | 341 @DocsEditable() |
342 ConvolverNode createConvolver() => _blink.BlinkAudioContext.createConvolver_Ca
llback_0(this); | 342 ConvolverNode createConvolver() => _blink.BlinkAudioContext.instance.createCon
volver_Callback_0_(this); |
343 | 343 |
344 DelayNode createDelay([num maxDelayTime]) { | 344 DelayNode createDelay([num maxDelayTime]) { |
345 if (maxDelayTime != null) { | 345 if (maxDelayTime != null) { |
346 return _blink.BlinkAudioContext.createDelay_Callback_1(this, maxDelayTime)
; | 346 return _blink.BlinkAudioContext.instance.createDelay_Callback_1_(this, max
DelayTime); |
347 } | 347 } |
348 return _blink.BlinkAudioContext.createDelay_Callback_0(this); | 348 return _blink.BlinkAudioContext.instance.createDelay_Callback_0_(this); |
349 } | 349 } |
350 | 350 |
351 @DomName('AudioContext.createDynamicsCompressor') | 351 @DomName('AudioContext.createDynamicsCompressor') |
352 @DocsEditable() | 352 @DocsEditable() |
353 DynamicsCompressorNode createDynamicsCompressor() => _blink.BlinkAudioContext.
createDynamicsCompressor_Callback_0(this); | 353 DynamicsCompressorNode createDynamicsCompressor() => _blink.BlinkAudioContext.
instance.createDynamicsCompressor_Callback_0_(this); |
354 | 354 |
355 @DomName('AudioContext.createGain') | 355 @DomName('AudioContext.createGain') |
356 @DocsEditable() | 356 @DocsEditable() |
357 GainNode createGain() => _blink.BlinkAudioContext.createGain_Callback_0(this); | 357 GainNode createGain() => _blink.BlinkAudioContext.instance.createGain_Callback
_0_(this); |
358 | 358 |
359 @DomName('AudioContext.createMediaElementSource') | 359 @DomName('AudioContext.createMediaElementSource') |
360 @DocsEditable() | 360 @DocsEditable() |
361 MediaElementAudioSourceNode createMediaElementSource(MediaElement mediaElement
) => _blink.BlinkAudioContext.createMediaElementSource_Callback_1(this, mediaEle
ment); | 361 MediaElementAudioSourceNode createMediaElementSource(MediaElement mediaElement
) => _blink.BlinkAudioContext.instance.createMediaElementSource_Callback_1_(this
, mediaElement); |
362 | 362 |
363 @DomName('AudioContext.createMediaStreamDestination') | 363 @DomName('AudioContext.createMediaStreamDestination') |
364 @DocsEditable() | 364 @DocsEditable() |
365 MediaStreamAudioDestinationNode createMediaStreamDestination() => _blink.Blink
AudioContext.createMediaStreamDestination_Callback_0(this); | 365 MediaStreamAudioDestinationNode createMediaStreamDestination() => _blink.Blink
AudioContext.instance.createMediaStreamDestination_Callback_0_(this); |
366 | 366 |
367 @DomName('AudioContext.createMediaStreamSource') | 367 @DomName('AudioContext.createMediaStreamSource') |
368 @DocsEditable() | 368 @DocsEditable() |
369 MediaStreamAudioSourceNode createMediaStreamSource(MediaStream mediaStream) =>
_blink.BlinkAudioContext.createMediaStreamSource_Callback_1(this, mediaStream); | 369 MediaStreamAudioSourceNode createMediaStreamSource(MediaStream mediaStream) =>
_blink.BlinkAudioContext.instance.createMediaStreamSource_Callback_1_(this, med
iaStream); |
370 | 370 |
371 @DomName('AudioContext.createOscillator') | 371 @DomName('AudioContext.createOscillator') |
372 @DocsEditable() | 372 @DocsEditable() |
373 OscillatorNode createOscillator() => _blink.BlinkAudioContext.createOscillator
_Callback_0(this); | 373 OscillatorNode createOscillator() => _blink.BlinkAudioContext.instance.createO
scillator_Callback_0_(this); |
374 | 374 |
375 @DomName('AudioContext.createPanner') | 375 @DomName('AudioContext.createPanner') |
376 @DocsEditable() | 376 @DocsEditable() |
377 PannerNode createPanner() => _blink.BlinkAudioContext.createPanner_Callback_0(
this); | 377 PannerNode createPanner() => _blink.BlinkAudioContext.instance.createPanner_Ca
llback_0_(this); |
378 | 378 |
379 @DomName('AudioContext.createPeriodicWave') | 379 @DomName('AudioContext.createPeriodicWave') |
380 @DocsEditable() | 380 @DocsEditable() |
381 @Experimental() // untriaged | 381 @Experimental() // untriaged |
382 PeriodicWave createPeriodicWave(Float32List real, Float32List imag) => _blink.
BlinkAudioContext.createPeriodicWave_Callback_2(this, real, imag); | 382 PeriodicWave createPeriodicWave(Float32List real, Float32List imag) => _blink.
BlinkAudioContext.instance.createPeriodicWave_Callback_2_(this, real, imag); |
383 | 383 |
384 ScriptProcessorNode createScriptProcessor([int bufferSize, int numberOfInputCh
annels, int numberOfOutputChannels]) { | 384 ScriptProcessorNode createScriptProcessor([int bufferSize, int numberOfInputCh
annels, int numberOfOutputChannels]) { |
385 if (numberOfOutputChannels != null) { | 385 if (numberOfOutputChannels != null) { |
386 return _blink.BlinkAudioContext.createScriptProcessor_Callback_3(this, buf
ferSize, numberOfInputChannels, numberOfOutputChannels); | 386 return _blink.BlinkAudioContext.instance.createScriptProcessor_Callback_3_
(this, bufferSize, numberOfInputChannels, numberOfOutputChannels); |
387 } | 387 } |
388 if (numberOfInputChannels != null) { | 388 if (numberOfInputChannels != null) { |
389 return _blink.BlinkAudioContext.createScriptProcessor_Callback_2(this, buf
ferSize, numberOfInputChannels); | 389 return _blink.BlinkAudioContext.instance.createScriptProcessor_Callback_2_
(this, bufferSize, numberOfInputChannels); |
390 } | 390 } |
391 if (bufferSize != null) { | 391 if (bufferSize != null) { |
392 return _blink.BlinkAudioContext.createScriptProcessor_Callback_1(this, buf
ferSize); | 392 return _blink.BlinkAudioContext.instance.createScriptProcessor_Callback_1_
(this, bufferSize); |
393 } | 393 } |
394 return _blink.BlinkAudioContext.createScriptProcessor_Callback_0(this); | 394 return _blink.BlinkAudioContext.instance.createScriptProcessor_Callback_0_(t
his); |
395 } | 395 } |
396 | 396 |
397 @DomName('AudioContext.createWaveShaper') | 397 @DomName('AudioContext.createWaveShaper') |
398 @DocsEditable() | 398 @DocsEditable() |
399 WaveShaperNode createWaveShaper() => _blink.BlinkAudioContext.createWaveShaper
_Callback_0(this); | 399 WaveShaperNode createWaveShaper() => _blink.BlinkAudioContext.instance.createW
aveShaper_Callback_0_(this); |
400 | 400 |
401 @DomName('AudioContext.decodeAudioData') | 401 @DomName('AudioContext.decodeAudioData') |
402 @DocsEditable() | 402 @DocsEditable() |
403 void _decodeAudioData(ByteBuffer audioData, AudioBufferCallback successCallbac
k, [AudioBufferCallback errorCallback]) => _blink.BlinkAudioContext.decodeAudioD
ata_Callback_3(this, audioData, successCallback, errorCallback); | 403 void _decodeAudioData(ByteBuffer audioData, AudioBufferCallback successCallbac
k, [AudioBufferCallback errorCallback]) => _blink.BlinkAudioContext.instance.dec
odeAudioData_Callback_3_(this, audioData, successCallback, errorCallback); |
404 | 404 |
405 @DomName('AudioContext.startRendering') | 405 @DomName('AudioContext.startRendering') |
406 @DocsEditable() | 406 @DocsEditable() |
407 void startRendering() => _blink.BlinkAudioContext.startRendering_Callback_0(th
is); | 407 void startRendering() => _blink.BlinkAudioContext.instance.startRendering_Call
back_0_(this); |
408 | 408 |
409 /// Stream of `complete` events handled by this [AudioContext]. | 409 /// Stream of `complete` events handled by this [AudioContext]. |
410 @DomName('AudioContext.oncomplete') | 410 @DomName('AudioContext.oncomplete') |
411 @DocsEditable() | 411 @DocsEditable() |
412 Stream<Event> get onComplete => completeEvent.forTarget(this); | 412 Stream<Event> get onComplete => completeEvent.forTarget(this); |
413 | 413 |
414 @DomName('AudioContext.decodeAudioData') | 414 @DomName('AudioContext.decodeAudioData') |
415 Future<AudioBuffer> decodeAudioData(ByteBuffer audioData) { | 415 Future<AudioBuffer> decodeAudioData(ByteBuffer audioData) { |
416 var completer = new Completer<AudioBuffer>(); | 416 var completer = new Completer<AudioBuffer>(); |
417 _decodeAudioData(audioData, | 417 _decodeAudioData(audioData, |
(...skipping 18 matching lines...) Expand all Loading... |
436 @DocsEditable() | 436 @DocsEditable() |
437 @DomName('AudioDestinationNode') | 437 @DomName('AudioDestinationNode') |
438 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioDe
stinationNode-section | 438 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioDe
stinationNode-section |
439 @Experimental() | 439 @Experimental() |
440 class AudioDestinationNode extends AudioNode { | 440 class AudioDestinationNode extends AudioNode { |
441 // To suppress missing implicit constructor warnings. | 441 // To suppress missing implicit constructor warnings. |
442 factory AudioDestinationNode._() { throw new UnsupportedError("Not supported")
; } | 442 factory AudioDestinationNode._() { throw new UnsupportedError("Not supported")
; } |
443 | 443 |
444 @DomName('AudioDestinationNode.maxChannelCount') | 444 @DomName('AudioDestinationNode.maxChannelCount') |
445 @DocsEditable() | 445 @DocsEditable() |
446 int get maxChannelCount => _blink.BlinkAudioDestinationNode.maxChannelCount_Ge
tter(this); | 446 int get maxChannelCount => _blink.BlinkAudioDestinationNode.instance.maxChanne
lCount_Getter_(this); |
447 | 447 |
448 } | 448 } |
449 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 449 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
450 // for details. All rights reserved. Use of this source code is governed by a | 450 // for details. All rights reserved. Use of this source code is governed by a |
451 // BSD-style license that can be found in the LICENSE file. | 451 // BSD-style license that can be found in the LICENSE file. |
452 | 452 |
453 // WARNING: Do not edit - generated code. | 453 // WARNING: Do not edit - generated code. |
454 | 454 |
455 | 455 |
456 @DocsEditable() | 456 @DocsEditable() |
457 @DomName('AudioListener') | 457 @DomName('AudioListener') |
458 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioLi
stener-section | 458 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioLi
stener-section |
459 @Experimental() | 459 @Experimental() |
460 class AudioListener extends NativeFieldWrapperClass2 { | 460 class AudioListener extends NativeFieldWrapperClass2 { |
461 // To suppress missing implicit constructor warnings. | 461 // To suppress missing implicit constructor warnings. |
462 factory AudioListener._() { throw new UnsupportedError("Not supported"); } | 462 factory AudioListener._() { throw new UnsupportedError("Not supported"); } |
463 | 463 |
464 @DomName('AudioListener.dopplerFactor') | 464 @DomName('AudioListener.dopplerFactor') |
465 @DocsEditable() | 465 @DocsEditable() |
466 num get dopplerFactor => _blink.BlinkAudioListener.dopplerFactor_Getter(this); | 466 num get dopplerFactor => _blink.BlinkAudioListener.instance.dopplerFactor_Gett
er_(this); |
467 | 467 |
468 @DomName('AudioListener.dopplerFactor') | 468 @DomName('AudioListener.dopplerFactor') |
469 @DocsEditable() | 469 @DocsEditable() |
470 void set dopplerFactor(num value) => _blink.BlinkAudioListener.dopplerFactor_S
etter(this, value); | 470 void set dopplerFactor(num value) => _blink.BlinkAudioListener.instance.dopple
rFactor_Setter_(this, value); |
471 | 471 |
472 @DomName('AudioListener.speedOfSound') | 472 @DomName('AudioListener.speedOfSound') |
473 @DocsEditable() | 473 @DocsEditable() |
474 num get speedOfSound => _blink.BlinkAudioListener.speedOfSound_Getter(this); | 474 num get speedOfSound => _blink.BlinkAudioListener.instance.speedOfSound_Getter
_(this); |
475 | 475 |
476 @DomName('AudioListener.speedOfSound') | 476 @DomName('AudioListener.speedOfSound') |
477 @DocsEditable() | 477 @DocsEditable() |
478 void set speedOfSound(num value) => _blink.BlinkAudioListener.speedOfSound_Set
ter(this, value); | 478 void set speedOfSound(num value) => _blink.BlinkAudioListener.instance.speedOf
Sound_Setter_(this, value); |
479 | 479 |
480 @DomName('AudioListener.setOrientation') | 480 @DomName('AudioListener.setOrientation') |
481 @DocsEditable() | 481 @DocsEditable() |
482 void setOrientation(num x, num y, num z, num xUp, num yUp, num zUp) => _blink.
BlinkAudioListener.setOrientation_Callback_6(this, x, y, z, xUp, yUp, zUp); | 482 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); |
483 | 483 |
484 @DomName('AudioListener.setPosition') | 484 @DomName('AudioListener.setPosition') |
485 @DocsEditable() | 485 @DocsEditable() |
486 void setPosition(num x, num y, num z) => _blink.BlinkAudioListener.setPosition
_Callback_3(this, x, y, z); | 486 void setPosition(num x, num y, num z) => _blink.BlinkAudioListener.instance.se
tPosition_Callback_3_(this, x, y, z); |
487 | 487 |
488 @DomName('AudioListener.setVelocity') | 488 @DomName('AudioListener.setVelocity') |
489 @DocsEditable() | 489 @DocsEditable() |
490 void setVelocity(num x, num y, num z) => _blink.BlinkAudioListener.setVelocity
_Callback_3(this, x, y, z); | 490 void setVelocity(num x, num y, num z) => _blink.BlinkAudioListener.instance.se
tVelocity_Callback_3_(this, x, y, z); |
491 | 491 |
492 } | 492 } |
493 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 493 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
494 // for details. All rights reserved. Use of this source code is governed by a | 494 // for details. All rights reserved. Use of this source code is governed by a |
495 // BSD-style license that can be found in the LICENSE file. | 495 // BSD-style license that can be found in the LICENSE file. |
496 | 496 |
497 | 497 |
498 @DomName('AudioNode') | 498 @DomName('AudioNode') |
499 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioNo
de-section | 499 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioNo
de-section |
500 @Experimental() | 500 @Experimental() |
501 class AudioNode extends EventTarget { | 501 class AudioNode extends EventTarget { |
502 // To suppress missing implicit constructor warnings. | 502 // To suppress missing implicit constructor warnings. |
503 factory AudioNode._() { throw new UnsupportedError("Not supported"); } | 503 factory AudioNode._() { throw new UnsupportedError("Not supported"); } |
504 | 504 |
505 @DomName('AudioNode.channelCount') | 505 @DomName('AudioNode.channelCount') |
506 @DocsEditable() | 506 @DocsEditable() |
507 int get channelCount => _blink.BlinkAudioNode.channelCount_Getter(this); | 507 int get channelCount => _blink.BlinkAudioNode.instance.channelCount_Getter_(th
is); |
508 | 508 |
509 @DomName('AudioNode.channelCount') | 509 @DomName('AudioNode.channelCount') |
510 @DocsEditable() | 510 @DocsEditable() |
511 void set channelCount(int value) => _blink.BlinkAudioNode.channelCount_Setter(
this, value); | 511 void set channelCount(int value) => _blink.BlinkAudioNode.instance.channelCoun
t_Setter_(this, value); |
512 | 512 |
513 @DomName('AudioNode.channelCountMode') | 513 @DomName('AudioNode.channelCountMode') |
514 @DocsEditable() | 514 @DocsEditable() |
515 String get channelCountMode => _blink.BlinkAudioNode.channelCountMode_Getter(t
his); | 515 String get channelCountMode => _blink.BlinkAudioNode.instance.channelCountMode
_Getter_(this); |
516 | 516 |
517 @DomName('AudioNode.channelCountMode') | 517 @DomName('AudioNode.channelCountMode') |
518 @DocsEditable() | 518 @DocsEditable() |
519 void set channelCountMode(String value) => _blink.BlinkAudioNode.channelCountM
ode_Setter(this, value); | 519 void set channelCountMode(String value) => _blink.BlinkAudioNode.instance.chan
nelCountMode_Setter_(this, value); |
520 | 520 |
521 @DomName('AudioNode.channelInterpretation') | 521 @DomName('AudioNode.channelInterpretation') |
522 @DocsEditable() | 522 @DocsEditable() |
523 String get channelInterpretation => _blink.BlinkAudioNode.channelInterpretatio
n_Getter(this); | 523 String get channelInterpretation => _blink.BlinkAudioNode.instance.channelInte
rpretation_Getter_(this); |
524 | 524 |
525 @DomName('AudioNode.channelInterpretation') | 525 @DomName('AudioNode.channelInterpretation') |
526 @DocsEditable() | 526 @DocsEditable() |
527 void set channelInterpretation(String value) => _blink.BlinkAudioNode.channelI
nterpretation_Setter(this, value); | 527 void set channelInterpretation(String value) => _blink.BlinkAudioNode.instance
.channelInterpretation_Setter_(this, value); |
528 | 528 |
529 @DomName('AudioNode.context') | 529 @DomName('AudioNode.context') |
530 @DocsEditable() | 530 @DocsEditable() |
531 AudioContext get context => _blink.BlinkAudioNode.context_Getter(this); | 531 AudioContext get context => _blink.BlinkAudioNode.instance.context_Getter_(thi
s); |
532 | 532 |
533 @DomName('AudioNode.numberOfInputs') | 533 @DomName('AudioNode.numberOfInputs') |
534 @DocsEditable() | 534 @DocsEditable() |
535 int get numberOfInputs => _blink.BlinkAudioNode.numberOfInputs_Getter(this); | 535 int get numberOfInputs => _blink.BlinkAudioNode.instance.numberOfInputs_Getter
_(this); |
536 | 536 |
537 @DomName('AudioNode.numberOfOutputs') | 537 @DomName('AudioNode.numberOfOutputs') |
538 @DocsEditable() | 538 @DocsEditable() |
539 int get numberOfOutputs => _blink.BlinkAudioNode.numberOfOutputs_Getter(this); | 539 int get numberOfOutputs => _blink.BlinkAudioNode.instance.numberOfOutputs_Gett
er_(this); |
540 | 540 |
541 void _connect(destination, int output, [int input]) { | 541 void _connect(destination, int output, [int input]) { |
542 if ((input is int || input == null) && (output is int || output == null) &&
(destination is AudioNode || destination == null)) { | 542 if ((input is int || input == null) && (output is int || output == null) &&
(destination is AudioNode || destination == null)) { |
543 _blink.BlinkAudioNode.connect_Callback_3(this, destination, output, input)
; | 543 _blink.BlinkAudioNode.instance.connect_Callback_3_(this, destination, outp
ut, input); |
544 return; | 544 return; |
545 } | 545 } |
546 if ((output is int || output == null) && (destination is AudioParam || desti
nation == null) && input == null) { | 546 if ((output is int || output == null) && (destination is AudioParam || desti
nation == null) && input == null) { |
547 _blink.BlinkAudioNode.connect_Callback_2(this, destination, output); | 547 _blink.BlinkAudioNode.instance.connect_Callback_2_(this, destination, outp
ut); |
548 return; | 548 return; |
549 } | 549 } |
550 throw new ArgumentError("Incorrect number or type of arguments"); | 550 throw new ArgumentError("Incorrect number or type of arguments"); |
551 } | 551 } |
552 | 552 |
553 @DomName('AudioNode.disconnect') | 553 @DomName('AudioNode.disconnect') |
554 @DocsEditable() | 554 @DocsEditable() |
555 void disconnect(int output) => _blink.BlinkAudioNode.disconnect_Callback_1(thi
s, output); | 555 void disconnect(int output) => _blink.BlinkAudioNode.instance.disconnect_Callb
ack_1_(this, output); |
556 | 556 |
557 @DomName('AudioNode.connect') | 557 @DomName('AudioNode.connect') |
558 void connectNode(AudioNode destination, [int output = 0, int input = 0]) => | 558 void connectNode(AudioNode destination, [int output = 0, int input = 0]) => |
559 _connect(destination, output, input); | 559 _connect(destination, output, input); |
560 | 560 |
561 @DomName('AudioNode.connect') | 561 @DomName('AudioNode.connect') |
562 void connectParam(AudioParam destination, [int output = 0]) => | 562 void connectParam(AudioParam destination, [int output = 0]) => |
563 _connect(destination, output); | 563 _connect(destination, output); |
564 } | 564 } |
565 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 565 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
566 // for details. All rights reserved. Use of this source code is governed by a | 566 // for details. All rights reserved. Use of this source code is governed by a |
567 // BSD-style license that can be found in the LICENSE file. | 567 // BSD-style license that can be found in the LICENSE file. |
568 | 568 |
569 // WARNING: Do not edit - generated code. | 569 // WARNING: Do not edit - generated code. |
570 | 570 |
571 | 571 |
572 @DocsEditable() | 572 @DocsEditable() |
573 @DomName('AudioParam') | 573 @DomName('AudioParam') |
574 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioPa
ram | 574 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioPa
ram |
575 @Experimental() | 575 @Experimental() |
576 class AudioParam extends NativeFieldWrapperClass2 { | 576 class AudioParam extends NativeFieldWrapperClass2 { |
577 // To suppress missing implicit constructor warnings. | 577 // To suppress missing implicit constructor warnings. |
578 factory AudioParam._() { throw new UnsupportedError("Not supported"); } | 578 factory AudioParam._() { throw new UnsupportedError("Not supported"); } |
579 | 579 |
580 @DomName('AudioParam.defaultValue') | 580 @DomName('AudioParam.defaultValue') |
581 @DocsEditable() | 581 @DocsEditable() |
582 double get defaultValue => _blink.BlinkAudioParam.defaultValue_Getter(this); | 582 double get defaultValue => _blink.BlinkAudioParam.instance.defaultValue_Getter
_(this); |
583 | 583 |
584 @DomName('AudioParam.value') | 584 @DomName('AudioParam.value') |
585 @DocsEditable() | 585 @DocsEditable() |
586 num get value => _blink.BlinkAudioParam.value_Getter(this); | 586 num get value => _blink.BlinkAudioParam.instance.value_Getter_(this); |
587 | 587 |
588 @DomName('AudioParam.value') | 588 @DomName('AudioParam.value') |
589 @DocsEditable() | 589 @DocsEditable() |
590 void set value(num value) => _blink.BlinkAudioParam.value_Setter(this, value); | 590 void set value(num value) => _blink.BlinkAudioParam.instance.value_Setter_(thi
s, value); |
591 | 591 |
592 @DomName('AudioParam.cancelScheduledValues') | 592 @DomName('AudioParam.cancelScheduledValues') |
593 @DocsEditable() | 593 @DocsEditable() |
594 void cancelScheduledValues(num startTime) => _blink.BlinkAudioParam.cancelSche
duledValues_Callback_1(this, startTime); | 594 void cancelScheduledValues(num startTime) => _blink.BlinkAudioParam.instance.c
ancelScheduledValues_Callback_1_(this, startTime); |
595 | 595 |
596 @DomName('AudioParam.exponentialRampToValueAtTime') | 596 @DomName('AudioParam.exponentialRampToValueAtTime') |
597 @DocsEditable() | 597 @DocsEditable() |
598 void exponentialRampToValueAtTime(num value, num time) => _blink.BlinkAudioPar
am.exponentialRampToValueAtTime_Callback_2(this, value, time); | 598 void exponentialRampToValueAtTime(num value, num time) => _blink.BlinkAudioPar
am.instance.exponentialRampToValueAtTime_Callback_2_(this, value, time); |
599 | 599 |
600 @DomName('AudioParam.linearRampToValueAtTime') | 600 @DomName('AudioParam.linearRampToValueAtTime') |
601 @DocsEditable() | 601 @DocsEditable() |
602 void linearRampToValueAtTime(num value, num time) => _blink.BlinkAudioParam.li
nearRampToValueAtTime_Callback_2(this, value, time); | 602 void linearRampToValueAtTime(num value, num time) => _blink.BlinkAudioParam.in
stance.linearRampToValueAtTime_Callback_2_(this, value, time); |
603 | 603 |
604 @DomName('AudioParam.setTargetAtTime') | 604 @DomName('AudioParam.setTargetAtTime') |
605 @DocsEditable() | 605 @DocsEditable() |
606 void setTargetAtTime(num target, num time, num timeConstant) => _blink.BlinkAu
dioParam.setTargetAtTime_Callback_3(this, target, time, timeConstant); | 606 void setTargetAtTime(num target, num time, num timeConstant) => _blink.BlinkAu
dioParam.instance.setTargetAtTime_Callback_3_(this, target, time, timeConstant); |
607 | 607 |
608 @DomName('AudioParam.setValueAtTime') | 608 @DomName('AudioParam.setValueAtTime') |
609 @DocsEditable() | 609 @DocsEditable() |
610 void setValueAtTime(num value, num time) => _blink.BlinkAudioParam.setValueAtT
ime_Callback_2(this, value, time); | 610 void setValueAtTime(num value, num time) => _blink.BlinkAudioParam.instance.se
tValueAtTime_Callback_2_(this, value, time); |
611 | 611 |
612 @DomName('AudioParam.setValueCurveAtTime') | 612 @DomName('AudioParam.setValueCurveAtTime') |
613 @DocsEditable() | 613 @DocsEditable() |
614 void setValueCurveAtTime(Float32List values, num time, num duration) => _blink
.BlinkAudioParam.setValueCurveAtTime_Callback_3(this, values, time, duration); | 614 void setValueCurveAtTime(Float32List values, num time, num duration) => _blink
.BlinkAudioParam.instance.setValueCurveAtTime_Callback_3_(this, values, time, du
ration); |
615 | 615 |
616 } | 616 } |
617 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 617 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
618 // for details. All rights reserved. Use of this source code is governed by a | 618 // for details. All rights reserved. Use of this source code is governed by a |
619 // BSD-style license that can be found in the LICENSE file. | 619 // BSD-style license that can be found in the LICENSE file. |
620 | 620 |
621 // WARNING: Do not edit - generated code. | 621 // WARNING: Do not edit - generated code. |
622 | 622 |
623 | 623 |
624 @DocsEditable() | 624 @DocsEditable() |
625 @DomName('AudioProcessingEvent') | 625 @DomName('AudioProcessingEvent') |
626 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioPr
ocessingEvent-section | 626 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioPr
ocessingEvent-section |
627 @Experimental() | 627 @Experimental() |
628 class AudioProcessingEvent extends Event { | 628 class AudioProcessingEvent extends Event { |
629 // To suppress missing implicit constructor warnings. | 629 // To suppress missing implicit constructor warnings. |
630 factory AudioProcessingEvent._() { throw new UnsupportedError("Not supported")
; } | 630 factory AudioProcessingEvent._() { throw new UnsupportedError("Not supported")
; } |
631 | 631 |
632 @DomName('AudioProcessingEvent.inputBuffer') | 632 @DomName('AudioProcessingEvent.inputBuffer') |
633 @DocsEditable() | 633 @DocsEditable() |
634 AudioBuffer get inputBuffer => _blink.BlinkAudioProcessingEvent.inputBuffer_Ge
tter(this); | 634 AudioBuffer get inputBuffer => _blink.BlinkAudioProcessingEvent.instance.input
Buffer_Getter_(this); |
635 | 635 |
636 @DomName('AudioProcessingEvent.outputBuffer') | 636 @DomName('AudioProcessingEvent.outputBuffer') |
637 @DocsEditable() | 637 @DocsEditable() |
638 AudioBuffer get outputBuffer => _blink.BlinkAudioProcessingEvent.outputBuffer_
Getter(this); | 638 AudioBuffer get outputBuffer => _blink.BlinkAudioProcessingEvent.instance.outp
utBuffer_Getter_(this); |
639 | 639 |
640 @DomName('AudioProcessingEvent.playbackTime') | 640 @DomName('AudioProcessingEvent.playbackTime') |
641 @DocsEditable() | 641 @DocsEditable() |
642 @Experimental() // untriaged | 642 @Experimental() // untriaged |
643 double get playbackTime => _blink.BlinkAudioProcessingEvent.playbackTime_Gette
r(this); | 643 double get playbackTime => _blink.BlinkAudioProcessingEvent.instance.playbackT
ime_Getter_(this); |
644 | 644 |
645 } | 645 } |
646 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 646 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
647 // for details. All rights reserved. Use of this source code is governed by a | 647 // for details. All rights reserved. Use of this source code is governed by a |
648 // BSD-style license that can be found in the LICENSE file. | 648 // BSD-style license that can be found in the LICENSE file. |
649 | 649 |
650 // WARNING: Do not edit - generated code. | 650 // WARNING: Do not edit - generated code. |
651 | 651 |
652 | 652 |
653 @DocsEditable() | 653 @DocsEditable() |
(...skipping 15 matching lines...) Expand all Loading... |
669 @DocsEditable() | 669 @DocsEditable() |
670 @DomName('BiquadFilterNode') | 670 @DomName('BiquadFilterNode') |
671 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#BiquadF
ilterNode-section | 671 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#BiquadF
ilterNode-section |
672 @Experimental() | 672 @Experimental() |
673 class BiquadFilterNode extends AudioNode { | 673 class BiquadFilterNode extends AudioNode { |
674 // To suppress missing implicit constructor warnings. | 674 // To suppress missing implicit constructor warnings. |
675 factory BiquadFilterNode._() { throw new UnsupportedError("Not supported"); } | 675 factory BiquadFilterNode._() { throw new UnsupportedError("Not supported"); } |
676 | 676 |
677 @DomName('BiquadFilterNode.Q') | 677 @DomName('BiquadFilterNode.Q') |
678 @DocsEditable() | 678 @DocsEditable() |
679 AudioParam get Q => _blink.BlinkBiquadFilterNode.Q_Getter(this); | 679 AudioParam get Q => _blink.BlinkBiquadFilterNode.instance.Q_Getter_(this); |
680 | 680 |
681 @DomName('BiquadFilterNode.detune') | 681 @DomName('BiquadFilterNode.detune') |
682 @DocsEditable() | 682 @DocsEditable() |
683 AudioParam get detune => _blink.BlinkBiquadFilterNode.detune_Getter(this); | 683 AudioParam get detune => _blink.BlinkBiquadFilterNode.instance.detune_Getter_(
this); |
684 | 684 |
685 @DomName('BiquadFilterNode.frequency') | 685 @DomName('BiquadFilterNode.frequency') |
686 @DocsEditable() | 686 @DocsEditable() |
687 AudioParam get frequency => _blink.BlinkBiquadFilterNode.frequency_Getter(this
); | 687 AudioParam get frequency => _blink.BlinkBiquadFilterNode.instance.frequency_Ge
tter_(this); |
688 | 688 |
689 @DomName('BiquadFilterNode.gain') | 689 @DomName('BiquadFilterNode.gain') |
690 @DocsEditable() | 690 @DocsEditable() |
691 AudioParam get gain => _blink.BlinkBiquadFilterNode.gain_Getter(this); | 691 AudioParam get gain => _blink.BlinkBiquadFilterNode.instance.gain_Getter_(this
); |
692 | 692 |
693 @DomName('BiquadFilterNode.type') | 693 @DomName('BiquadFilterNode.type') |
694 @DocsEditable() | 694 @DocsEditable() |
695 String get type => _blink.BlinkBiquadFilterNode.type_Getter(this); | 695 String get type => _blink.BlinkBiquadFilterNode.instance.type_Getter_(this); |
696 | 696 |
697 @DomName('BiquadFilterNode.type') | 697 @DomName('BiquadFilterNode.type') |
698 @DocsEditable() | 698 @DocsEditable() |
699 void set type(String value) => _blink.BlinkBiquadFilterNode.type_Setter(this,
value); | 699 void set type(String value) => _blink.BlinkBiquadFilterNode.instance.type_Sett
er_(this, value); |
700 | 700 |
701 @DomName('BiquadFilterNode.getFrequencyResponse') | 701 @DomName('BiquadFilterNode.getFrequencyResponse') |
702 @DocsEditable() | 702 @DocsEditable() |
703 void getFrequencyResponse(Float32List frequencyHz, Float32List magResponse, Fl
oat32List phaseResponse) => _blink.BlinkBiquadFilterNode.getFrequencyResponse_Ca
llback_3(this, frequencyHz, magResponse, phaseResponse); | 703 void getFrequencyResponse(Float32List frequencyHz, Float32List magResponse, Fl
oat32List phaseResponse) => _blink.BlinkBiquadFilterNode.instance.getFrequencyRe
sponse_Callback_3_(this, frequencyHz, magResponse, phaseResponse); |
704 | 704 |
705 } | 705 } |
706 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 706 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
707 // for details. All rights reserved. Use of this source code is governed by a | 707 // for details. All rights reserved. Use of this source code is governed by a |
708 // BSD-style license that can be found in the LICENSE file. | 708 // BSD-style license that can be found in the LICENSE file. |
709 | 709 |
710 // WARNING: Do not edit - generated code. | 710 // WARNING: Do not edit - generated code. |
711 | 711 |
712 | 712 |
713 @DocsEditable() | 713 @DocsEditable() |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
745 @DocsEditable() | 745 @DocsEditable() |
746 @DomName('ConvolverNode') | 746 @DomName('ConvolverNode') |
747 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Convolv
erNode | 747 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Convolv
erNode |
748 @Experimental() | 748 @Experimental() |
749 class ConvolverNode extends AudioNode { | 749 class ConvolverNode extends AudioNode { |
750 // To suppress missing implicit constructor warnings. | 750 // To suppress missing implicit constructor warnings. |
751 factory ConvolverNode._() { throw new UnsupportedError("Not supported"); } | 751 factory ConvolverNode._() { throw new UnsupportedError("Not supported"); } |
752 | 752 |
753 @DomName('ConvolverNode.buffer') | 753 @DomName('ConvolverNode.buffer') |
754 @DocsEditable() | 754 @DocsEditable() |
755 AudioBuffer get buffer => _blink.BlinkConvolverNode.buffer_Getter(this); | 755 AudioBuffer get buffer => _blink.BlinkConvolverNode.instance.buffer_Getter_(th
is); |
756 | 756 |
757 @DomName('ConvolverNode.buffer') | 757 @DomName('ConvolverNode.buffer') |
758 @DocsEditable() | 758 @DocsEditable() |
759 void set buffer(AudioBuffer value) => _blink.BlinkConvolverNode.buffer_Setter(
this, value); | 759 void set buffer(AudioBuffer value) => _blink.BlinkConvolverNode.instance.buffe
r_Setter_(this, value); |
760 | 760 |
761 @DomName('ConvolverNode.normalize') | 761 @DomName('ConvolverNode.normalize') |
762 @DocsEditable() | 762 @DocsEditable() |
763 bool get normalize => _blink.BlinkConvolverNode.normalize_Getter(this); | 763 bool get normalize => _blink.BlinkConvolverNode.instance.normalize_Getter_(thi
s); |
764 | 764 |
765 @DomName('ConvolverNode.normalize') | 765 @DomName('ConvolverNode.normalize') |
766 @DocsEditable() | 766 @DocsEditable() |
767 void set normalize(bool value) => _blink.BlinkConvolverNode.normalize_Setter(t
his, value); | 767 void set normalize(bool value) => _blink.BlinkConvolverNode.instance.normalize
_Setter_(this, value); |
768 | 768 |
769 } | 769 } |
770 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 770 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
771 // for details. All rights reserved. Use of this source code is governed by a | 771 // for details. All rights reserved. Use of this source code is governed by a |
772 // BSD-style license that can be found in the LICENSE file. | 772 // BSD-style license that can be found in the LICENSE file. |
773 | 773 |
774 // WARNING: Do not edit - generated code. | 774 // WARNING: Do not edit - generated code. |
775 | 775 |
776 | 776 |
777 @DocsEditable() | 777 @DocsEditable() |
778 @DomName('DelayNode') | 778 @DomName('DelayNode') |
779 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#DelayNo
de | 779 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#DelayNo
de |
780 @Experimental() | 780 @Experimental() |
781 class DelayNode extends AudioNode { | 781 class DelayNode extends AudioNode { |
782 // To suppress missing implicit constructor warnings. | 782 // To suppress missing implicit constructor warnings. |
783 factory DelayNode._() { throw new UnsupportedError("Not supported"); } | 783 factory DelayNode._() { throw new UnsupportedError("Not supported"); } |
784 | 784 |
785 @DomName('DelayNode.delayTime') | 785 @DomName('DelayNode.delayTime') |
786 @DocsEditable() | 786 @DocsEditable() |
787 AudioParam get delayTime => _blink.BlinkDelayNode.delayTime_Getter(this); | 787 AudioParam get delayTime => _blink.BlinkDelayNode.instance.delayTime_Getter_(t
his); |
788 | 788 |
789 } | 789 } |
790 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 790 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
791 // for details. All rights reserved. Use of this source code is governed by a | 791 // for details. All rights reserved. Use of this source code is governed by a |
792 // BSD-style license that can be found in the LICENSE file. | 792 // BSD-style license that can be found in the LICENSE file. |
793 | 793 |
794 // WARNING: Do not edit - generated code. | 794 // WARNING: Do not edit - generated code. |
795 | 795 |
796 | 796 |
797 @DocsEditable() | 797 @DocsEditable() |
798 @DomName('DynamicsCompressorNode') | 798 @DomName('DynamicsCompressorNode') |
799 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Dynamic
sCompressorNode | 799 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Dynamic
sCompressorNode |
800 @Experimental() | 800 @Experimental() |
801 class DynamicsCompressorNode extends AudioNode { | 801 class DynamicsCompressorNode extends AudioNode { |
802 // To suppress missing implicit constructor warnings. | 802 // To suppress missing implicit constructor warnings. |
803 factory DynamicsCompressorNode._() { throw new UnsupportedError("Not supported
"); } | 803 factory DynamicsCompressorNode._() { throw new UnsupportedError("Not supported
"); } |
804 | 804 |
805 @DomName('DynamicsCompressorNode.attack') | 805 @DomName('DynamicsCompressorNode.attack') |
806 @DocsEditable() | 806 @DocsEditable() |
807 AudioParam get attack => _blink.BlinkDynamicsCompressorNode.attack_Getter(this
); | 807 AudioParam get attack => _blink.BlinkDynamicsCompressorNode.instance.attack_Ge
tter_(this); |
808 | 808 |
809 @DomName('DynamicsCompressorNode.knee') | 809 @DomName('DynamicsCompressorNode.knee') |
810 @DocsEditable() | 810 @DocsEditable() |
811 AudioParam get knee => _blink.BlinkDynamicsCompressorNode.knee_Getter(this); | 811 AudioParam get knee => _blink.BlinkDynamicsCompressorNode.instance.knee_Getter
_(this); |
812 | 812 |
813 @DomName('DynamicsCompressorNode.ratio') | 813 @DomName('DynamicsCompressorNode.ratio') |
814 @DocsEditable() | 814 @DocsEditable() |
815 AudioParam get ratio => _blink.BlinkDynamicsCompressorNode.ratio_Getter(this); | 815 AudioParam get ratio => _blink.BlinkDynamicsCompressorNode.instance.ratio_Gett
er_(this); |
816 | 816 |
817 @DomName('DynamicsCompressorNode.reduction') | 817 @DomName('DynamicsCompressorNode.reduction') |
818 @DocsEditable() | 818 @DocsEditable() |
819 AudioParam get reduction => _blink.BlinkDynamicsCompressorNode.reduction_Gette
r(this); | 819 AudioParam get reduction => _blink.BlinkDynamicsCompressorNode.instance.reduct
ion_Getter_(this); |
820 | 820 |
821 @DomName('DynamicsCompressorNode.release') | 821 @DomName('DynamicsCompressorNode.release') |
822 @DocsEditable() | 822 @DocsEditable() |
823 AudioParam get release => _blink.BlinkDynamicsCompressorNode.release_Getter(th
is); | 823 AudioParam get release => _blink.BlinkDynamicsCompressorNode.instance.release_
Getter_(this); |
824 | 824 |
825 @DomName('DynamicsCompressorNode.threshold') | 825 @DomName('DynamicsCompressorNode.threshold') |
826 @DocsEditable() | 826 @DocsEditable() |
827 AudioParam get threshold => _blink.BlinkDynamicsCompressorNode.threshold_Gette
r(this); | 827 AudioParam get threshold => _blink.BlinkDynamicsCompressorNode.instance.thresh
old_Getter_(this); |
828 | 828 |
829 } | 829 } |
830 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 830 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
831 // for details. All rights reserved. Use of this source code is governed by a | 831 // for details. All rights reserved. Use of this source code is governed by a |
832 // BSD-style license that can be found in the LICENSE file. | 832 // BSD-style license that can be found in the LICENSE file. |
833 | 833 |
834 // WARNING: Do not edit - generated code. | 834 // WARNING: Do not edit - generated code. |
835 | 835 |
836 | 836 |
837 @DocsEditable() | 837 @DocsEditable() |
838 @DomName('GainNode') | 838 @DomName('GainNode') |
839 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#GainNod
e | 839 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#GainNod
e |
840 @Experimental() | 840 @Experimental() |
841 class GainNode extends AudioNode { | 841 class GainNode extends AudioNode { |
842 // To suppress missing implicit constructor warnings. | 842 // To suppress missing implicit constructor warnings. |
843 factory GainNode._() { throw new UnsupportedError("Not supported"); } | 843 factory GainNode._() { throw new UnsupportedError("Not supported"); } |
844 | 844 |
845 @DomName('GainNode.gain') | 845 @DomName('GainNode.gain') |
846 @DocsEditable() | 846 @DocsEditable() |
847 AudioParam get gain => _blink.BlinkGainNode.gain_Getter(this); | 847 AudioParam get gain => _blink.BlinkGainNode.instance.gain_Getter_(this); |
848 | 848 |
849 } | 849 } |
850 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 850 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
851 // for details. All rights reserved. Use of this source code is governed by a | 851 // for details. All rights reserved. Use of this source code is governed by a |
852 // BSD-style license that can be found in the LICENSE file. | 852 // BSD-style license that can be found in the LICENSE file. |
853 | 853 |
854 // WARNING: Do not edit - generated code. | 854 // WARNING: Do not edit - generated code. |
855 | 855 |
856 | 856 |
857 @DocsEditable() | 857 @DocsEditable() |
858 @DomName('MediaElementAudioSourceNode') | 858 @DomName('MediaElementAudioSourceNode') |
859 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaEl
ementAudioSourceNode | 859 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaEl
ementAudioSourceNode |
860 @Experimental() | 860 @Experimental() |
861 class MediaElementAudioSourceNode extends AudioSourceNode { | 861 class MediaElementAudioSourceNode extends AudioSourceNode { |
862 // To suppress missing implicit constructor warnings. | 862 // To suppress missing implicit constructor warnings. |
863 factory MediaElementAudioSourceNode._() { throw new UnsupportedError("Not supp
orted"); } | 863 factory MediaElementAudioSourceNode._() { throw new UnsupportedError("Not supp
orted"); } |
864 | 864 |
865 @DomName('MediaElementAudioSourceNode.mediaElement') | 865 @DomName('MediaElementAudioSourceNode.mediaElement') |
866 @DocsEditable() | 866 @DocsEditable() |
867 @Experimental() // non-standard | 867 @Experimental() // non-standard |
868 MediaElement get mediaElement => _blink.BlinkMediaElementAudioSourceNode.media
Element_Getter(this); | 868 MediaElement get mediaElement => _blink.BlinkMediaElementAudioSourceNode.insta
nce.mediaElement_Getter_(this); |
869 | 869 |
870 } | 870 } |
871 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 871 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
872 // for details. All rights reserved. Use of this source code is governed by a | 872 // for details. All rights reserved. Use of this source code is governed by a |
873 // BSD-style license that can be found in the LICENSE file. | 873 // BSD-style license that can be found in the LICENSE file. |
874 | 874 |
875 // WARNING: Do not edit - generated code. | 875 // WARNING: Do not edit - generated code. |
876 | 876 |
877 | 877 |
878 @DocsEditable() | 878 @DocsEditable() |
879 @DomName('MediaStreamAudioDestinationNode') | 879 @DomName('MediaStreamAudioDestinationNode') |
880 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaSt
reamAudioDestinationNode | 880 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaSt
reamAudioDestinationNode |
881 @Experimental() | 881 @Experimental() |
882 class MediaStreamAudioDestinationNode extends AudioNode { | 882 class MediaStreamAudioDestinationNode extends AudioNode { |
883 // To suppress missing implicit constructor warnings. | 883 // To suppress missing implicit constructor warnings. |
884 factory MediaStreamAudioDestinationNode._() { throw new UnsupportedError("Not
supported"); } | 884 factory MediaStreamAudioDestinationNode._() { throw new UnsupportedError("Not
supported"); } |
885 | 885 |
886 @DomName('MediaStreamAudioDestinationNode.stream') | 886 @DomName('MediaStreamAudioDestinationNode.stream') |
887 @DocsEditable() | 887 @DocsEditable() |
888 MediaStream get stream => _blink.BlinkMediaStreamAudioDestinationNode.stream_G
etter(this); | 888 MediaStream get stream => _blink.BlinkMediaStreamAudioDestinationNode.instance
.stream_Getter_(this); |
889 | 889 |
890 } | 890 } |
891 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 891 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
892 // for details. All rights reserved. Use of this source code is governed by a | 892 // for details. All rights reserved. Use of this source code is governed by a |
893 // BSD-style license that can be found in the LICENSE file. | 893 // BSD-style license that can be found in the LICENSE file. |
894 | 894 |
895 // WARNING: Do not edit - generated code. | 895 // WARNING: Do not edit - generated code. |
896 | 896 |
897 | 897 |
898 @DocsEditable() | 898 @DocsEditable() |
899 @DomName('MediaStreamAudioSourceNode') | 899 @DomName('MediaStreamAudioSourceNode') |
900 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaSt
reamAudioSourceNode | 900 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaSt
reamAudioSourceNode |
901 @Experimental() | 901 @Experimental() |
902 class MediaStreamAudioSourceNode extends AudioSourceNode { | 902 class MediaStreamAudioSourceNode extends AudioSourceNode { |
903 // To suppress missing implicit constructor warnings. | 903 // To suppress missing implicit constructor warnings. |
904 factory MediaStreamAudioSourceNode._() { throw new UnsupportedError("Not suppo
rted"); } | 904 factory MediaStreamAudioSourceNode._() { throw new UnsupportedError("Not suppo
rted"); } |
905 | 905 |
906 @DomName('MediaStreamAudioSourceNode.mediaStream') | 906 @DomName('MediaStreamAudioSourceNode.mediaStream') |
907 @DocsEditable() | 907 @DocsEditable() |
908 MediaStream get mediaStream => _blink.BlinkMediaStreamAudioSourceNode.mediaStr
eam_Getter(this); | 908 MediaStream get mediaStream => _blink.BlinkMediaStreamAudioSourceNode.instance
.mediaStream_Getter_(this); |
909 | 909 |
910 } | 910 } |
911 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 911 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
912 // for details. All rights reserved. Use of this source code is governed by a | 912 // for details. All rights reserved. Use of this source code is governed by a |
913 // BSD-style license that can be found in the LICENSE file. | 913 // BSD-style license that can be found in the LICENSE file. |
914 | 914 |
915 // WARNING: Do not edit - generated code. | 915 // WARNING: Do not edit - generated code. |
916 | 916 |
917 | 917 |
918 @DocsEditable() | 918 @DocsEditable() |
919 @DomName('OfflineAudioCompletionEvent') | 919 @DomName('OfflineAudioCompletionEvent') |
920 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Offline
AudioCompletionEvent-section | 920 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Offline
AudioCompletionEvent-section |
921 @Experimental() | 921 @Experimental() |
922 class OfflineAudioCompletionEvent extends Event { | 922 class OfflineAudioCompletionEvent extends Event { |
923 // To suppress missing implicit constructor warnings. | 923 // To suppress missing implicit constructor warnings. |
924 factory OfflineAudioCompletionEvent._() { throw new UnsupportedError("Not supp
orted"); } | 924 factory OfflineAudioCompletionEvent._() { throw new UnsupportedError("Not supp
orted"); } |
925 | 925 |
926 @DomName('OfflineAudioCompletionEvent.renderedBuffer') | 926 @DomName('OfflineAudioCompletionEvent.renderedBuffer') |
927 @DocsEditable() | 927 @DocsEditable() |
928 AudioBuffer get renderedBuffer => _blink.BlinkOfflineAudioCompletionEvent.rend
eredBuffer_Getter(this); | 928 AudioBuffer get renderedBuffer => _blink.BlinkOfflineAudioCompletionEvent.inst
ance.renderedBuffer_Getter_(this); |
929 | 929 |
930 } | 930 } |
931 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 931 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
932 // for details. All rights reserved. Use of this source code is governed by a | 932 // for details. All rights reserved. Use of this source code is governed by a |
933 // BSD-style license that can be found in the LICENSE file. | 933 // BSD-style license that can be found in the LICENSE file. |
934 | 934 |
935 // WARNING: Do not edit - generated code. | 935 // WARNING: Do not edit - generated code. |
936 | 936 |
937 | 937 |
938 @DocsEditable() | 938 @DocsEditable() |
939 @DomName('OfflineAudioContext') | 939 @DomName('OfflineAudioContext') |
940 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Offline
AudioContext-section | 940 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Offline
AudioContext-section |
941 @Experimental() | 941 @Experimental() |
942 class OfflineAudioContext extends AudioContext { | 942 class OfflineAudioContext extends AudioContext { |
943 // To suppress missing implicit constructor warnings. | 943 // To suppress missing implicit constructor warnings. |
944 factory OfflineAudioContext._() { throw new UnsupportedError("Not supported");
} | 944 factory OfflineAudioContext._() { throw new UnsupportedError("Not supported");
} |
945 | 945 |
946 @DomName('OfflineAudioContext.OfflineAudioContext') | 946 @DomName('OfflineAudioContext.OfflineAudioContext') |
947 @DocsEditable() | 947 @DocsEditable() |
948 factory OfflineAudioContext(int numberOfChannels, int numberOfFrames, num samp
leRate) { | 948 factory OfflineAudioContext(int numberOfChannels, int numberOfFrames, num samp
leRate) { |
949 return _blink.BlinkOfflineAudioContext.constructorCallback_3(numberOfChannel
s, numberOfFrames, sampleRate); | 949 return _blink.BlinkOfflineAudioContext.instance.constructorCallback_3_(numbe
rOfChannels, numberOfFrames, sampleRate); |
950 } | 950 } |
951 | 951 |
952 } | 952 } |
953 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 953 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
954 // for details. All rights reserved. Use of this source code is governed by a | 954 // for details. All rights reserved. Use of this source code is governed by a |
955 // BSD-style license that can be found in the LICENSE file. | 955 // BSD-style license that can be found in the LICENSE file. |
956 | 956 |
957 // WARNING: Do not edit - generated code. | 957 // WARNING: Do not edit - generated code. |
958 | 958 |
959 | 959 |
(...skipping 11 matching lines...) Expand all Loading... |
971 * | 971 * |
972 * See [EventStreamProvider] for usage information. | 972 * See [EventStreamProvider] for usage information. |
973 */ | 973 */ |
974 @DomName('OscillatorNode.endedEvent') | 974 @DomName('OscillatorNode.endedEvent') |
975 @DocsEditable() | 975 @DocsEditable() |
976 @Experimental() // untriaged | 976 @Experimental() // untriaged |
977 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider
<Event>('ended'); | 977 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider
<Event>('ended'); |
978 | 978 |
979 @DomName('OscillatorNode.detune') | 979 @DomName('OscillatorNode.detune') |
980 @DocsEditable() | 980 @DocsEditable() |
981 AudioParam get detune => _blink.BlinkOscillatorNode.detune_Getter(this); | 981 AudioParam get detune => _blink.BlinkOscillatorNode.instance.detune_Getter_(th
is); |
982 | 982 |
983 @DomName('OscillatorNode.frequency') | 983 @DomName('OscillatorNode.frequency') |
984 @DocsEditable() | 984 @DocsEditable() |
985 AudioParam get frequency => _blink.BlinkOscillatorNode.frequency_Getter(this); | 985 AudioParam get frequency => _blink.BlinkOscillatorNode.instance.frequency_Gett
er_(this); |
986 | 986 |
987 @DomName('OscillatorNode.type') | 987 @DomName('OscillatorNode.type') |
988 @DocsEditable() | 988 @DocsEditable() |
989 String get type => _blink.BlinkOscillatorNode.type_Getter(this); | 989 String get type => _blink.BlinkOscillatorNode.instance.type_Getter_(this); |
990 | 990 |
991 @DomName('OscillatorNode.type') | 991 @DomName('OscillatorNode.type') |
992 @DocsEditable() | 992 @DocsEditable() |
993 void set type(String value) => _blink.BlinkOscillatorNode.type_Setter(this, va
lue); | 993 void set type(String value) => _blink.BlinkOscillatorNode.instance.type_Setter
_(this, value); |
994 | 994 |
995 @DomName('OscillatorNode.noteOff') | 995 @DomName('OscillatorNode.noteOff') |
996 @DocsEditable() | 996 @DocsEditable() |
997 void noteOff(num when) => _blink.BlinkOscillatorNode.noteOff_Callback_1(this,
when); | 997 void noteOff(num when) => _blink.BlinkOscillatorNode.instance.noteOff_Callback
_1_(this, when); |
998 | 998 |
999 @DomName('OscillatorNode.noteOn') | 999 @DomName('OscillatorNode.noteOn') |
1000 @DocsEditable() | 1000 @DocsEditable() |
1001 void noteOn(num when) => _blink.BlinkOscillatorNode.noteOn_Callback_1(this, wh
en); | 1001 void noteOn(num when) => _blink.BlinkOscillatorNode.instance.noteOn_Callback_1
_(this, when); |
1002 | 1002 |
1003 @DomName('OscillatorNode.setPeriodicWave') | 1003 @DomName('OscillatorNode.setPeriodicWave') |
1004 @DocsEditable() | 1004 @DocsEditable() |
1005 @Experimental() // untriaged | 1005 @Experimental() // untriaged |
1006 void setPeriodicWave(PeriodicWave periodicWave) => _blink.BlinkOscillatorNode.
setPeriodicWave_Callback_1(this, periodicWave); | 1006 void setPeriodicWave(PeriodicWave periodicWave) => _blink.BlinkOscillatorNode.
instance.setPeriodicWave_Callback_1_(this, periodicWave); |
1007 | 1007 |
1008 void start([num when]) { | 1008 void start([num when]) { |
1009 if (when != null) { | 1009 if (when != null) { |
1010 _blink.BlinkOscillatorNode.start_Callback_1(this, when); | 1010 _blink.BlinkOscillatorNode.instance.start_Callback_1_(this, when); |
1011 return; | 1011 return; |
1012 } | 1012 } |
1013 _blink.BlinkOscillatorNode.start_Callback_0(this); | 1013 _blink.BlinkOscillatorNode.instance.start_Callback_0_(this); |
1014 return; | 1014 return; |
1015 } | 1015 } |
1016 | 1016 |
1017 void stop([num when]) { | 1017 void stop([num when]) { |
1018 if (when != null) { | 1018 if (when != null) { |
1019 _blink.BlinkOscillatorNode.stop_Callback_1(this, when); | 1019 _blink.BlinkOscillatorNode.instance.stop_Callback_1_(this, when); |
1020 return; | 1020 return; |
1021 } | 1021 } |
1022 _blink.BlinkOscillatorNode.stop_Callback_0(this); | 1022 _blink.BlinkOscillatorNode.instance.stop_Callback_0_(this); |
1023 return; | 1023 return; |
1024 } | 1024 } |
1025 | 1025 |
1026 /// Stream of `ended` events handled by this [OscillatorNode]. | 1026 /// Stream of `ended` events handled by this [OscillatorNode]. |
1027 @DomName('OscillatorNode.onended') | 1027 @DomName('OscillatorNode.onended') |
1028 @DocsEditable() | 1028 @DocsEditable() |
1029 @Experimental() // untriaged | 1029 @Experimental() // untriaged |
1030 Stream<Event> get onEnded => endedEvent.forTarget(this); | 1030 Stream<Event> get onEnded => endedEvent.forTarget(this); |
1031 | 1031 |
1032 } | 1032 } |
1033 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1033 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1034 // for details. All rights reserved. Use of this source code is governed by a | 1034 // for details. All rights reserved. Use of this source code is governed by a |
1035 // BSD-style license that can be found in the LICENSE file. | 1035 // BSD-style license that can be found in the LICENSE file. |
1036 | 1036 |
1037 // WARNING: Do not edit - generated code. | 1037 // WARNING: Do not edit - generated code. |
1038 | 1038 |
1039 | 1039 |
1040 @DocsEditable() | 1040 @DocsEditable() |
1041 @DomName('PannerNode') | 1041 @DomName('PannerNode') |
1042 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#PannerN
ode | 1042 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#PannerN
ode |
1043 @Experimental() | 1043 @Experimental() |
1044 class PannerNode extends AudioNode { | 1044 class PannerNode extends AudioNode { |
1045 // To suppress missing implicit constructor warnings. | 1045 // To suppress missing implicit constructor warnings. |
1046 factory PannerNode._() { throw new UnsupportedError("Not supported"); } | 1046 factory PannerNode._() { throw new UnsupportedError("Not supported"); } |
1047 | 1047 |
1048 @DomName('PannerNode.coneInnerAngle') | 1048 @DomName('PannerNode.coneInnerAngle') |
1049 @DocsEditable() | 1049 @DocsEditable() |
1050 num get coneInnerAngle => _blink.BlinkPannerNode.coneInnerAngle_Getter(this); | 1050 num get coneInnerAngle => _blink.BlinkPannerNode.instance.coneInnerAngle_Gette
r_(this); |
1051 | 1051 |
1052 @DomName('PannerNode.coneInnerAngle') | 1052 @DomName('PannerNode.coneInnerAngle') |
1053 @DocsEditable() | 1053 @DocsEditable() |
1054 void set coneInnerAngle(num value) => _blink.BlinkPannerNode.coneInnerAngle_Se
tter(this, value); | 1054 void set coneInnerAngle(num value) => _blink.BlinkPannerNode.instance.coneInne
rAngle_Setter_(this, value); |
1055 | 1055 |
1056 @DomName('PannerNode.coneOuterAngle') | 1056 @DomName('PannerNode.coneOuterAngle') |
1057 @DocsEditable() | 1057 @DocsEditable() |
1058 num get coneOuterAngle => _blink.BlinkPannerNode.coneOuterAngle_Getter(this); | 1058 num get coneOuterAngle => _blink.BlinkPannerNode.instance.coneOuterAngle_Gette
r_(this); |
1059 | 1059 |
1060 @DomName('PannerNode.coneOuterAngle') | 1060 @DomName('PannerNode.coneOuterAngle') |
1061 @DocsEditable() | 1061 @DocsEditable() |
1062 void set coneOuterAngle(num value) => _blink.BlinkPannerNode.coneOuterAngle_Se
tter(this, value); | 1062 void set coneOuterAngle(num value) => _blink.BlinkPannerNode.instance.coneOute
rAngle_Setter_(this, value); |
1063 | 1063 |
1064 @DomName('PannerNode.coneOuterGain') | 1064 @DomName('PannerNode.coneOuterGain') |
1065 @DocsEditable() | 1065 @DocsEditable() |
1066 num get coneOuterGain => _blink.BlinkPannerNode.coneOuterGain_Getter(this); | 1066 num get coneOuterGain => _blink.BlinkPannerNode.instance.coneOuterGain_Getter_
(this); |
1067 | 1067 |
1068 @DomName('PannerNode.coneOuterGain') | 1068 @DomName('PannerNode.coneOuterGain') |
1069 @DocsEditable() | 1069 @DocsEditable() |
1070 void set coneOuterGain(num value) => _blink.BlinkPannerNode.coneOuterGain_Sett
er(this, value); | 1070 void set coneOuterGain(num value) => _blink.BlinkPannerNode.instance.coneOuter
Gain_Setter_(this, value); |
1071 | 1071 |
1072 @DomName('PannerNode.distanceModel') | 1072 @DomName('PannerNode.distanceModel') |
1073 @DocsEditable() | 1073 @DocsEditable() |
1074 String get distanceModel => _blink.BlinkPannerNode.distanceModel_Getter(this); | 1074 String get distanceModel => _blink.BlinkPannerNode.instance.distanceModel_Gett
er_(this); |
1075 | 1075 |
1076 @DomName('PannerNode.distanceModel') | 1076 @DomName('PannerNode.distanceModel') |
1077 @DocsEditable() | 1077 @DocsEditable() |
1078 void set distanceModel(String value) => _blink.BlinkPannerNode.distanceModel_S
etter(this, value); | 1078 void set distanceModel(String value) => _blink.BlinkPannerNode.instance.distan
ceModel_Setter_(this, value); |
1079 | 1079 |
1080 @DomName('PannerNode.maxDistance') | 1080 @DomName('PannerNode.maxDistance') |
1081 @DocsEditable() | 1081 @DocsEditable() |
1082 num get maxDistance => _blink.BlinkPannerNode.maxDistance_Getter(this); | 1082 num get maxDistance => _blink.BlinkPannerNode.instance.maxDistance_Getter_(thi
s); |
1083 | 1083 |
1084 @DomName('PannerNode.maxDistance') | 1084 @DomName('PannerNode.maxDistance') |
1085 @DocsEditable() | 1085 @DocsEditable() |
1086 void set maxDistance(num value) => _blink.BlinkPannerNode.maxDistance_Setter(t
his, value); | 1086 void set maxDistance(num value) => _blink.BlinkPannerNode.instance.maxDistance
_Setter_(this, value); |
1087 | 1087 |
1088 @DomName('PannerNode.panningModel') | 1088 @DomName('PannerNode.panningModel') |
1089 @DocsEditable() | 1089 @DocsEditable() |
1090 String get panningModel => _blink.BlinkPannerNode.panningModel_Getter(this); | 1090 String get panningModel => _blink.BlinkPannerNode.instance.panningModel_Getter
_(this); |
1091 | 1091 |
1092 @DomName('PannerNode.panningModel') | 1092 @DomName('PannerNode.panningModel') |
1093 @DocsEditable() | 1093 @DocsEditable() |
1094 void set panningModel(String value) => _blink.BlinkPannerNode.panningModel_Set
ter(this, value); | 1094 void set panningModel(String value) => _blink.BlinkPannerNode.instance.panning
Model_Setter_(this, value); |
1095 | 1095 |
1096 @DomName('PannerNode.refDistance') | 1096 @DomName('PannerNode.refDistance') |
1097 @DocsEditable() | 1097 @DocsEditable() |
1098 num get refDistance => _blink.BlinkPannerNode.refDistance_Getter(this); | 1098 num get refDistance => _blink.BlinkPannerNode.instance.refDistance_Getter_(thi
s); |
1099 | 1099 |
1100 @DomName('PannerNode.refDistance') | 1100 @DomName('PannerNode.refDistance') |
1101 @DocsEditable() | 1101 @DocsEditable() |
1102 void set refDistance(num value) => _blink.BlinkPannerNode.refDistance_Setter(t
his, value); | 1102 void set refDistance(num value) => _blink.BlinkPannerNode.instance.refDistance
_Setter_(this, value); |
1103 | 1103 |
1104 @DomName('PannerNode.rolloffFactor') | 1104 @DomName('PannerNode.rolloffFactor') |
1105 @DocsEditable() | 1105 @DocsEditable() |
1106 num get rolloffFactor => _blink.BlinkPannerNode.rolloffFactor_Getter(this); | 1106 num get rolloffFactor => _blink.BlinkPannerNode.instance.rolloffFactor_Getter_
(this); |
1107 | 1107 |
1108 @DomName('PannerNode.rolloffFactor') | 1108 @DomName('PannerNode.rolloffFactor') |
1109 @DocsEditable() | 1109 @DocsEditable() |
1110 void set rolloffFactor(num value) => _blink.BlinkPannerNode.rolloffFactor_Sett
er(this, value); | 1110 void set rolloffFactor(num value) => _blink.BlinkPannerNode.instance.rolloffFa
ctor_Setter_(this, value); |
1111 | 1111 |
1112 @DomName('PannerNode.setOrientation') | 1112 @DomName('PannerNode.setOrientation') |
1113 @DocsEditable() | 1113 @DocsEditable() |
1114 void setOrientation(num x, num y, num z) => _blink.BlinkPannerNode.setOrientat
ion_Callback_3(this, x, y, z); | 1114 void setOrientation(num x, num y, num z) => _blink.BlinkPannerNode.instance.se
tOrientation_Callback_3_(this, x, y, z); |
1115 | 1115 |
1116 @DomName('PannerNode.setPosition') | 1116 @DomName('PannerNode.setPosition') |
1117 @DocsEditable() | 1117 @DocsEditable() |
1118 void setPosition(num x, num y, num z) => _blink.BlinkPannerNode.setPosition_Ca
llback_3(this, x, y, z); | 1118 void setPosition(num x, num y, num z) => _blink.BlinkPannerNode.instance.setPo
sition_Callback_3_(this, x, y, z); |
1119 | 1119 |
1120 @DomName('PannerNode.setVelocity') | 1120 @DomName('PannerNode.setVelocity') |
1121 @DocsEditable() | 1121 @DocsEditable() |
1122 void setVelocity(num x, num y, num z) => _blink.BlinkPannerNode.setVelocity_Ca
llback_3(this, x, y, z); | 1122 void setVelocity(num x, num y, num z) => _blink.BlinkPannerNode.instance.setVe
locity_Callback_3_(this, x, y, z); |
1123 | 1123 |
1124 } | 1124 } |
1125 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1125 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1126 // for details. All rights reserved. Use of this source code is governed by a | 1126 // for details. All rights reserved. Use of this source code is governed by a |
1127 // BSD-style license that can be found in the LICENSE file. | 1127 // BSD-style license that can be found in the LICENSE file. |
1128 | 1128 |
1129 // WARNING: Do not edit - generated code. | 1129 // WARNING: Do not edit - generated code. |
1130 | 1130 |
1131 | 1131 |
1132 @DocsEditable() | 1132 @DocsEditable() |
(...skipping 14 matching lines...) Expand all Loading... |
1147 @DocsEditable() | 1147 @DocsEditable() |
1148 @DomName('ScriptProcessorNode') | 1148 @DomName('ScriptProcessorNode') |
1149 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#ScriptP
rocessorNode | 1149 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#ScriptP
rocessorNode |
1150 @Experimental() | 1150 @Experimental() |
1151 class ScriptProcessorNode extends AudioNode { | 1151 class ScriptProcessorNode extends AudioNode { |
1152 // To suppress missing implicit constructor warnings. | 1152 // To suppress missing implicit constructor warnings. |
1153 factory ScriptProcessorNode._() { throw new UnsupportedError("Not supported");
} | 1153 factory ScriptProcessorNode._() { throw new UnsupportedError("Not supported");
} |
1154 | 1154 |
1155 @DomName('ScriptProcessorNode.bufferSize') | 1155 @DomName('ScriptProcessorNode.bufferSize') |
1156 @DocsEditable() | 1156 @DocsEditable() |
1157 int get bufferSize => _blink.BlinkScriptProcessorNode.bufferSize_Getter(this); | 1157 int get bufferSize => _blink.BlinkScriptProcessorNode.instance.bufferSize_Gett
er_(this); |
1158 | 1158 |
1159 @DomName('ScriptProcessorNode.setEventListener') | 1159 @DomName('ScriptProcessorNode.setEventListener') |
1160 @DocsEditable() | 1160 @DocsEditable() |
1161 @Experimental() // untriaged | 1161 @Experimental() // untriaged |
1162 void setEventListener(EventListener eventListener) => _blink.BlinkScriptProces
sorNode.setEventListener_Callback_1(this, eventListener); | 1162 void setEventListener(EventListener eventListener) => _blink.BlinkScriptProces
sorNode.instance.setEventListener_Callback_1_(this, eventListener); |
1163 | 1163 |
1164 } | 1164 } |
1165 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1165 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1166 // for details. All rights reserved. Use of this source code is governed by a | 1166 // for details. All rights reserved. Use of this source code is governed by a |
1167 // BSD-style license that can be found in the LICENSE file. | 1167 // BSD-style license that can be found in the LICENSE file. |
1168 | 1168 |
1169 // WARNING: Do not edit - generated code. | 1169 // WARNING: Do not edit - generated code. |
1170 | 1170 |
1171 | 1171 |
1172 @DocsEditable() | 1172 @DocsEditable() |
1173 @DomName('WaveShaperNode') | 1173 @DomName('WaveShaperNode') |
1174 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#dfn-Wav
eShaperNode | 1174 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#dfn-Wav
eShaperNode |
1175 @Experimental() | 1175 @Experimental() |
1176 class WaveShaperNode extends AudioNode { | 1176 class WaveShaperNode extends AudioNode { |
1177 // To suppress missing implicit constructor warnings. | 1177 // To suppress missing implicit constructor warnings. |
1178 factory WaveShaperNode._() { throw new UnsupportedError("Not supported"); } | 1178 factory WaveShaperNode._() { throw new UnsupportedError("Not supported"); } |
1179 | 1179 |
1180 @DomName('WaveShaperNode.curve') | 1180 @DomName('WaveShaperNode.curve') |
1181 @DocsEditable() | 1181 @DocsEditable() |
1182 Float32List get curve => _blink.BlinkWaveShaperNode.curve_Getter(this); | 1182 Float32List get curve => _blink.BlinkWaveShaperNode.instance.curve_Getter_(thi
s); |
1183 | 1183 |
1184 @DomName('WaveShaperNode.curve') | 1184 @DomName('WaveShaperNode.curve') |
1185 @DocsEditable() | 1185 @DocsEditable() |
1186 void set curve(Float32List value) => _blink.BlinkWaveShaperNode.curve_Setter(t
his, value); | 1186 void set curve(Float32List value) => _blink.BlinkWaveShaperNode.instance.curve
_Setter_(this, value); |
1187 | 1187 |
1188 @DomName('WaveShaperNode.oversample') | 1188 @DomName('WaveShaperNode.oversample') |
1189 @DocsEditable() | 1189 @DocsEditable() |
1190 String get oversample => _blink.BlinkWaveShaperNode.oversample_Getter(this); | 1190 String get oversample => _blink.BlinkWaveShaperNode.instance.oversample_Getter
_(this); |
1191 | 1191 |
1192 @DomName('WaveShaperNode.oversample') | 1192 @DomName('WaveShaperNode.oversample') |
1193 @DocsEditable() | 1193 @DocsEditable() |
1194 void set oversample(String value) => _blink.BlinkWaveShaperNode.oversample_Set
ter(this, value); | 1194 void set oversample(String value) => _blink.BlinkWaveShaperNode.instance.overs
ample_Setter_(this, value); |
1195 | 1195 |
1196 } | 1196 } |
OLD | NEW |