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'; |
11 import 'dart:nativewrappers'; | 11 import 'dart:nativewrappers'; |
12 import 'dart:typed_data'; | 12 import 'dart:typed_data'; |
13 import 'dart:_blink' as _blink; | 13 import 'dart:_blink' as _blink; |
14 import 'dart:js' as js; | 14 import 'dart:js' as js; |
15 // DO NOT EDIT | 15 // DO NOT EDIT |
16 // Auto-generated dart:audio library. | 16 // Auto-generated dart:audio library. |
17 | 17 |
18 | |
19 | |
20 | |
21 // FIXME: Can we make this private? | 18 // FIXME: Can we make this private? |
22 @Deprecated("Internal Use Only") | 19 @Deprecated("Internal Use Only") |
23 final web_audioBlinkMap = { | 20 final web_audioBlinkMap = { |
24 'AnalyserNode': () => AnalyserNode.instanceRuntimeType, | 21 'AnalyserNode': () => AnalyserNode.instanceRuntimeType, |
25 'AudioBuffer': () => AudioBuffer.instanceRuntimeType, | 22 'AudioBuffer': () => AudioBuffer.instanceRuntimeType, |
26 'AudioBufferSourceNode': () => AudioBufferSourceNode.instanceRuntimeType, | 23 'AudioBufferSourceNode': () => AudioBufferSourceNode.instanceRuntimeType, |
27 'AudioContext': () => AudioContext.instanceRuntimeType, | 24 'AudioContext': () => AudioContext.instanceRuntimeType, |
28 'AudioDestinationNode': () => AudioDestinationNode.instanceRuntimeType, | 25 'AudioDestinationNode': () => AudioDestinationNode.instanceRuntimeType, |
29 'AudioListener': () => AudioListener.instanceRuntimeType, | 26 'AudioListener': () => AudioListener.instanceRuntimeType, |
30 'AudioNode': () => AudioNode.instanceRuntimeType, | 27 'AudioNode': () => AudioNode.instanceRuntimeType, |
31 'AudioParam': () => AudioParam.instanceRuntimeType, | 28 'AudioParam': () => AudioParam.instanceRuntimeType, |
32 'AudioProcessingEvent': () => AudioProcessingEvent.instanceRuntimeType, | 29 'AudioProcessingEvent': () => AudioProcessingEvent.instanceRuntimeType, |
33 'AudioSourceNode': () => AudioSourceNode.instanceRuntimeType, | 30 'AudioSourceNode': () => AudioSourceNode.instanceRuntimeType, |
34 'BiquadFilterNode': () => BiquadFilterNode.instanceRuntimeType, | 31 'BiquadFilterNode': () => BiquadFilterNode.instanceRuntimeType, |
35 'ChannelMergerNode': () => ChannelMergerNode.instanceRuntimeType, | 32 'ChannelMergerNode': () => ChannelMergerNode.instanceRuntimeType, |
36 'ChannelSplitterNode': () => ChannelSplitterNode.instanceRuntimeType, | 33 'ChannelSplitterNode': () => ChannelSplitterNode.instanceRuntimeType, |
37 'ConvolverNode': () => ConvolverNode.instanceRuntimeType, | 34 'ConvolverNode': () => ConvolverNode.instanceRuntimeType, |
38 'DelayNode': () => DelayNode.instanceRuntimeType, | 35 'DelayNode': () => DelayNode.instanceRuntimeType, |
39 'DynamicsCompressorNode': () => DynamicsCompressorNode.instanceRuntimeType, | 36 'DynamicsCompressorNode': () => DynamicsCompressorNode.instanceRuntimeType, |
40 'GainNode': () => GainNode.instanceRuntimeType, | 37 'GainNode': () => GainNode.instanceRuntimeType, |
41 'MediaElementAudioSourceNode': () => MediaElementAudioSourceNode.instanceRunti
meType, | 38 'MediaElementAudioSourceNode': () => |
42 'MediaStreamAudioDestinationNode': () => MediaStreamAudioDestinationNode.insta
nceRuntimeType, | 39 MediaElementAudioSourceNode.instanceRuntimeType, |
43 'MediaStreamAudioSourceNode': () => MediaStreamAudioSourceNode.instanceRuntime
Type, | 40 'MediaStreamAudioDestinationNode': () => |
44 'OfflineAudioCompletionEvent': () => OfflineAudioCompletionEvent.instanceRunti
meType, | 41 MediaStreamAudioDestinationNode.instanceRuntimeType, |
| 42 'MediaStreamAudioSourceNode': () => |
| 43 MediaStreamAudioSourceNode.instanceRuntimeType, |
| 44 'OfflineAudioCompletionEvent': () => |
| 45 OfflineAudioCompletionEvent.instanceRuntimeType, |
45 'OfflineAudioContext': () => OfflineAudioContext.instanceRuntimeType, | 46 'OfflineAudioContext': () => OfflineAudioContext.instanceRuntimeType, |
46 'OscillatorNode': () => OscillatorNode.instanceRuntimeType, | 47 'OscillatorNode': () => OscillatorNode.instanceRuntimeType, |
47 'PannerNode': () => PannerNode.instanceRuntimeType, | 48 'PannerNode': () => PannerNode.instanceRuntimeType, |
48 'PeriodicWave': () => PeriodicWave.instanceRuntimeType, | 49 'PeriodicWave': () => PeriodicWave.instanceRuntimeType, |
49 'ScriptProcessorNode': () => ScriptProcessorNode.instanceRuntimeType, | 50 'ScriptProcessorNode': () => ScriptProcessorNode.instanceRuntimeType, |
50 'StereoPannerNode': () => StereoPannerNode.instanceRuntimeType, | 51 'StereoPannerNode': () => StereoPannerNode.instanceRuntimeType, |
51 'WaveShaperNode': () => WaveShaperNode.instanceRuntimeType, | 52 'WaveShaperNode': () => WaveShaperNode.instanceRuntimeType, |
52 | |
53 }; | 53 }; |
54 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 54 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
55 // for details. All rights reserved. Use of this source code is governed by a | 55 // for details. All rights reserved. Use of this source code is governed by a |
56 // BSD-style license that can be found in the LICENSE file. | 56 // BSD-style license that can be found in the LICENSE file. |
57 | 57 |
58 // WARNING: Do not edit - generated code. | 58 // WARNING: Do not edit - generated code. |
59 | 59 |
60 | |
61 @DocsEditable() | 60 @DocsEditable() |
62 @DomName('AnalyserNode') | 61 @DomName('AnalyserNode') |
63 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Analyse
rNode | 62 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Analyse
rNode |
64 @Experimental() | 63 @Experimental() |
65 class AnalyserNode extends AudioNode { | 64 class AnalyserNode extends AudioNode { |
66 // To suppress missing implicit constructor warnings. | 65 // To suppress missing implicit constructor warnings. |
67 factory AnalyserNode._() { throw new UnsupportedError("Not supported"); } | 66 factory AnalyserNode._() { |
68 | 67 throw new UnsupportedError("Not supported"); |
| 68 } |
69 | 69 |
70 @Deprecated("Internal Use Only") | 70 @Deprecated("Internal Use Only") |
71 external static Type get instanceRuntimeType; | 71 external static Type get instanceRuntimeType; |
72 | 72 |
73 @Deprecated("Internal Use Only") | 73 @Deprecated("Internal Use Only") |
74 AnalyserNode.internal_() : super.internal_(); | 74 AnalyserNode.internal_() : super.internal_(); |
75 | 75 |
76 | |
77 @DomName('AnalyserNode.fftSize') | 76 @DomName('AnalyserNode.fftSize') |
78 @DocsEditable() | 77 @DocsEditable() |
79 int get fftSize => _blink.BlinkAnalyserNode.instance.fftSize_Getter_(this); | 78 int get fftSize => _blink.BlinkAnalyserNode.instance.fftSize_Getter_(this); |
80 | 79 |
81 @DomName('AnalyserNode.fftSize') | 80 @DomName('AnalyserNode.fftSize') |
82 @DocsEditable() | 81 @DocsEditable() |
83 set fftSize(int value) => _blink.BlinkAnalyserNode.instance.fftSize_Setter_(th
is, value); | 82 set fftSize(int value) => |
84 | 83 _blink.BlinkAnalyserNode.instance.fftSize_Setter_(this, value); |
| 84 |
85 @DomName('AnalyserNode.frequencyBinCount') | 85 @DomName('AnalyserNode.frequencyBinCount') |
86 @DocsEditable() | 86 @DocsEditable() |
87 int get frequencyBinCount => _blink.BlinkAnalyserNode.instance.frequencyBinCou
nt_Getter_(this); | 87 int get frequencyBinCount => |
88 | 88 _blink.BlinkAnalyserNode.instance.frequencyBinCount_Getter_(this); |
| 89 |
89 @DomName('AnalyserNode.maxDecibels') | 90 @DomName('AnalyserNode.maxDecibels') |
90 @DocsEditable() | 91 @DocsEditable() |
91 num get maxDecibels => _blink.BlinkAnalyserNode.instance.maxDecibels_Getter_(t
his); | 92 num get maxDecibels => |
92 | 93 _blink.BlinkAnalyserNode.instance.maxDecibels_Getter_(this); |
| 94 |
93 @DomName('AnalyserNode.maxDecibels') | 95 @DomName('AnalyserNode.maxDecibels') |
94 @DocsEditable() | 96 @DocsEditable() |
95 set maxDecibels(num value) => _blink.BlinkAnalyserNode.instance.maxDecibels_Se
tter_(this, value); | 97 set maxDecibels(num value) => |
96 | 98 _blink.BlinkAnalyserNode.instance.maxDecibels_Setter_(this, value); |
| 99 |
97 @DomName('AnalyserNode.minDecibels') | 100 @DomName('AnalyserNode.minDecibels') |
98 @DocsEditable() | 101 @DocsEditable() |
99 num get minDecibels => _blink.BlinkAnalyserNode.instance.minDecibels_Getter_(t
his); | 102 num get minDecibels => |
100 | 103 _blink.BlinkAnalyserNode.instance.minDecibels_Getter_(this); |
| 104 |
101 @DomName('AnalyserNode.minDecibels') | 105 @DomName('AnalyserNode.minDecibels') |
102 @DocsEditable() | 106 @DocsEditable() |
103 set minDecibels(num value) => _blink.BlinkAnalyserNode.instance.minDecibels_Se
tter_(this, value); | 107 set minDecibels(num value) => |
104 | 108 _blink.BlinkAnalyserNode.instance.minDecibels_Setter_(this, value); |
| 109 |
105 @DomName('AnalyserNode.smoothingTimeConstant') | 110 @DomName('AnalyserNode.smoothingTimeConstant') |
106 @DocsEditable() | 111 @DocsEditable() |
107 num get smoothingTimeConstant => _blink.BlinkAnalyserNode.instance.smoothingTi
meConstant_Getter_(this); | 112 num get smoothingTimeConstant => |
108 | 113 _blink.BlinkAnalyserNode.instance.smoothingTimeConstant_Getter_(this); |
| 114 |
109 @DomName('AnalyserNode.smoothingTimeConstant') | 115 @DomName('AnalyserNode.smoothingTimeConstant') |
110 @DocsEditable() | 116 @DocsEditable() |
111 set smoothingTimeConstant(num value) => _blink.BlinkAnalyserNode.instance.smoo
thingTimeConstant_Setter_(this, value); | 117 set smoothingTimeConstant(num value) => _blink.BlinkAnalyserNode.instance |
112 | 118 .smoothingTimeConstant_Setter_(this, value); |
| 119 |
113 @DomName('AnalyserNode.getByteFrequencyData') | 120 @DomName('AnalyserNode.getByteFrequencyData') |
114 @DocsEditable() | 121 @DocsEditable() |
115 void getByteFrequencyData(Uint8List array) => _blink.BlinkAnalyserNode.instanc
e.getByteFrequencyData_Callback_1_(this, array); | 122 void getByteFrequencyData(Uint8List array) => |
116 | 123 _blink.BlinkAnalyserNode.instance |
| 124 .getByteFrequencyData_Callback_1_(this, array); |
| 125 |
117 @DomName('AnalyserNode.getByteTimeDomainData') | 126 @DomName('AnalyserNode.getByteTimeDomainData') |
118 @DocsEditable() | 127 @DocsEditable() |
119 void getByteTimeDomainData(Uint8List array) => _blink.BlinkAnalyserNode.instan
ce.getByteTimeDomainData_Callback_1_(this, array); | 128 void getByteTimeDomainData(Uint8List array) => |
120 | 129 _blink.BlinkAnalyserNode.instance |
| 130 .getByteTimeDomainData_Callback_1_(this, array); |
| 131 |
121 @DomName('AnalyserNode.getFloatFrequencyData') | 132 @DomName('AnalyserNode.getFloatFrequencyData') |
122 @DocsEditable() | 133 @DocsEditable() |
123 void getFloatFrequencyData(Float32List array) => _blink.BlinkAnalyserNode.inst
ance.getFloatFrequencyData_Callback_1_(this, array); | 134 void getFloatFrequencyData(Float32List array) => |
124 | 135 _blink.BlinkAnalyserNode.instance |
| 136 .getFloatFrequencyData_Callback_1_(this, array); |
| 137 |
125 @DomName('AnalyserNode.getFloatTimeDomainData') | 138 @DomName('AnalyserNode.getFloatTimeDomainData') |
126 @DocsEditable() | 139 @DocsEditable() |
127 @Experimental() // untriaged | 140 @Experimental() // untriaged |
128 void getFloatTimeDomainData(Float32List array) => _blink.BlinkAnalyserNode.ins
tance.getFloatTimeDomainData_Callback_1_(this, array); | 141 void getFloatTimeDomainData(Float32List array) => |
129 | 142 _blink.BlinkAnalyserNode.instance |
| 143 .getFloatTimeDomainData_Callback_1_(this, array); |
130 } | 144 } |
131 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 145 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
132 // for details. All rights reserved. Use of this source code is governed by a | 146 // for details. All rights reserved. Use of this source code is governed by a |
133 // BSD-style license that can be found in the LICENSE file. | 147 // BSD-style license that can be found in the LICENSE file. |
134 | 148 |
135 // WARNING: Do not edit - generated code. | 149 // WARNING: Do not edit - generated code. |
136 | 150 |
137 | |
138 @DocsEditable() | 151 @DocsEditable() |
139 @DomName('AudioBuffer') | 152 @DomName('AudioBuffer') |
140 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBu
ffer-section | 153 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBu
ffer-section |
141 @Experimental() | 154 @Experimental() |
142 class AudioBuffer extends DartHtmlDomObject { | 155 class AudioBuffer extends DartHtmlDomObject { |
143 // To suppress missing implicit constructor warnings. | 156 // To suppress missing implicit constructor warnings. |
144 factory AudioBuffer._() { throw new UnsupportedError("Not supported"); } | 157 factory AudioBuffer._() { |
145 | 158 throw new UnsupportedError("Not supported"); |
| 159 } |
146 | 160 |
147 @Deprecated("Internal Use Only") | 161 @Deprecated("Internal Use Only") |
148 external static Type get instanceRuntimeType; | 162 external static Type get instanceRuntimeType; |
149 | 163 |
150 @Deprecated("Internal Use Only") | 164 @Deprecated("Internal Use Only") |
151 AudioBuffer.internal_() { } | 165 AudioBuffer.internal_() {} |
152 | 166 |
153 @DomName('AudioBuffer.duration') | 167 @DomName('AudioBuffer.duration') |
154 @DocsEditable() | 168 @DocsEditable() |
155 num get duration => _blink.BlinkAudioBuffer.instance.duration_Getter_(this); | 169 num get duration => _blink.BlinkAudioBuffer.instance.duration_Getter_(this); |
156 | 170 |
157 @DomName('AudioBuffer.length') | 171 @DomName('AudioBuffer.length') |
158 @DocsEditable() | 172 @DocsEditable() |
159 int get length => _blink.BlinkAudioBuffer.instance.length_Getter_(this); | 173 int get length => _blink.BlinkAudioBuffer.instance.length_Getter_(this); |
160 | 174 |
161 @DomName('AudioBuffer.numberOfChannels') | 175 @DomName('AudioBuffer.numberOfChannels') |
162 @DocsEditable() | 176 @DocsEditable() |
163 int get numberOfChannels => _blink.BlinkAudioBuffer.instance.numberOfChannels_
Getter_(this); | 177 int get numberOfChannels => |
164 | 178 _blink.BlinkAudioBuffer.instance.numberOfChannels_Getter_(this); |
| 179 |
165 @DomName('AudioBuffer.sampleRate') | 180 @DomName('AudioBuffer.sampleRate') |
166 @DocsEditable() | 181 @DocsEditable() |
167 num get sampleRate => _blink.BlinkAudioBuffer.instance.sampleRate_Getter_(this
); | 182 num get sampleRate => |
168 | 183 _blink.BlinkAudioBuffer.instance.sampleRate_Getter_(this); |
169 void copyFromChannel(Float32List destination, int channelNumber, [int startInC
hannel]) { | 184 |
| 185 void copyFromChannel(Float32List destination, int channelNumber, |
| 186 [int startInChannel]) { |
170 if (startInChannel != null) { | 187 if (startInChannel != null) { |
171 _blink.BlinkAudioBuffer.instance.copyFromChannel_Callback_3_(this, destina
tion, channelNumber, startInChannel); | 188 _blink.BlinkAudioBuffer.instance.copyFromChannel_Callback_3_( |
| 189 this, destination, channelNumber, startInChannel); |
172 return; | 190 return; |
173 } | 191 } |
174 _blink.BlinkAudioBuffer.instance.copyFromChannel_Callback_2_(this, destinati
on, channelNumber); | 192 _blink.BlinkAudioBuffer.instance |
| 193 .copyFromChannel_Callback_2_(this, destination, channelNumber); |
175 return; | 194 return; |
176 } | 195 } |
177 | 196 |
178 void copyToChannel(Float32List source, int channelNumber, [int startInChannel]
) { | 197 void copyToChannel(Float32List source, int channelNumber, |
| 198 [int startInChannel]) { |
179 if (startInChannel != null) { | 199 if (startInChannel != null) { |
180 _blink.BlinkAudioBuffer.instance.copyToChannel_Callback_3_(this, source, c
hannelNumber, startInChannel); | 200 _blink.BlinkAudioBuffer.instance.copyToChannel_Callback_3_( |
| 201 this, source, channelNumber, startInChannel); |
181 return; | 202 return; |
182 } | 203 } |
183 _blink.BlinkAudioBuffer.instance.copyToChannel_Callback_2_(this, source, cha
nnelNumber); | 204 _blink.BlinkAudioBuffer.instance |
| 205 .copyToChannel_Callback_2_(this, source, channelNumber); |
184 return; | 206 return; |
185 } | 207 } |
186 | 208 |
187 @DomName('AudioBuffer.getChannelData') | 209 @DomName('AudioBuffer.getChannelData') |
188 @DocsEditable() | 210 @DocsEditable() |
189 Float32List getChannelData(int channelIndex) => _blink.BlinkAudioBuffer.instan
ce.getChannelData_Callback_1_(this, channelIndex); | 211 Float32List getChannelData(int channelIndex) => |
190 | 212 _blink.BlinkAudioBuffer.instance |
| 213 .getChannelData_Callback_1_(this, channelIndex); |
191 } | 214 } |
192 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 215 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
193 // for details. All rights reserved. Use of this source code is governed by a | 216 // for details. All rights reserved. Use of this source code is governed by a |
194 // BSD-style license that can be found in the LICENSE file. | 217 // BSD-style license that can be found in the LICENSE file. |
195 | 218 |
196 // WARNING: Do not edit - generated code. | 219 // WARNING: Do not edit - generated code. |
197 | 220 |
198 | |
199 @DomName('AudioBufferCallback') | 221 @DomName('AudioBufferCallback') |
200 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBu
ffer-section | 222 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBu
ffer-section |
201 @Experimental() | 223 @Experimental() |
202 typedef void AudioBufferCallback(AudioBuffer audioBuffer); | 224 typedef void AudioBufferCallback(AudioBuffer audioBuffer); |
203 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 225 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
204 // for details. All rights reserved. Use of this source code is governed by a | 226 // for details. All rights reserved. Use of this source code is governed by a |
205 // BSD-style license that can be found in the LICENSE file. | 227 // BSD-style license that can be found in the LICENSE file. |
206 | 228 |
207 // WARNING: Do not edit - generated code. | 229 // WARNING: Do not edit - generated code. |
208 | 230 |
209 | |
210 @DocsEditable() | 231 @DocsEditable() |
211 @DomName('AudioBufferSourceNode') | 232 @DomName('AudioBufferSourceNode') |
212 @SupportedBrowser(SupportedBrowser.CHROME) | 233 @SupportedBrowser(SupportedBrowser.CHROME) |
213 @SupportedBrowser(SupportedBrowser.FIREFOX) | 234 @SupportedBrowser(SupportedBrowser.FIREFOX) |
214 @Experimental() | 235 @Experimental() |
215 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBu
fferSourceNode-section | 236 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBu
fferSourceNode-section |
216 class AudioBufferSourceNode extends AudioSourceNode { | 237 class AudioBufferSourceNode extends AudioSourceNode { |
217 // To suppress missing implicit constructor warnings. | 238 // To suppress missing implicit constructor warnings. |
218 factory AudioBufferSourceNode._() { throw new UnsupportedError("Not supported"
); } | 239 factory AudioBufferSourceNode._() { |
| 240 throw new UnsupportedError("Not supported"); |
| 241 } |
219 | 242 |
220 /** | 243 /** |
221 * Static factory designed to expose `ended` events to event | 244 * Static factory designed to expose `ended` events to event |
222 * handlers that are not necessarily instances of [AudioBufferSourceNode]. | 245 * handlers that are not necessarily instances of [AudioBufferSourceNode]. |
223 * | 246 * |
224 * See [EventStreamProvider] for usage information. | 247 * See [EventStreamProvider] for usage information. |
225 */ | 248 */ |
226 @DomName('AudioBufferSourceNode.endedEvent') | 249 @DomName('AudioBufferSourceNode.endedEvent') |
227 @DocsEditable() | 250 @DocsEditable() |
228 @Experimental() // untriaged | 251 @Experimental() // untriaged |
229 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider
<Event>('ended'); | 252 static const EventStreamProvider<Event> endedEvent = |
230 | 253 const EventStreamProvider<Event>('ended'); |
231 | 254 |
232 @Deprecated("Internal Use Only") | 255 @Deprecated("Internal Use Only") |
233 external static Type get instanceRuntimeType; | 256 external static Type get instanceRuntimeType; |
234 | 257 |
235 @Deprecated("Internal Use Only") | 258 @Deprecated("Internal Use Only") |
236 AudioBufferSourceNode.internal_() : super.internal_(); | 259 AudioBufferSourceNode.internal_() : super.internal_(); |
237 | 260 |
| 261 @DomName('AudioBufferSourceNode.buffer') |
| 262 @DocsEditable() |
| 263 AudioBuffer get buffer => |
| 264 _blink.BlinkAudioBufferSourceNode.instance.buffer_Getter_(this); |
238 | 265 |
239 @DomName('AudioBufferSourceNode.buffer') | 266 @DomName('AudioBufferSourceNode.buffer') |
240 @DocsEditable() | 267 @DocsEditable() |
241 AudioBuffer get buffer => _blink.BlinkAudioBufferSourceNode.instance.buffer_Ge
tter_(this); | 268 set buffer(AudioBuffer value) => |
242 | 269 _blink.BlinkAudioBufferSourceNode.instance.buffer_Setter_(this, value); |
243 @DomName('AudioBufferSourceNode.buffer') | 270 |
244 @DocsEditable() | |
245 set buffer(AudioBuffer value) => _blink.BlinkAudioBufferSourceNode.instance.bu
ffer_Setter_(this, value); | |
246 | |
247 @DomName('AudioBufferSourceNode.detune') | 271 @DomName('AudioBufferSourceNode.detune') |
248 @DocsEditable() | 272 @DocsEditable() |
249 @Experimental() // untriaged | 273 @Experimental() // untriaged |
250 AudioParam get detune => _blink.BlinkAudioBufferSourceNode.instance.detune_Get
ter_(this); | 274 AudioParam get detune => |
251 | 275 _blink.BlinkAudioBufferSourceNode.instance.detune_Getter_(this); |
| 276 |
252 @DomName('AudioBufferSourceNode.loop') | 277 @DomName('AudioBufferSourceNode.loop') |
253 @DocsEditable() | 278 @DocsEditable() |
254 bool get loop => _blink.BlinkAudioBufferSourceNode.instance.loop_Getter_(this)
; | 279 bool get loop => |
255 | 280 _blink.BlinkAudioBufferSourceNode.instance.loop_Getter_(this); |
| 281 |
256 @DomName('AudioBufferSourceNode.loop') | 282 @DomName('AudioBufferSourceNode.loop') |
257 @DocsEditable() | 283 @DocsEditable() |
258 set loop(bool value) => _blink.BlinkAudioBufferSourceNode.instance.loop_Setter
_(this, value); | 284 set loop(bool value) => |
259 | 285 _blink.BlinkAudioBufferSourceNode.instance.loop_Setter_(this, value); |
| 286 |
260 @DomName('AudioBufferSourceNode.loopEnd') | 287 @DomName('AudioBufferSourceNode.loopEnd') |
261 @DocsEditable() | 288 @DocsEditable() |
262 num get loopEnd => _blink.BlinkAudioBufferSourceNode.instance.loopEnd_Getter_(
this); | 289 num get loopEnd => |
263 | 290 _blink.BlinkAudioBufferSourceNode.instance.loopEnd_Getter_(this); |
| 291 |
264 @DomName('AudioBufferSourceNode.loopEnd') | 292 @DomName('AudioBufferSourceNode.loopEnd') |
265 @DocsEditable() | 293 @DocsEditable() |
266 set loopEnd(num value) => _blink.BlinkAudioBufferSourceNode.instance.loopEnd_S
etter_(this, value); | 294 set loopEnd(num value) => |
267 | 295 _blink.BlinkAudioBufferSourceNode.instance.loopEnd_Setter_(this, value); |
| 296 |
268 @DomName('AudioBufferSourceNode.loopStart') | 297 @DomName('AudioBufferSourceNode.loopStart') |
269 @DocsEditable() | 298 @DocsEditable() |
270 num get loopStart => _blink.BlinkAudioBufferSourceNode.instance.loopStart_Gett
er_(this); | 299 num get loopStart => |
271 | 300 _blink.BlinkAudioBufferSourceNode.instance.loopStart_Getter_(this); |
| 301 |
272 @DomName('AudioBufferSourceNode.loopStart') | 302 @DomName('AudioBufferSourceNode.loopStart') |
273 @DocsEditable() | 303 @DocsEditable() |
274 set loopStart(num value) => _blink.BlinkAudioBufferSourceNode.instance.loopSta
rt_Setter_(this, value); | 304 set loopStart(num value) => |
275 | 305 _blink.BlinkAudioBufferSourceNode.instance.loopStart_Setter_(this, value); |
| 306 |
276 @DomName('AudioBufferSourceNode.playbackRate') | 307 @DomName('AudioBufferSourceNode.playbackRate') |
277 @DocsEditable() | 308 @DocsEditable() |
278 AudioParam get playbackRate => _blink.BlinkAudioBufferSourceNode.instance.play
backRate_Getter_(this); | 309 AudioParam get playbackRate => |
279 | 310 _blink.BlinkAudioBufferSourceNode.instance.playbackRate_Getter_(this); |
| 311 |
280 void start([num when, num grainOffset, num grainDuration]) { | 312 void start([num when, num grainOffset, num grainDuration]) { |
281 if (grainDuration != null) { | 313 if (grainDuration != null) { |
282 _blink.BlinkAudioBufferSourceNode.instance.start_Callback_3_(this, when, g
rainOffset, grainDuration); | 314 _blink.BlinkAudioBufferSourceNode.instance |
| 315 .start_Callback_3_(this, when, grainOffset, grainDuration); |
283 return; | 316 return; |
284 } | 317 } |
285 if (grainOffset != null) { | 318 if (grainOffset != null) { |
286 _blink.BlinkAudioBufferSourceNode.instance.start_Callback_2_(this, when, g
rainOffset); | 319 _blink.BlinkAudioBufferSourceNode.instance |
| 320 .start_Callback_2_(this, when, grainOffset); |
287 return; | 321 return; |
288 } | 322 } |
289 if (when != null) { | 323 if (when != null) { |
290 _blink.BlinkAudioBufferSourceNode.instance.start_Callback_1_(this, when); | 324 _blink.BlinkAudioBufferSourceNode.instance.start_Callback_1_(this, when); |
291 return; | 325 return; |
292 } | 326 } |
293 _blink.BlinkAudioBufferSourceNode.instance.start_Callback_0_(this); | 327 _blink.BlinkAudioBufferSourceNode.instance.start_Callback_0_(this); |
294 return; | 328 return; |
295 } | 329 } |
296 | 330 |
297 void stop([num when]) { | 331 void stop([num when]) { |
298 if (when != null) { | 332 if (when != null) { |
299 _blink.BlinkAudioBufferSourceNode.instance.stop_Callback_1_(this, when); | 333 _blink.BlinkAudioBufferSourceNode.instance.stop_Callback_1_(this, when); |
300 return; | 334 return; |
301 } | 335 } |
302 _blink.BlinkAudioBufferSourceNode.instance.stop_Callback_0_(this); | 336 _blink.BlinkAudioBufferSourceNode.instance.stop_Callback_0_(this); |
303 return; | 337 return; |
304 } | 338 } |
305 | 339 |
306 /// Stream of `ended` events handled by this [AudioBufferSourceNode]. | 340 /// Stream of `ended` events handled by this [AudioBufferSourceNode]. |
307 @DomName('AudioBufferSourceNode.onended') | 341 @DomName('AudioBufferSourceNode.onended') |
308 @DocsEditable() | 342 @DocsEditable() |
309 @Experimental() // untriaged | 343 @Experimental() // untriaged |
310 Stream<Event> get onEnded => endedEvent.forTarget(this); | 344 Stream<Event> get onEnded => endedEvent.forTarget(this); |
311 | |
312 } | 345 } |
313 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 346 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
314 // for details. All rights reserved. Use of this source code is governed by a | 347 // for details. All rights reserved. Use of this source code is governed by a |
315 // BSD-style license that can be found in the LICENSE file. | 348 // BSD-style license that can be found in the LICENSE file. |
316 | 349 |
317 | |
318 @DomName('AudioContext') | 350 @DomName('AudioContext') |
319 @SupportedBrowser(SupportedBrowser.CHROME) | 351 @SupportedBrowser(SupportedBrowser.CHROME) |
320 @SupportedBrowser(SupportedBrowser.FIREFOX) | 352 @SupportedBrowser(SupportedBrowser.FIREFOX) |
321 @Experimental() | 353 @Experimental() |
322 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioCo
ntext-section | 354 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioCo
ntext-section |
323 class AudioContext extends EventTarget { | 355 class AudioContext extends EventTarget { |
324 // To suppress missing implicit constructor warnings. | 356 // To suppress missing implicit constructor warnings. |
325 factory AudioContext._() { throw new UnsupportedError("Not supported"); } | 357 factory AudioContext._() { |
| 358 throw new UnsupportedError("Not supported"); |
| 359 } |
326 | 360 |
327 @DomName('AudioContext.AudioContext') | 361 @DomName('AudioContext.AudioContext') |
328 @DocsEditable() | 362 @DocsEditable() |
329 factory AudioContext() { | 363 factory AudioContext() { |
330 return _blink.BlinkAudioContext.instance.constructorCallback_0_(); | 364 return _blink.BlinkAudioContext.instance.constructorCallback_0_(); |
331 } | 365 } |
332 | 366 |
333 | |
334 @Deprecated("Internal Use Only") | 367 @Deprecated("Internal Use Only") |
335 external static Type get instanceRuntimeType; | 368 external static Type get instanceRuntimeType; |
336 | 369 |
337 @Deprecated("Internal Use Only") | 370 @Deprecated("Internal Use Only") |
338 AudioContext.internal_() : super.internal_(); | 371 AudioContext.internal_() : super.internal_(); |
339 | 372 |
340 | |
341 /// Checks if this type is supported on the current platform. | 373 /// Checks if this type is supported on the current platform. |
342 static bool get supported => true; | 374 static bool get supported => true; |
343 | 375 |
344 @DomName('AudioContext.currentTime') | 376 @DomName('AudioContext.currentTime') |
345 @DocsEditable() | 377 @DocsEditable() |
346 num get currentTime => _blink.BlinkAudioContext.instance.currentTime_Getter_(t
his); | 378 num get currentTime => |
347 | 379 _blink.BlinkAudioContext.instance.currentTime_Getter_(this); |
| 380 |
348 @DomName('AudioContext.destination') | 381 @DomName('AudioContext.destination') |
349 @DocsEditable() | 382 @DocsEditable() |
350 AudioDestinationNode get destination => _blink.BlinkAudioContext.instance.dest
ination_Getter_(this); | 383 AudioDestinationNode get destination => |
351 | 384 _blink.BlinkAudioContext.instance.destination_Getter_(this); |
| 385 |
352 @DomName('AudioContext.listener') | 386 @DomName('AudioContext.listener') |
353 @DocsEditable() | 387 @DocsEditable() |
354 AudioListener get listener => _blink.BlinkAudioContext.instance.listener_Gette
r_(this); | 388 AudioListener get listener => |
355 | 389 _blink.BlinkAudioContext.instance.listener_Getter_(this); |
| 390 |
356 @DomName('AudioContext.sampleRate') | 391 @DomName('AudioContext.sampleRate') |
357 @DocsEditable() | 392 @DocsEditable() |
358 num get sampleRate => _blink.BlinkAudioContext.instance.sampleRate_Getter_(thi
s); | 393 num get sampleRate => |
359 | 394 _blink.BlinkAudioContext.instance.sampleRate_Getter_(this); |
| 395 |
360 @DomName('AudioContext.state') | 396 @DomName('AudioContext.state') |
361 @DocsEditable() | 397 @DocsEditable() |
362 @Experimental() // untriaged | 398 @Experimental() // untriaged |
363 String get state => _blink.BlinkAudioContext.instance.state_Getter_(this); | 399 String get state => _blink.BlinkAudioContext.instance.state_Getter_(this); |
364 | 400 |
365 @DomName('AudioContext.close') | 401 @DomName('AudioContext.close') |
366 @DocsEditable() | 402 @DocsEditable() |
367 @Experimental() // untriaged | 403 @Experimental() // untriaged |
368 Future close() => convertNativePromiseToDartFuture(_blink.BlinkAudioContext.in
stance.close_Callback_0_(this)); | 404 Future close() => convertNativePromiseToDartFuture( |
369 | 405 _blink.BlinkAudioContext.instance.close_Callback_0_(this)); |
| 406 |
370 @DomName('AudioContext.createAnalyser') | 407 @DomName('AudioContext.createAnalyser') |
371 @DocsEditable() | 408 @DocsEditable() |
372 AnalyserNode createAnalyser() => _blink.BlinkAudioContext.instance.createAnaly
ser_Callback_0_(this); | 409 AnalyserNode createAnalyser() => |
373 | 410 _blink.BlinkAudioContext.instance.createAnalyser_Callback_0_(this); |
| 411 |
374 @DomName('AudioContext.createBiquadFilter') | 412 @DomName('AudioContext.createBiquadFilter') |
375 @DocsEditable() | 413 @DocsEditable() |
376 BiquadFilterNode createBiquadFilter() => _blink.BlinkAudioContext.instance.cre
ateBiquadFilter_Callback_0_(this); | 414 BiquadFilterNode createBiquadFilter() => |
377 | 415 _blink.BlinkAudioContext.instance.createBiquadFilter_Callback_0_(this); |
| 416 |
378 @DomName('AudioContext.createBuffer') | 417 @DomName('AudioContext.createBuffer') |
379 @DocsEditable() | 418 @DocsEditable() |
380 AudioBuffer createBuffer(int numberOfChannels, int numberOfFrames, num sampleR
ate) => _blink.BlinkAudioContext.instance.createBuffer_Callback_3_(this, numberO
fChannels, numberOfFrames, sampleRate); | 419 AudioBuffer createBuffer( |
381 | 420 int numberOfChannels, int numberOfFrames, num sampleRate) => |
| 421 _blink.BlinkAudioContext.instance.createBuffer_Callback_3_( |
| 422 this, numberOfChannels, numberOfFrames, sampleRate); |
| 423 |
382 @DomName('AudioContext.createBufferSource') | 424 @DomName('AudioContext.createBufferSource') |
383 @DocsEditable() | 425 @DocsEditable() |
384 AudioBufferSourceNode createBufferSource() => _blink.BlinkAudioContext.instanc
e.createBufferSource_Callback_0_(this); | 426 AudioBufferSourceNode createBufferSource() => |
385 | 427 _blink.BlinkAudioContext.instance.createBufferSource_Callback_0_(this); |
| 428 |
386 ChannelMergerNode createChannelMerger([int numberOfInputs]) { | 429 ChannelMergerNode createChannelMerger([int numberOfInputs]) { |
387 if (numberOfInputs != null) { | 430 if (numberOfInputs != null) { |
388 return _blink.BlinkAudioContext.instance.createChannelMerger_Callback_1_(t
his, numberOfInputs); | 431 return _blink.BlinkAudioContext.instance |
389 } | 432 .createChannelMerger_Callback_1_(this, numberOfInputs); |
390 return _blink.BlinkAudioContext.instance.createChannelMerger_Callback_0_(thi
s); | 433 } |
| 434 return _blink.BlinkAudioContext.instance |
| 435 .createChannelMerger_Callback_0_(this); |
391 } | 436 } |
392 | 437 |
393 ChannelSplitterNode createChannelSplitter([int numberOfOutputs]) { | 438 ChannelSplitterNode createChannelSplitter([int numberOfOutputs]) { |
394 if (numberOfOutputs != null) { | 439 if (numberOfOutputs != null) { |
395 return _blink.BlinkAudioContext.instance.createChannelSplitter_Callback_1_
(this, numberOfOutputs); | 440 return _blink.BlinkAudioContext.instance |
396 } | 441 .createChannelSplitter_Callback_1_(this, numberOfOutputs); |
397 return _blink.BlinkAudioContext.instance.createChannelSplitter_Callback_0_(t
his); | 442 } |
| 443 return _blink.BlinkAudioContext.instance |
| 444 .createChannelSplitter_Callback_0_(this); |
398 } | 445 } |
399 | 446 |
400 @DomName('AudioContext.createConvolver') | 447 @DomName('AudioContext.createConvolver') |
401 @DocsEditable() | 448 @DocsEditable() |
402 ConvolverNode createConvolver() => _blink.BlinkAudioContext.instance.createCon
volver_Callback_0_(this); | 449 ConvolverNode createConvolver() => |
403 | 450 _blink.BlinkAudioContext.instance.createConvolver_Callback_0_(this); |
| 451 |
404 DelayNode createDelay([num maxDelayTime]) { | 452 DelayNode createDelay([num maxDelayTime]) { |
405 if (maxDelayTime != null) { | 453 if (maxDelayTime != null) { |
406 return _blink.BlinkAudioContext.instance.createDelay_Callback_1_(this, max
DelayTime); | 454 return _blink.BlinkAudioContext.instance |
| 455 .createDelay_Callback_1_(this, maxDelayTime); |
407 } | 456 } |
408 return _blink.BlinkAudioContext.instance.createDelay_Callback_0_(this); | 457 return _blink.BlinkAudioContext.instance.createDelay_Callback_0_(this); |
409 } | 458 } |
410 | 459 |
411 @DomName('AudioContext.createDynamicsCompressor') | 460 @DomName('AudioContext.createDynamicsCompressor') |
412 @DocsEditable() | 461 @DocsEditable() |
413 DynamicsCompressorNode createDynamicsCompressor() => _blink.BlinkAudioContext.
instance.createDynamicsCompressor_Callback_0_(this); | 462 DynamicsCompressorNode createDynamicsCompressor() => |
414 | 463 _blink.BlinkAudioContext.instance |
| 464 .createDynamicsCompressor_Callback_0_(this); |
| 465 |
415 @DomName('AudioContext.createGain') | 466 @DomName('AudioContext.createGain') |
416 @DocsEditable() | 467 @DocsEditable() |
417 GainNode createGain() => _blink.BlinkAudioContext.instance.createGain_Callback
_0_(this); | 468 GainNode createGain() => |
418 | 469 _blink.BlinkAudioContext.instance.createGain_Callback_0_(this); |
| 470 |
419 @DomName('AudioContext.createMediaElementSource') | 471 @DomName('AudioContext.createMediaElementSource') |
420 @DocsEditable() | 472 @DocsEditable() |
421 MediaElementAudioSourceNode createMediaElementSource(MediaElement mediaElement
) => _blink.BlinkAudioContext.instance.createMediaElementSource_Callback_1_(this
, mediaElement); | 473 MediaElementAudioSourceNode createMediaElementSource( |
422 | 474 MediaElement mediaElement) => |
| 475 _blink.BlinkAudioContext.instance |
| 476 .createMediaElementSource_Callback_1_(this, mediaElement); |
| 477 |
423 @DomName('AudioContext.createMediaStreamDestination') | 478 @DomName('AudioContext.createMediaStreamDestination') |
424 @DocsEditable() | 479 @DocsEditable() |
425 MediaStreamAudioDestinationNode createMediaStreamDestination() => _blink.Blink
AudioContext.instance.createMediaStreamDestination_Callback_0_(this); | 480 MediaStreamAudioDestinationNode createMediaStreamDestination() => |
426 | 481 _blink.BlinkAudioContext.instance |
| 482 .createMediaStreamDestination_Callback_0_(this); |
| 483 |
427 @DomName('AudioContext.createMediaStreamSource') | 484 @DomName('AudioContext.createMediaStreamSource') |
428 @DocsEditable() | 485 @DocsEditable() |
429 MediaStreamAudioSourceNode createMediaStreamSource(MediaStream mediaStream) =>
_blink.BlinkAudioContext.instance.createMediaStreamSource_Callback_1_(this, med
iaStream); | 486 MediaStreamAudioSourceNode createMediaStreamSource(MediaStream mediaStream) => |
430 | 487 _blink.BlinkAudioContext.instance |
| 488 .createMediaStreamSource_Callback_1_(this, mediaStream); |
| 489 |
431 @DomName('AudioContext.createOscillator') | 490 @DomName('AudioContext.createOscillator') |
432 @DocsEditable() | 491 @DocsEditable() |
433 OscillatorNode createOscillator() => _blink.BlinkAudioContext.instance.createO
scillator_Callback_0_(this); | 492 OscillatorNode createOscillator() => |
434 | 493 _blink.BlinkAudioContext.instance.createOscillator_Callback_0_(this); |
| 494 |
435 @DomName('AudioContext.createPanner') | 495 @DomName('AudioContext.createPanner') |
436 @DocsEditable() | 496 @DocsEditable() |
437 PannerNode createPanner() => _blink.BlinkAudioContext.instance.createPanner_Ca
llback_0_(this); | 497 PannerNode createPanner() => |
438 | 498 _blink.BlinkAudioContext.instance.createPanner_Callback_0_(this); |
| 499 |
439 @DomName('AudioContext.createPeriodicWave') | 500 @DomName('AudioContext.createPeriodicWave') |
440 @DocsEditable() | 501 @DocsEditable() |
441 @Experimental() // untriaged | 502 @Experimental() // untriaged |
442 PeriodicWave createPeriodicWave(Float32List real, Float32List imag) => _blink.
BlinkAudioContext.instance.createPeriodicWave_Callback_2_(this, real, imag); | 503 PeriodicWave createPeriodicWave(Float32List real, Float32List imag) => |
443 | 504 _blink.BlinkAudioContext.instance |
444 ScriptProcessorNode createScriptProcessor([int bufferSize, int numberOfInputCh
annels, int numberOfOutputChannels]) { | 505 .createPeriodicWave_Callback_2_(this, real, imag); |
| 506 |
| 507 ScriptProcessorNode createScriptProcessor( |
| 508 [int bufferSize, int numberOfInputChannels, int numberOfOutputChannels]) { |
445 if (numberOfOutputChannels != null) { | 509 if (numberOfOutputChannels != null) { |
446 return _blink.BlinkAudioContext.instance.createScriptProcessor_Callback_3_
(this, bufferSize, numberOfInputChannels, numberOfOutputChannels); | 510 return _blink.BlinkAudioContext.instance |
| 511 .createScriptProcessor_Callback_3_( |
| 512 this, bufferSize, numberOfInputChannels, numberOfOutputChannels); |
447 } | 513 } |
448 if (numberOfInputChannels != null) { | 514 if (numberOfInputChannels != null) { |
449 return _blink.BlinkAudioContext.instance.createScriptProcessor_Callback_2_
(this, bufferSize, numberOfInputChannels); | 515 return _blink.BlinkAudioContext.instance |
| 516 .createScriptProcessor_Callback_2_( |
| 517 this, bufferSize, numberOfInputChannels); |
450 } | 518 } |
451 if (bufferSize != null) { | 519 if (bufferSize != null) { |
452 return _blink.BlinkAudioContext.instance.createScriptProcessor_Callback_1_
(this, bufferSize); | 520 return _blink.BlinkAudioContext.instance |
453 } | 521 .createScriptProcessor_Callback_1_(this, bufferSize); |
454 return _blink.BlinkAudioContext.instance.createScriptProcessor_Callback_0_(t
his); | 522 } |
| 523 return _blink.BlinkAudioContext.instance |
| 524 .createScriptProcessor_Callback_0_(this); |
455 } | 525 } |
456 | 526 |
457 @DomName('AudioContext.createStereoPanner') | 527 @DomName('AudioContext.createStereoPanner') |
458 @DocsEditable() | 528 @DocsEditable() |
459 @Experimental() // untriaged | 529 @Experimental() // untriaged |
460 StereoPannerNode createStereoPanner() => _blink.BlinkAudioContext.instance.cre
ateStereoPanner_Callback_0_(this); | 530 StereoPannerNode createStereoPanner() => |
461 | 531 _blink.BlinkAudioContext.instance.createStereoPanner_Callback_0_(this); |
| 532 |
462 @DomName('AudioContext.createWaveShaper') | 533 @DomName('AudioContext.createWaveShaper') |
463 @DocsEditable() | 534 @DocsEditable() |
464 WaveShaperNode createWaveShaper() => _blink.BlinkAudioContext.instance.createW
aveShaper_Callback_0_(this); | 535 WaveShaperNode createWaveShaper() => |
465 | 536 _blink.BlinkAudioContext.instance.createWaveShaper_Callback_0_(this); |
466 void _decodeAudioData(ByteBuffer audioData, AudioBufferCallback successCallbac
k, [AudioBufferCallback errorCallback]) { | 537 |
| 538 void _decodeAudioData( |
| 539 ByteBuffer audioData, AudioBufferCallback successCallback, |
| 540 [AudioBufferCallback errorCallback]) { |
467 if (errorCallback != null) { | 541 if (errorCallback != null) { |
468 _blink.BlinkAudioContext.instance.decodeAudioData_Callback_3_(this, audioD
ata, successCallback, errorCallback); | 542 _blink.BlinkAudioContext.instance.decodeAudioData_Callback_3_( |
| 543 this, audioData, successCallback, errorCallback); |
469 return; | 544 return; |
470 } | 545 } |
471 _blink.BlinkAudioContext.instance.decodeAudioData_Callback_2_(this, audioDat
a, successCallback); | 546 _blink.BlinkAudioContext.instance |
| 547 .decodeAudioData_Callback_2_(this, audioData, successCallback); |
472 return; | 548 return; |
473 } | 549 } |
474 | 550 |
475 @DomName('AudioContext.resume') | 551 @DomName('AudioContext.resume') |
476 @DocsEditable() | 552 @DocsEditable() |
477 @Experimental() // untriaged | 553 @Experimental() // untriaged |
478 Future resume() => convertNativePromiseToDartFuture(_blink.BlinkAudioContext.i
nstance.resume_Callback_0_(this)); | 554 Future resume() => convertNativePromiseToDartFuture( |
479 | 555 _blink.BlinkAudioContext.instance.resume_Callback_0_(this)); |
| 556 |
480 @DomName('AudioContext.suspend') | 557 @DomName('AudioContext.suspend') |
481 @DocsEditable() | 558 @DocsEditable() |
482 @Experimental() // untriaged | 559 @Experimental() // untriaged |
483 Future suspend() => convertNativePromiseToDartFuture(_blink.BlinkAudioContext.
instance.suspend_Callback_0_(this)); | 560 Future suspend() => convertNativePromiseToDartFuture( |
484 | 561 _blink.BlinkAudioContext.instance.suspend_Callback_0_(this)); |
| 562 |
485 @DomName('AudioContext.decodeAudioData') | 563 @DomName('AudioContext.decodeAudioData') |
486 Future<AudioBuffer> decodeAudioData(ByteBuffer audioData) { | 564 Future<AudioBuffer> decodeAudioData(ByteBuffer audioData) { |
487 var completer = new Completer<AudioBuffer>(); | 565 var completer = new Completer<AudioBuffer>(); |
488 _decodeAudioData(audioData, | 566 _decodeAudioData(audioData, (value) { |
489 (value) { completer.complete(value); }, | 567 completer.complete(value); |
490 (error) { | 568 }, (error) { |
491 if (error == null) { | 569 if (error == null) { |
492 completer.completeError(''); | 570 completer.completeError(''); |
493 } else { | 571 } else { |
494 completer.completeError(error); | 572 completer.completeError(error); |
495 } | 573 } |
496 }); | 574 }); |
497 return completer.future; | 575 return completer.future; |
498 } | 576 } |
499 } | 577 } |
500 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 578 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
501 // for details. All rights reserved. Use of this source code is governed by a | 579 // for details. All rights reserved. Use of this source code is governed by a |
502 // BSD-style license that can be found in the LICENSE file. | 580 // BSD-style license that can be found in the LICENSE file. |
503 | 581 |
504 // WARNING: Do not edit - generated code. | 582 // WARNING: Do not edit - generated code. |
505 | 583 |
506 | |
507 @DocsEditable() | 584 @DocsEditable() |
508 @DomName('AudioDestinationNode') | 585 @DomName('AudioDestinationNode') |
509 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioDe
stinationNode-section | 586 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioDe
stinationNode-section |
510 @Experimental() | 587 @Experimental() |
511 class AudioDestinationNode extends AudioNode { | 588 class AudioDestinationNode extends AudioNode { |
512 // To suppress missing implicit constructor warnings. | 589 // To suppress missing implicit constructor warnings. |
513 factory AudioDestinationNode._() { throw new UnsupportedError("Not supported")
; } | 590 factory AudioDestinationNode._() { |
514 | 591 throw new UnsupportedError("Not supported"); |
| 592 } |
515 | 593 |
516 @Deprecated("Internal Use Only") | 594 @Deprecated("Internal Use Only") |
517 external static Type get instanceRuntimeType; | 595 external static Type get instanceRuntimeType; |
518 | 596 |
519 @Deprecated("Internal Use Only") | 597 @Deprecated("Internal Use Only") |
520 AudioDestinationNode.internal_() : super.internal_(); | 598 AudioDestinationNode.internal_() : super.internal_(); |
521 | 599 |
522 | |
523 @DomName('AudioDestinationNode.maxChannelCount') | 600 @DomName('AudioDestinationNode.maxChannelCount') |
524 @DocsEditable() | 601 @DocsEditable() |
525 int get maxChannelCount => _blink.BlinkAudioDestinationNode.instance.maxChanne
lCount_Getter_(this); | 602 int get maxChannelCount => |
526 | 603 _blink.BlinkAudioDestinationNode.instance.maxChannelCount_Getter_(this); |
527 } | 604 } |
528 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 605 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
529 // for details. All rights reserved. Use of this source code is governed by a | 606 // for details. All rights reserved. Use of this source code is governed by a |
530 // BSD-style license that can be found in the LICENSE file. | 607 // BSD-style license that can be found in the LICENSE file. |
531 | 608 |
532 // WARNING: Do not edit - generated code. | 609 // WARNING: Do not edit - generated code. |
533 | 610 |
534 | |
535 @DocsEditable() | 611 @DocsEditable() |
536 @DomName('AudioListener') | 612 @DomName('AudioListener') |
537 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioLi
stener-section | 613 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioLi
stener-section |
538 @Experimental() | 614 @Experimental() |
539 class AudioListener extends DartHtmlDomObject { | 615 class AudioListener extends DartHtmlDomObject { |
540 // To suppress missing implicit constructor warnings. | 616 // To suppress missing implicit constructor warnings. |
541 factory AudioListener._() { throw new UnsupportedError("Not supported"); } | 617 factory AudioListener._() { |
542 | 618 throw new UnsupportedError("Not supported"); |
| 619 } |
543 | 620 |
544 @Deprecated("Internal Use Only") | 621 @Deprecated("Internal Use Only") |
545 external static Type get instanceRuntimeType; | 622 external static Type get instanceRuntimeType; |
546 | 623 |
547 @Deprecated("Internal Use Only") | 624 @Deprecated("Internal Use Only") |
548 AudioListener.internal_() { } | 625 AudioListener.internal_() {} |
549 | 626 |
550 @DomName('AudioListener.dopplerFactor') | 627 @DomName('AudioListener.dopplerFactor') |
551 @DocsEditable() | 628 @DocsEditable() |
552 num get dopplerFactor => _blink.BlinkAudioListener.instance.dopplerFactor_Gett
er_(this); | 629 num get dopplerFactor => |
553 | 630 _blink.BlinkAudioListener.instance.dopplerFactor_Getter_(this); |
| 631 |
554 @DomName('AudioListener.dopplerFactor') | 632 @DomName('AudioListener.dopplerFactor') |
555 @DocsEditable() | 633 @DocsEditable() |
556 set dopplerFactor(num value) => _blink.BlinkAudioListener.instance.dopplerFact
or_Setter_(this, value); | 634 set dopplerFactor(num value) => |
557 | 635 _blink.BlinkAudioListener.instance.dopplerFactor_Setter_(this, value); |
| 636 |
558 @DomName('AudioListener.speedOfSound') | 637 @DomName('AudioListener.speedOfSound') |
559 @DocsEditable() | 638 @DocsEditable() |
560 num get speedOfSound => _blink.BlinkAudioListener.instance.speedOfSound_Getter
_(this); | 639 num get speedOfSound => |
561 | 640 _blink.BlinkAudioListener.instance.speedOfSound_Getter_(this); |
| 641 |
562 @DomName('AudioListener.speedOfSound') | 642 @DomName('AudioListener.speedOfSound') |
563 @DocsEditable() | 643 @DocsEditable() |
564 set speedOfSound(num value) => _blink.BlinkAudioListener.instance.speedOfSound
_Setter_(this, value); | 644 set speedOfSound(num value) => |
565 | 645 _blink.BlinkAudioListener.instance.speedOfSound_Setter_(this, value); |
| 646 |
566 @DomName('AudioListener.setOrientation') | 647 @DomName('AudioListener.setOrientation') |
567 @DocsEditable() | 648 @DocsEditable() |
568 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); | 649 void setOrientation(num x, num y, num z, num xUp, num yUp, num zUp) => |
569 | 650 _blink.BlinkAudioListener.instance |
| 651 .setOrientation_Callback_6_(this, x, y, z, xUp, yUp, zUp); |
| 652 |
570 @DomName('AudioListener.setPosition') | 653 @DomName('AudioListener.setPosition') |
571 @DocsEditable() | 654 @DocsEditable() |
572 void setPosition(num x, num y, num z) => _blink.BlinkAudioListener.instance.se
tPosition_Callback_3_(this, x, y, z); | 655 void setPosition(num x, num y, num z) => |
573 | 656 _blink.BlinkAudioListener.instance.setPosition_Callback_3_(this, x, y, z); |
| 657 |
574 @DomName('AudioListener.setVelocity') | 658 @DomName('AudioListener.setVelocity') |
575 @DocsEditable() | 659 @DocsEditable() |
576 void setVelocity(num x, num y, num z) => _blink.BlinkAudioListener.instance.se
tVelocity_Callback_3_(this, x, y, z); | 660 void setVelocity(num x, num y, num z) => |
577 | 661 _blink.BlinkAudioListener.instance.setVelocity_Callback_3_(this, x, y, z); |
578 } | 662 } |
579 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 663 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
580 // for details. All rights reserved. Use of this source code is governed by a | 664 // for details. All rights reserved. Use of this source code is governed by a |
581 // BSD-style license that can be found in the LICENSE file. | 665 // BSD-style license that can be found in the LICENSE file. |
582 | 666 |
583 | |
584 @DomName('AudioNode') | 667 @DomName('AudioNode') |
585 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioNo
de-section | 668 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioNo
de-section |
586 @Experimental() | 669 @Experimental() |
587 class AudioNode extends EventTarget { | 670 class AudioNode extends EventTarget { |
588 // To suppress missing implicit constructor warnings. | 671 // To suppress missing implicit constructor warnings. |
589 factory AudioNode._() { throw new UnsupportedError("Not supported"); } | 672 factory AudioNode._() { |
590 | 673 throw new UnsupportedError("Not supported"); |
| 674 } |
591 | 675 |
592 @Deprecated("Internal Use Only") | 676 @Deprecated("Internal Use Only") |
593 external static Type get instanceRuntimeType; | 677 external static Type get instanceRuntimeType; |
594 | 678 |
595 @Deprecated("Internal Use Only") | 679 @Deprecated("Internal Use Only") |
596 AudioNode.internal_() : super.internal_(); | 680 AudioNode.internal_() : super.internal_(); |
597 | 681 |
| 682 @DomName('AudioNode.channelCount') |
| 683 @DocsEditable() |
| 684 int get channelCount => |
| 685 _blink.BlinkAudioNode.instance.channelCount_Getter_(this); |
598 | 686 |
599 @DomName('AudioNode.channelCount') | 687 @DomName('AudioNode.channelCount') |
600 @DocsEditable() | 688 @DocsEditable() |
601 int get channelCount => _blink.BlinkAudioNode.instance.channelCount_Getter_(th
is); | 689 set channelCount(int value) => |
602 | 690 _blink.BlinkAudioNode.instance.channelCount_Setter_(this, value); |
603 @DomName('AudioNode.channelCount') | 691 |
604 @DocsEditable() | |
605 set channelCount(int value) => _blink.BlinkAudioNode.instance.channelCount_Set
ter_(this, value); | |
606 | |
607 @DomName('AudioNode.channelCountMode') | 692 @DomName('AudioNode.channelCountMode') |
608 @DocsEditable() | 693 @DocsEditable() |
609 String get channelCountMode => _blink.BlinkAudioNode.instance.channelCountMode
_Getter_(this); | 694 String get channelCountMode => |
610 | 695 _blink.BlinkAudioNode.instance.channelCountMode_Getter_(this); |
| 696 |
611 @DomName('AudioNode.channelCountMode') | 697 @DomName('AudioNode.channelCountMode') |
612 @DocsEditable() | 698 @DocsEditable() |
613 set channelCountMode(String value) => _blink.BlinkAudioNode.instance.channelCo
untMode_Setter_(this, value); | 699 set channelCountMode(String value) => |
614 | 700 _blink.BlinkAudioNode.instance.channelCountMode_Setter_(this, value); |
| 701 |
615 @DomName('AudioNode.channelInterpretation') | 702 @DomName('AudioNode.channelInterpretation') |
616 @DocsEditable() | 703 @DocsEditable() |
617 String get channelInterpretation => _blink.BlinkAudioNode.instance.channelInte
rpretation_Getter_(this); | 704 String get channelInterpretation => |
618 | 705 _blink.BlinkAudioNode.instance.channelInterpretation_Getter_(this); |
| 706 |
619 @DomName('AudioNode.channelInterpretation') | 707 @DomName('AudioNode.channelInterpretation') |
620 @DocsEditable() | 708 @DocsEditable() |
621 set channelInterpretation(String value) => _blink.BlinkAudioNode.instance.chan
nelInterpretation_Setter_(this, value); | 709 set channelInterpretation(String value) => |
622 | 710 _blink.BlinkAudioNode.instance.channelInterpretation_Setter_(this, value); |
| 711 |
623 @DomName('AudioNode.context') | 712 @DomName('AudioNode.context') |
624 @DocsEditable() | 713 @DocsEditable() |
625 AudioContext get context => _blink.BlinkAudioNode.instance.context_Getter_(thi
s); | 714 AudioContext get context => |
626 | 715 _blink.BlinkAudioNode.instance.context_Getter_(this); |
| 716 |
627 @DomName('AudioNode.numberOfInputs') | 717 @DomName('AudioNode.numberOfInputs') |
628 @DocsEditable() | 718 @DocsEditable() |
629 int get numberOfInputs => _blink.BlinkAudioNode.instance.numberOfInputs_Getter
_(this); | 719 int get numberOfInputs => |
630 | 720 _blink.BlinkAudioNode.instance.numberOfInputs_Getter_(this); |
| 721 |
631 @DomName('AudioNode.numberOfOutputs') | 722 @DomName('AudioNode.numberOfOutputs') |
632 @DocsEditable() | 723 @DocsEditable() |
633 int get numberOfOutputs => _blink.BlinkAudioNode.instance.numberOfOutputs_Gett
er_(this); | 724 int get numberOfOutputs => |
634 | 725 _blink.BlinkAudioNode.instance.numberOfOutputs_Getter_(this); |
| 726 |
635 void _connect(destination, [int output, int input]) { | 727 void _connect(destination, [int output, int input]) { |
636 if ((destination is AudioNode) && output == null && input == null) { | 728 if ((destination is AudioNode) && output == null && input == null) { |
637 _blink.BlinkAudioNode.instance.connect_Callback_1_(this, destination); | 729 _blink.BlinkAudioNode.instance.connect_Callback_1_(this, destination); |
638 return; | 730 return; |
639 } | 731 } |
640 if ((output is int || output == null) && (destination is AudioNode) && input
== null) { | 732 if ((output is int || output == null) && |
641 _blink.BlinkAudioNode.instance.connect_Callback_2_(this, destination, outp
ut); | 733 (destination is AudioNode) && |
| 734 input == null) { |
| 735 _blink.BlinkAudioNode.instance |
| 736 .connect_Callback_2_(this, destination, output); |
642 return; | 737 return; |
643 } | 738 } |
644 if ((input is int || input == null) && (output is int || output == null) &&
(destination is AudioNode)) { | 739 if ((input is int || input == null) && |
645 _blink.BlinkAudioNode.instance.connect_Callback_3_(this, destination, outp
ut, input); | 740 (output is int || output == null) && |
| 741 (destination is AudioNode)) { |
| 742 _blink.BlinkAudioNode.instance |
| 743 .connect_Callback_3_(this, destination, output, input); |
646 return; | 744 return; |
647 } | 745 } |
648 if ((destination is AudioParam) && output == null && input == null) { | 746 if ((destination is AudioParam) && output == null && input == null) { |
649 _blink.BlinkAudioNode.instance.connect_Callback_1_(this, destination); | 747 _blink.BlinkAudioNode.instance.connect_Callback_1_(this, destination); |
650 return; | 748 return; |
651 } | 749 } |
652 if ((output is int || output == null) && (destination is AudioParam) && inpu
t == null) { | 750 if ((output is int || output == null) && |
653 _blink.BlinkAudioNode.instance.connect_Callback_2_(this, destination, outp
ut); | 751 (destination is AudioParam) && |
| 752 input == null) { |
| 753 _blink.BlinkAudioNode.instance |
| 754 .connect_Callback_2_(this, destination, output); |
654 return; | 755 return; |
655 } | 756 } |
656 throw new ArgumentError("Incorrect number or type of arguments"); | 757 throw new ArgumentError("Incorrect number or type of arguments"); |
657 } | 758 } |
658 | 759 |
659 void disconnect([destination_OR_output, int output, int input]) { | 760 void disconnect([destination_OR_output, int output, int input]) { |
660 if (destination_OR_output == null && output == null && input == null) { | 761 if (destination_OR_output == null && output == null && input == null) { |
661 _blink.BlinkAudioNode.instance.disconnect_Callback_0_(this); | 762 _blink.BlinkAudioNode.instance.disconnect_Callback_0_(this); |
662 return; | 763 return; |
663 } | 764 } |
664 if ((destination_OR_output is int) && output == null && input == null) { | 765 if ((destination_OR_output is int) && output == null && input == null) { |
665 _blink.BlinkAudioNode.instance.disconnect_Callback_1_(this, destination_OR
_output); | 766 _blink.BlinkAudioNode.instance |
| 767 .disconnect_Callback_1_(this, destination_OR_output); |
666 return; | 768 return; |
667 } | 769 } |
668 if ((destination_OR_output is AudioNode) && output == null && input == null)
{ | 770 if ((destination_OR_output is AudioNode) && |
669 _blink.BlinkAudioNode.instance.disconnect_Callback_1_(this, destination_OR
_output); | 771 output == null && |
| 772 input == null) { |
| 773 _blink.BlinkAudioNode.instance |
| 774 .disconnect_Callback_1_(this, destination_OR_output); |
670 return; | 775 return; |
671 } | 776 } |
672 if ((output is int) && (destination_OR_output is AudioNode) && input == null
) { | 777 if ((output is int) && |
673 _blink.BlinkAudioNode.instance.disconnect_Callback_2_(this, destination_OR
_output, output); | 778 (destination_OR_output is AudioNode) && |
| 779 input == null) { |
| 780 _blink.BlinkAudioNode.instance |
| 781 .disconnect_Callback_2_(this, destination_OR_output, output); |
674 return; | 782 return; |
675 } | 783 } |
676 if ((input is int) && (output is int) && (destination_OR_output is AudioNode
)) { | 784 if ((input is int) && |
677 _blink.BlinkAudioNode.instance.disconnect_Callback_3_(this, destination_OR
_output, output, input); | 785 (output is int) && |
| 786 (destination_OR_output is AudioNode)) { |
| 787 _blink.BlinkAudioNode.instance |
| 788 .disconnect_Callback_3_(this, destination_OR_output, output, input); |
678 return; | 789 return; |
679 } | 790 } |
680 if ((destination_OR_output is AudioParam) && output == null && input == null
) { | 791 if ((destination_OR_output is AudioParam) && |
681 _blink.BlinkAudioNode.instance.disconnect_Callback_1_(this, destination_OR
_output); | 792 output == null && |
| 793 input == null) { |
| 794 _blink.BlinkAudioNode.instance |
| 795 .disconnect_Callback_1_(this, destination_OR_output); |
682 return; | 796 return; |
683 } | 797 } |
684 if ((output is int) && (destination_OR_output is AudioParam) && input == nul
l) { | 798 if ((output is int) && |
685 _blink.BlinkAudioNode.instance.disconnect_Callback_2_(this, destination_OR
_output, output); | 799 (destination_OR_output is AudioParam) && |
| 800 input == null) { |
| 801 _blink.BlinkAudioNode.instance |
| 802 .disconnect_Callback_2_(this, destination_OR_output, output); |
686 return; | 803 return; |
687 } | 804 } |
688 throw new ArgumentError("Incorrect number or type of arguments"); | 805 throw new ArgumentError("Incorrect number or type of arguments"); |
689 } | 806 } |
690 | 807 |
691 @DomName('AudioNode.connect') | 808 @DomName('AudioNode.connect') |
692 void connectNode(AudioNode destination, [int output = 0, int input = 0]) { | 809 void connectNode(AudioNode destination, [int output = 0, int input = 0]) { |
693 _connect(destination, output, input); | 810 _connect(destination, output, input); |
694 } | 811 } |
695 | 812 |
696 @DomName('AudioNode.connect') | 813 @DomName('AudioNode.connect') |
697 void connectParam(AudioParam destination, [int output = 0]) { | 814 void connectParam(AudioParam destination, [int output = 0]) { |
698 _connect(destination, output); | 815 _connect(destination, output); |
699 } | 816 } |
700 } | 817 } |
701 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 818 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
702 // for details. All rights reserved. Use of this source code is governed by a | 819 // for details. All rights reserved. Use of this source code is governed by a |
703 // BSD-style license that can be found in the LICENSE file. | 820 // BSD-style license that can be found in the LICENSE file. |
704 | 821 |
705 // WARNING: Do not edit - generated code. | 822 // WARNING: Do not edit - generated code. |
706 | 823 |
707 | |
708 @DocsEditable() | 824 @DocsEditable() |
709 @DomName('AudioParam') | 825 @DomName('AudioParam') |
710 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioPa
ram | 826 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioPa
ram |
711 @Experimental() | 827 @Experimental() |
712 class AudioParam extends DartHtmlDomObject { | 828 class AudioParam extends DartHtmlDomObject { |
713 // To suppress missing implicit constructor warnings. | 829 // To suppress missing implicit constructor warnings. |
714 factory AudioParam._() { throw new UnsupportedError("Not supported"); } | 830 factory AudioParam._() { |
715 | 831 throw new UnsupportedError("Not supported"); |
| 832 } |
716 | 833 |
717 @Deprecated("Internal Use Only") | 834 @Deprecated("Internal Use Only") |
718 external static Type get instanceRuntimeType; | 835 external static Type get instanceRuntimeType; |
719 | 836 |
720 @Deprecated("Internal Use Only") | 837 @Deprecated("Internal Use Only") |
721 AudioParam.internal_() { } | 838 AudioParam.internal_() {} |
722 | 839 |
723 @DomName('AudioParam.defaultValue') | 840 @DomName('AudioParam.defaultValue') |
724 @DocsEditable() | 841 @DocsEditable() |
725 num get defaultValue => _blink.BlinkAudioParam.instance.defaultValue_Getter_(t
his); | 842 num get defaultValue => |
726 | 843 _blink.BlinkAudioParam.instance.defaultValue_Getter_(this); |
| 844 |
727 @DomName('AudioParam.value') | 845 @DomName('AudioParam.value') |
728 @DocsEditable() | 846 @DocsEditable() |
729 num get value => _blink.BlinkAudioParam.instance.value_Getter_(this); | 847 num get value => _blink.BlinkAudioParam.instance.value_Getter_(this); |
730 | 848 |
731 @DomName('AudioParam.value') | 849 @DomName('AudioParam.value') |
732 @DocsEditable() | 850 @DocsEditable() |
733 set value(num value) => _blink.BlinkAudioParam.instance.value_Setter_(this, va
lue); | 851 set value(num value) => |
734 | 852 _blink.BlinkAudioParam.instance.value_Setter_(this, value); |
| 853 |
735 @DomName('AudioParam.cancelScheduledValues') | 854 @DomName('AudioParam.cancelScheduledValues') |
736 @DocsEditable() | 855 @DocsEditable() |
737 void cancelScheduledValues(num startTime) => _blink.BlinkAudioParam.instance.c
ancelScheduledValues_Callback_1_(this, startTime); | 856 void cancelScheduledValues(num startTime) => _blink.BlinkAudioParam.instance |
738 | 857 .cancelScheduledValues_Callback_1_(this, startTime); |
| 858 |
739 @DomName('AudioParam.exponentialRampToValueAtTime') | 859 @DomName('AudioParam.exponentialRampToValueAtTime') |
740 @DocsEditable() | 860 @DocsEditable() |
741 void exponentialRampToValueAtTime(num value, num time) => _blink.BlinkAudioPar
am.instance.exponentialRampToValueAtTime_Callback_2_(this, value, time); | 861 void exponentialRampToValueAtTime(num value, num time) => |
742 | 862 _blink.BlinkAudioParam.instance |
| 863 .exponentialRampToValueAtTime_Callback_2_(this, value, time); |
| 864 |
743 @DomName('AudioParam.linearRampToValueAtTime') | 865 @DomName('AudioParam.linearRampToValueAtTime') |
744 @DocsEditable() | 866 @DocsEditable() |
745 void linearRampToValueAtTime(num value, num time) => _blink.BlinkAudioParam.in
stance.linearRampToValueAtTime_Callback_2_(this, value, time); | 867 void linearRampToValueAtTime(num value, num time) => |
746 | 868 _blink.BlinkAudioParam.instance |
| 869 .linearRampToValueAtTime_Callback_2_(this, value, time); |
| 870 |
747 @DomName('AudioParam.setTargetAtTime') | 871 @DomName('AudioParam.setTargetAtTime') |
748 @DocsEditable() | 872 @DocsEditable() |
749 void setTargetAtTime(num target, num time, num timeConstant) => _blink.BlinkAu
dioParam.instance.setTargetAtTime_Callback_3_(this, target, time, timeConstant); | 873 void setTargetAtTime(num target, num time, num timeConstant) => |
750 | 874 _blink.BlinkAudioParam.instance |
| 875 .setTargetAtTime_Callback_3_(this, target, time, timeConstant); |
| 876 |
751 @DomName('AudioParam.setValueAtTime') | 877 @DomName('AudioParam.setValueAtTime') |
752 @DocsEditable() | 878 @DocsEditable() |
753 void setValueAtTime(num value, num time) => _blink.BlinkAudioParam.instance.se
tValueAtTime_Callback_2_(this, value, time); | 879 void setValueAtTime(num value, num time) => _blink.BlinkAudioParam.instance |
754 | 880 .setValueAtTime_Callback_2_(this, value, time); |
| 881 |
755 @DomName('AudioParam.setValueCurveAtTime') | 882 @DomName('AudioParam.setValueCurveAtTime') |
756 @DocsEditable() | 883 @DocsEditable() |
757 void setValueCurveAtTime(Float32List values, num time, num duration) => _blink
.BlinkAudioParam.instance.setValueCurveAtTime_Callback_3_(this, values, time, du
ration); | 884 void setValueCurveAtTime(Float32List values, num time, num duration) => |
758 | 885 _blink.BlinkAudioParam.instance |
| 886 .setValueCurveAtTime_Callback_3_(this, values, time, duration); |
759 } | 887 } |
760 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 888 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
761 // for details. All rights reserved. Use of this source code is governed by a | 889 // for details. All rights reserved. Use of this source code is governed by a |
762 // BSD-style license that can be found in the LICENSE file. | 890 // BSD-style license that can be found in the LICENSE file. |
763 | 891 |
764 // WARNING: Do not edit - generated code. | 892 // WARNING: Do not edit - generated code. |
765 | 893 |
766 | |
767 @DocsEditable() | 894 @DocsEditable() |
768 @DomName('AudioProcessingEvent') | 895 @DomName('AudioProcessingEvent') |
769 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioPr
ocessingEvent-section | 896 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioPr
ocessingEvent-section |
770 @Experimental() | 897 @Experimental() |
771 class AudioProcessingEvent extends Event { | 898 class AudioProcessingEvent extends Event { |
772 // To suppress missing implicit constructor warnings. | 899 // To suppress missing implicit constructor warnings. |
773 factory AudioProcessingEvent._() { throw new UnsupportedError("Not supported")
; } | 900 factory AudioProcessingEvent._() { |
774 | 901 throw new UnsupportedError("Not supported"); |
| 902 } |
775 | 903 |
776 @Deprecated("Internal Use Only") | 904 @Deprecated("Internal Use Only") |
777 external static Type get instanceRuntimeType; | 905 external static Type get instanceRuntimeType; |
778 | 906 |
779 @Deprecated("Internal Use Only") | 907 @Deprecated("Internal Use Only") |
780 AudioProcessingEvent.internal_() : super.internal_(); | 908 AudioProcessingEvent.internal_() : super.internal_(); |
781 | 909 |
782 | |
783 @DomName('AudioProcessingEvent.inputBuffer') | 910 @DomName('AudioProcessingEvent.inputBuffer') |
784 @DocsEditable() | 911 @DocsEditable() |
785 AudioBuffer get inputBuffer => _blink.BlinkAudioProcessingEvent.instance.input
Buffer_Getter_(this); | 912 AudioBuffer get inputBuffer => |
786 | 913 _blink.BlinkAudioProcessingEvent.instance.inputBuffer_Getter_(this); |
| 914 |
787 @DomName('AudioProcessingEvent.outputBuffer') | 915 @DomName('AudioProcessingEvent.outputBuffer') |
788 @DocsEditable() | 916 @DocsEditable() |
789 AudioBuffer get outputBuffer => _blink.BlinkAudioProcessingEvent.instance.outp
utBuffer_Getter_(this); | 917 AudioBuffer get outputBuffer => |
790 | 918 _blink.BlinkAudioProcessingEvent.instance.outputBuffer_Getter_(this); |
| 919 |
791 @DomName('AudioProcessingEvent.playbackTime') | 920 @DomName('AudioProcessingEvent.playbackTime') |
792 @DocsEditable() | 921 @DocsEditable() |
793 @Experimental() // untriaged | 922 @Experimental() // untriaged |
794 num get playbackTime => _blink.BlinkAudioProcessingEvent.instance.playbackTime
_Getter_(this); | 923 num get playbackTime => |
795 | 924 _blink.BlinkAudioProcessingEvent.instance.playbackTime_Getter_(this); |
796 } | 925 } |
797 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 926 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
798 // for details. All rights reserved. Use of this source code is governed by a | 927 // for details. All rights reserved. Use of this source code is governed by a |
799 // BSD-style license that can be found in the LICENSE file. | 928 // BSD-style license that can be found in the LICENSE file. |
800 | 929 |
801 // WARNING: Do not edit - generated code. | 930 // WARNING: Do not edit - generated code. |
802 | 931 |
803 | |
804 @DocsEditable() | 932 @DocsEditable() |
805 @DomName('AudioSourceNode') | 933 @DomName('AudioSourceNode') |
806 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html | 934 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html |
807 @Experimental() | 935 @Experimental() |
808 class AudioSourceNode extends AudioNode { | 936 class AudioSourceNode extends AudioNode { |
809 // To suppress missing implicit constructor warnings. | 937 // To suppress missing implicit constructor warnings. |
810 factory AudioSourceNode._() { throw new UnsupportedError("Not supported"); } | 938 factory AudioSourceNode._() { |
811 | 939 throw new UnsupportedError("Not supported"); |
| 940 } |
812 | 941 |
813 @Deprecated("Internal Use Only") | 942 @Deprecated("Internal Use Only") |
814 external static Type get instanceRuntimeType; | 943 external static Type get instanceRuntimeType; |
815 | 944 |
816 @Deprecated("Internal Use Only") | 945 @Deprecated("Internal Use Only") |
817 AudioSourceNode.internal_() : super.internal_(); | 946 AudioSourceNode.internal_() : super.internal_(); |
818 | |
819 | |
820 } | 947 } |
821 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 948 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
822 // for details. All rights reserved. Use of this source code is governed by a | 949 // for details. All rights reserved. Use of this source code is governed by a |
823 // BSD-style license that can be found in the LICENSE file. | 950 // BSD-style license that can be found in the LICENSE file. |
824 | 951 |
825 // WARNING: Do not edit - generated code. | 952 // WARNING: Do not edit - generated code. |
826 | 953 |
827 | |
828 @DocsEditable() | 954 @DocsEditable() |
829 @DomName('BiquadFilterNode') | 955 @DomName('BiquadFilterNode') |
830 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#BiquadF
ilterNode-section | 956 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#BiquadF
ilterNode-section |
831 @Experimental() | 957 @Experimental() |
832 class BiquadFilterNode extends AudioNode { | 958 class BiquadFilterNode extends AudioNode { |
833 // To suppress missing implicit constructor warnings. | 959 // To suppress missing implicit constructor warnings. |
834 factory BiquadFilterNode._() { throw new UnsupportedError("Not supported"); } | 960 factory BiquadFilterNode._() { |
835 | 961 throw new UnsupportedError("Not supported"); |
| 962 } |
836 | 963 |
837 @Deprecated("Internal Use Only") | 964 @Deprecated("Internal Use Only") |
838 external static Type get instanceRuntimeType; | 965 external static Type get instanceRuntimeType; |
839 | 966 |
840 @Deprecated("Internal Use Only") | 967 @Deprecated("Internal Use Only") |
841 BiquadFilterNode.internal_() : super.internal_(); | 968 BiquadFilterNode.internal_() : super.internal_(); |
842 | 969 |
843 | |
844 @DomName('BiquadFilterNode.Q') | 970 @DomName('BiquadFilterNode.Q') |
845 @DocsEditable() | 971 @DocsEditable() |
846 AudioParam get Q => _blink.BlinkBiquadFilterNode.instance.Q_Getter_(this); | 972 AudioParam get Q => _blink.BlinkBiquadFilterNode.instance.Q_Getter_(this); |
847 | 973 |
848 @DomName('BiquadFilterNode.detune') | 974 @DomName('BiquadFilterNode.detune') |
849 @DocsEditable() | 975 @DocsEditable() |
850 AudioParam get detune => _blink.BlinkBiquadFilterNode.instance.detune_Getter_(
this); | 976 AudioParam get detune => |
851 | 977 _blink.BlinkBiquadFilterNode.instance.detune_Getter_(this); |
| 978 |
852 @DomName('BiquadFilterNode.frequency') | 979 @DomName('BiquadFilterNode.frequency') |
853 @DocsEditable() | 980 @DocsEditable() |
854 AudioParam get frequency => _blink.BlinkBiquadFilterNode.instance.frequency_Ge
tter_(this); | 981 AudioParam get frequency => |
855 | 982 _blink.BlinkBiquadFilterNode.instance.frequency_Getter_(this); |
| 983 |
856 @DomName('BiquadFilterNode.gain') | 984 @DomName('BiquadFilterNode.gain') |
857 @DocsEditable() | 985 @DocsEditable() |
858 AudioParam get gain => _blink.BlinkBiquadFilterNode.instance.gain_Getter_(this
); | 986 AudioParam get gain => |
859 | 987 _blink.BlinkBiquadFilterNode.instance.gain_Getter_(this); |
| 988 |
860 @DomName('BiquadFilterNode.type') | 989 @DomName('BiquadFilterNode.type') |
861 @DocsEditable() | 990 @DocsEditable() |
862 String get type => _blink.BlinkBiquadFilterNode.instance.type_Getter_(this); | 991 String get type => _blink.BlinkBiquadFilterNode.instance.type_Getter_(this); |
863 | 992 |
864 @DomName('BiquadFilterNode.type') | 993 @DomName('BiquadFilterNode.type') |
865 @DocsEditable() | 994 @DocsEditable() |
866 set type(String value) => _blink.BlinkBiquadFilterNode.instance.type_Setter_(t
his, value); | 995 set type(String value) => |
867 | 996 _blink.BlinkBiquadFilterNode.instance.type_Setter_(this, value); |
| 997 |
868 @DomName('BiquadFilterNode.getFrequencyResponse') | 998 @DomName('BiquadFilterNode.getFrequencyResponse') |
869 @DocsEditable() | 999 @DocsEditable() |
870 void getFrequencyResponse(Float32List frequencyHz, Float32List magResponse, Fl
oat32List phaseResponse) => _blink.BlinkBiquadFilterNode.instance.getFrequencyRe
sponse_Callback_3_(this, frequencyHz, magResponse, phaseResponse); | 1000 void getFrequencyResponse(Float32List frequencyHz, Float32List magResponse, |
871 | 1001 Float32List phaseResponse) => |
| 1002 _blink.BlinkBiquadFilterNode.instance.getFrequencyResponse_Callback_3_( |
| 1003 this, frequencyHz, magResponse, phaseResponse); |
872 } | 1004 } |
873 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1005 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
874 // for details. All rights reserved. Use of this source code is governed by a | 1006 // for details. All rights reserved. Use of this source code is governed by a |
875 // BSD-style license that can be found in the LICENSE file. | 1007 // BSD-style license that can be found in the LICENSE file. |
876 | 1008 |
877 // WARNING: Do not edit - generated code. | 1009 // WARNING: Do not edit - generated code. |
878 | 1010 |
879 | |
880 @DocsEditable() | 1011 @DocsEditable() |
881 @DomName('ChannelMergerNode') | 1012 @DomName('ChannelMergerNode') |
882 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Channel
MergerNode-section | 1013 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Channel
MergerNode-section |
883 @Experimental() | 1014 @Experimental() |
884 class ChannelMergerNode extends AudioNode { | 1015 class ChannelMergerNode extends AudioNode { |
885 // To suppress missing implicit constructor warnings. | 1016 // To suppress missing implicit constructor warnings. |
886 factory ChannelMergerNode._() { throw new UnsupportedError("Not supported"); } | 1017 factory ChannelMergerNode._() { |
887 | 1018 throw new UnsupportedError("Not supported"); |
| 1019 } |
888 | 1020 |
889 @Deprecated("Internal Use Only") | 1021 @Deprecated("Internal Use Only") |
890 external static Type get instanceRuntimeType; | 1022 external static Type get instanceRuntimeType; |
891 | 1023 |
892 @Deprecated("Internal Use Only") | 1024 @Deprecated("Internal Use Only") |
893 ChannelMergerNode.internal_() : super.internal_(); | 1025 ChannelMergerNode.internal_() : super.internal_(); |
894 | |
895 | |
896 } | 1026 } |
897 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1027 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
898 // for details. All rights reserved. Use of this source code is governed by a | 1028 // for details. All rights reserved. Use of this source code is governed by a |
899 // BSD-style license that can be found in the LICENSE file. | 1029 // BSD-style license that can be found in the LICENSE file. |
900 | 1030 |
901 // WARNING: Do not edit - generated code. | 1031 // WARNING: Do not edit - generated code. |
902 | 1032 |
903 | |
904 @DocsEditable() | 1033 @DocsEditable() |
905 @DomName('ChannelSplitterNode') | 1034 @DomName('ChannelSplitterNode') |
906 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Channel
SplitterNode-section | 1035 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Channel
SplitterNode-section |
907 @Experimental() | 1036 @Experimental() |
908 class ChannelSplitterNode extends AudioNode { | 1037 class ChannelSplitterNode extends AudioNode { |
909 // To suppress missing implicit constructor warnings. | 1038 // To suppress missing implicit constructor warnings. |
910 factory ChannelSplitterNode._() { throw new UnsupportedError("Not supported");
} | 1039 factory ChannelSplitterNode._() { |
911 | 1040 throw new UnsupportedError("Not supported"); |
| 1041 } |
912 | 1042 |
913 @Deprecated("Internal Use Only") | 1043 @Deprecated("Internal Use Only") |
914 external static Type get instanceRuntimeType; | 1044 external static Type get instanceRuntimeType; |
915 | 1045 |
916 @Deprecated("Internal Use Only") | 1046 @Deprecated("Internal Use Only") |
917 ChannelSplitterNode.internal_() : super.internal_(); | 1047 ChannelSplitterNode.internal_() : super.internal_(); |
918 | |
919 | |
920 } | 1048 } |
921 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1049 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
922 // for details. All rights reserved. Use of this source code is governed by a | 1050 // for details. All rights reserved. Use of this source code is governed by a |
923 // BSD-style license that can be found in the LICENSE file. | 1051 // BSD-style license that can be found in the LICENSE file. |
924 | 1052 |
925 // WARNING: Do not edit - generated code. | 1053 // WARNING: Do not edit - generated code. |
926 | 1054 |
927 | |
928 @DocsEditable() | 1055 @DocsEditable() |
929 @DomName('ConvolverNode') | 1056 @DomName('ConvolverNode') |
930 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Convolv
erNode | 1057 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Convolv
erNode |
931 @Experimental() | 1058 @Experimental() |
932 class ConvolverNode extends AudioNode { | 1059 class ConvolverNode extends AudioNode { |
933 // To suppress missing implicit constructor warnings. | 1060 // To suppress missing implicit constructor warnings. |
934 factory ConvolverNode._() { throw new UnsupportedError("Not supported"); } | 1061 factory ConvolverNode._() { |
935 | 1062 throw new UnsupportedError("Not supported"); |
| 1063 } |
936 | 1064 |
937 @Deprecated("Internal Use Only") | 1065 @Deprecated("Internal Use Only") |
938 external static Type get instanceRuntimeType; | 1066 external static Type get instanceRuntimeType; |
939 | 1067 |
940 @Deprecated("Internal Use Only") | 1068 @Deprecated("Internal Use Only") |
941 ConvolverNode.internal_() : super.internal_(); | 1069 ConvolverNode.internal_() : super.internal_(); |
942 | 1070 |
| 1071 @DomName('ConvolverNode.buffer') |
| 1072 @DocsEditable() |
| 1073 AudioBuffer get buffer => |
| 1074 _blink.BlinkConvolverNode.instance.buffer_Getter_(this); |
943 | 1075 |
944 @DomName('ConvolverNode.buffer') | 1076 @DomName('ConvolverNode.buffer') |
945 @DocsEditable() | 1077 @DocsEditable() |
946 AudioBuffer get buffer => _blink.BlinkConvolverNode.instance.buffer_Getter_(th
is); | 1078 set buffer(AudioBuffer value) => |
947 | 1079 _blink.BlinkConvolverNode.instance.buffer_Setter_(this, value); |
948 @DomName('ConvolverNode.buffer') | 1080 |
949 @DocsEditable() | |
950 set buffer(AudioBuffer value) => _blink.BlinkConvolverNode.instance.buffer_Set
ter_(this, value); | |
951 | |
952 @DomName('ConvolverNode.normalize') | 1081 @DomName('ConvolverNode.normalize') |
953 @DocsEditable() | 1082 @DocsEditable() |
954 bool get normalize => _blink.BlinkConvolverNode.instance.normalize_Getter_(thi
s); | 1083 bool get normalize => |
955 | 1084 _blink.BlinkConvolverNode.instance.normalize_Getter_(this); |
| 1085 |
956 @DomName('ConvolverNode.normalize') | 1086 @DomName('ConvolverNode.normalize') |
957 @DocsEditable() | 1087 @DocsEditable() |
958 set normalize(bool value) => _blink.BlinkConvolverNode.instance.normalize_Sett
er_(this, value); | 1088 set normalize(bool value) => |
959 | 1089 _blink.BlinkConvolverNode.instance.normalize_Setter_(this, value); |
960 } | 1090 } |
961 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1091 // 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 | 1092 // 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. | 1093 // BSD-style license that can be found in the LICENSE file. |
964 | 1094 |
965 // WARNING: Do not edit - generated code. | 1095 // WARNING: Do not edit - generated code. |
966 | 1096 |
967 | |
968 @DocsEditable() | 1097 @DocsEditable() |
969 @DomName('DelayNode') | 1098 @DomName('DelayNode') |
970 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#DelayNo
de | 1099 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#DelayNo
de |
971 @Experimental() | 1100 @Experimental() |
972 class DelayNode extends AudioNode { | 1101 class DelayNode extends AudioNode { |
973 // To suppress missing implicit constructor warnings. | 1102 // To suppress missing implicit constructor warnings. |
974 factory DelayNode._() { throw new UnsupportedError("Not supported"); } | 1103 factory DelayNode._() { |
975 | 1104 throw new UnsupportedError("Not supported"); |
| 1105 } |
976 | 1106 |
977 @Deprecated("Internal Use Only") | 1107 @Deprecated("Internal Use Only") |
978 external static Type get instanceRuntimeType; | 1108 external static Type get instanceRuntimeType; |
979 | 1109 |
980 @Deprecated("Internal Use Only") | 1110 @Deprecated("Internal Use Only") |
981 DelayNode.internal_() : super.internal_(); | 1111 DelayNode.internal_() : super.internal_(); |
982 | 1112 |
983 | |
984 @DomName('DelayNode.delayTime') | 1113 @DomName('DelayNode.delayTime') |
985 @DocsEditable() | 1114 @DocsEditable() |
986 AudioParam get delayTime => _blink.BlinkDelayNode.instance.delayTime_Getter_(t
his); | 1115 AudioParam get delayTime => |
987 | 1116 _blink.BlinkDelayNode.instance.delayTime_Getter_(this); |
988 } | 1117 } |
989 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1118 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
990 // for details. All rights reserved. Use of this source code is governed by a | 1119 // for details. All rights reserved. Use of this source code is governed by a |
991 // BSD-style license that can be found in the LICENSE file. | 1120 // BSD-style license that can be found in the LICENSE file. |
992 | 1121 |
993 // WARNING: Do not edit - generated code. | 1122 // WARNING: Do not edit - generated code. |
994 | 1123 |
995 | |
996 @DocsEditable() | 1124 @DocsEditable() |
997 @DomName('DynamicsCompressorNode') | 1125 @DomName('DynamicsCompressorNode') |
998 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Dynamic
sCompressorNode | 1126 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Dynamic
sCompressorNode |
999 @Experimental() | 1127 @Experimental() |
1000 class DynamicsCompressorNode extends AudioNode { | 1128 class DynamicsCompressorNode extends AudioNode { |
1001 // To suppress missing implicit constructor warnings. | 1129 // To suppress missing implicit constructor warnings. |
1002 factory DynamicsCompressorNode._() { throw new UnsupportedError("Not supported
"); } | 1130 factory DynamicsCompressorNode._() { |
1003 | 1131 throw new UnsupportedError("Not supported"); |
| 1132 } |
1004 | 1133 |
1005 @Deprecated("Internal Use Only") | 1134 @Deprecated("Internal Use Only") |
1006 external static Type get instanceRuntimeType; | 1135 external static Type get instanceRuntimeType; |
1007 | 1136 |
1008 @Deprecated("Internal Use Only") | 1137 @Deprecated("Internal Use Only") |
1009 DynamicsCompressorNode.internal_() : super.internal_(); | 1138 DynamicsCompressorNode.internal_() : super.internal_(); |
1010 | 1139 |
1011 | |
1012 @DomName('DynamicsCompressorNode.attack') | 1140 @DomName('DynamicsCompressorNode.attack') |
1013 @DocsEditable() | 1141 @DocsEditable() |
1014 AudioParam get attack => _blink.BlinkDynamicsCompressorNode.instance.attack_Ge
tter_(this); | 1142 AudioParam get attack => |
1015 | 1143 _blink.BlinkDynamicsCompressorNode.instance.attack_Getter_(this); |
| 1144 |
1016 @DomName('DynamicsCompressorNode.knee') | 1145 @DomName('DynamicsCompressorNode.knee') |
1017 @DocsEditable() | 1146 @DocsEditable() |
1018 AudioParam get knee => _blink.BlinkDynamicsCompressorNode.instance.knee_Getter
_(this); | 1147 AudioParam get knee => |
1019 | 1148 _blink.BlinkDynamicsCompressorNode.instance.knee_Getter_(this); |
| 1149 |
1020 @DomName('DynamicsCompressorNode.ratio') | 1150 @DomName('DynamicsCompressorNode.ratio') |
1021 @DocsEditable() | 1151 @DocsEditable() |
1022 AudioParam get ratio => _blink.BlinkDynamicsCompressorNode.instance.ratio_Gett
er_(this); | 1152 AudioParam get ratio => |
1023 | 1153 _blink.BlinkDynamicsCompressorNode.instance.ratio_Getter_(this); |
| 1154 |
1024 @DomName('DynamicsCompressorNode.reduction') | 1155 @DomName('DynamicsCompressorNode.reduction') |
1025 @DocsEditable() | 1156 @DocsEditable() |
1026 AudioParam get reduction => _blink.BlinkDynamicsCompressorNode.instance.reduct
ion_Getter_(this); | 1157 AudioParam get reduction => |
1027 | 1158 _blink.BlinkDynamicsCompressorNode.instance.reduction_Getter_(this); |
| 1159 |
1028 @DomName('DynamicsCompressorNode.release') | 1160 @DomName('DynamicsCompressorNode.release') |
1029 @DocsEditable() | 1161 @DocsEditable() |
1030 AudioParam get release => _blink.BlinkDynamicsCompressorNode.instance.release_
Getter_(this); | 1162 AudioParam get release => |
1031 | 1163 _blink.BlinkDynamicsCompressorNode.instance.release_Getter_(this); |
| 1164 |
1032 @DomName('DynamicsCompressorNode.threshold') | 1165 @DomName('DynamicsCompressorNode.threshold') |
1033 @DocsEditable() | 1166 @DocsEditable() |
1034 AudioParam get threshold => _blink.BlinkDynamicsCompressorNode.instance.thresh
old_Getter_(this); | 1167 AudioParam get threshold => |
1035 | 1168 _blink.BlinkDynamicsCompressorNode.instance.threshold_Getter_(this); |
1036 } | 1169 } |
1037 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1170 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1038 // for details. All rights reserved. Use of this source code is governed by a | 1171 // for details. All rights reserved. Use of this source code is governed by a |
1039 // BSD-style license that can be found in the LICENSE file. | 1172 // BSD-style license that can be found in the LICENSE file. |
1040 | 1173 |
1041 // WARNING: Do not edit - generated code. | 1174 // WARNING: Do not edit - generated code. |
1042 | 1175 |
1043 | |
1044 @DocsEditable() | 1176 @DocsEditable() |
1045 @DomName('GainNode') | 1177 @DomName('GainNode') |
1046 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#GainNod
e | 1178 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#GainNod
e |
1047 @Experimental() | 1179 @Experimental() |
1048 class GainNode extends AudioNode { | 1180 class GainNode extends AudioNode { |
1049 // To suppress missing implicit constructor warnings. | 1181 // To suppress missing implicit constructor warnings. |
1050 factory GainNode._() { throw new UnsupportedError("Not supported"); } | 1182 factory GainNode._() { |
1051 | 1183 throw new UnsupportedError("Not supported"); |
| 1184 } |
1052 | 1185 |
1053 @Deprecated("Internal Use Only") | 1186 @Deprecated("Internal Use Only") |
1054 external static Type get instanceRuntimeType; | 1187 external static Type get instanceRuntimeType; |
1055 | 1188 |
1056 @Deprecated("Internal Use Only") | 1189 @Deprecated("Internal Use Only") |
1057 GainNode.internal_() : super.internal_(); | 1190 GainNode.internal_() : super.internal_(); |
1058 | 1191 |
1059 | |
1060 @DomName('GainNode.gain') | 1192 @DomName('GainNode.gain') |
1061 @DocsEditable() | 1193 @DocsEditable() |
1062 AudioParam get gain => _blink.BlinkGainNode.instance.gain_Getter_(this); | 1194 AudioParam get gain => _blink.BlinkGainNode.instance.gain_Getter_(this); |
1063 | |
1064 } | 1195 } |
1065 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1196 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1066 // for details. All rights reserved. Use of this source code is governed by a | 1197 // for details. All rights reserved. Use of this source code is governed by a |
1067 // BSD-style license that can be found in the LICENSE file. | 1198 // BSD-style license that can be found in the LICENSE file. |
1068 | 1199 |
1069 // WARNING: Do not edit - generated code. | 1200 // WARNING: Do not edit - generated code. |
1070 | 1201 |
1071 | |
1072 @DocsEditable() | 1202 @DocsEditable() |
1073 @DomName('MediaElementAudioSourceNode') | 1203 @DomName('MediaElementAudioSourceNode') |
1074 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaEl
ementAudioSourceNode | 1204 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaEl
ementAudioSourceNode |
1075 @Experimental() | 1205 @Experimental() |
1076 class MediaElementAudioSourceNode extends AudioSourceNode { | 1206 class MediaElementAudioSourceNode extends AudioSourceNode { |
1077 // To suppress missing implicit constructor warnings. | 1207 // To suppress missing implicit constructor warnings. |
1078 factory MediaElementAudioSourceNode._() { throw new UnsupportedError("Not supp
orted"); } | 1208 factory MediaElementAudioSourceNode._() { |
1079 | 1209 throw new UnsupportedError("Not supported"); |
| 1210 } |
1080 | 1211 |
1081 @Deprecated("Internal Use Only") | 1212 @Deprecated("Internal Use Only") |
1082 external static Type get instanceRuntimeType; | 1213 external static Type get instanceRuntimeType; |
1083 | 1214 |
1084 @Deprecated("Internal Use Only") | 1215 @Deprecated("Internal Use Only") |
1085 MediaElementAudioSourceNode.internal_() : super.internal_(); | 1216 MediaElementAudioSourceNode.internal_() : super.internal_(); |
1086 | 1217 |
1087 | |
1088 @DomName('MediaElementAudioSourceNode.mediaElement') | 1218 @DomName('MediaElementAudioSourceNode.mediaElement') |
1089 @DocsEditable() | 1219 @DocsEditable() |
1090 @Experimental() // non-standard | 1220 @Experimental() // non-standard |
1091 MediaElement get mediaElement => _blink.BlinkMediaElementAudioSourceNode.insta
nce.mediaElement_Getter_(this); | 1221 MediaElement get mediaElement => |
1092 | 1222 _blink.BlinkMediaElementAudioSourceNode.instance |
| 1223 .mediaElement_Getter_(this); |
1093 } | 1224 } |
1094 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1225 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1095 // for details. All rights reserved. Use of this source code is governed by a | 1226 // for details. All rights reserved. Use of this source code is governed by a |
1096 // BSD-style license that can be found in the LICENSE file. | 1227 // BSD-style license that can be found in the LICENSE file. |
1097 | 1228 |
1098 // WARNING: Do not edit - generated code. | 1229 // WARNING: Do not edit - generated code. |
1099 | 1230 |
1100 | |
1101 @DocsEditable() | 1231 @DocsEditable() |
1102 @DomName('MediaStreamAudioDestinationNode') | 1232 @DomName('MediaStreamAudioDestinationNode') |
1103 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaSt
reamAudioDestinationNode | 1233 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaSt
reamAudioDestinationNode |
1104 @Experimental() | 1234 @Experimental() |
1105 class MediaStreamAudioDestinationNode extends AudioNode { | 1235 class MediaStreamAudioDestinationNode extends AudioNode { |
1106 // To suppress missing implicit constructor warnings. | 1236 // To suppress missing implicit constructor warnings. |
1107 factory MediaStreamAudioDestinationNode._() { throw new UnsupportedError("Not
supported"); } | 1237 factory MediaStreamAudioDestinationNode._() { |
1108 | 1238 throw new UnsupportedError("Not supported"); |
| 1239 } |
1109 | 1240 |
1110 @Deprecated("Internal Use Only") | 1241 @Deprecated("Internal Use Only") |
1111 external static Type get instanceRuntimeType; | 1242 external static Type get instanceRuntimeType; |
1112 | 1243 |
1113 @Deprecated("Internal Use Only") | 1244 @Deprecated("Internal Use Only") |
1114 MediaStreamAudioDestinationNode.internal_() : super.internal_(); | 1245 MediaStreamAudioDestinationNode.internal_() : super.internal_(); |
1115 | 1246 |
1116 | |
1117 @DomName('MediaStreamAudioDestinationNode.stream') | 1247 @DomName('MediaStreamAudioDestinationNode.stream') |
1118 @DocsEditable() | 1248 @DocsEditable() |
1119 MediaStream get stream => _blink.BlinkMediaStreamAudioDestinationNode.instance
.stream_Getter_(this); | 1249 MediaStream get stream => |
1120 | 1250 _blink.BlinkMediaStreamAudioDestinationNode.instance.stream_Getter_(this); |
1121 } | 1251 } |
1122 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1252 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1123 // for details. All rights reserved. Use of this source code is governed by a | 1253 // for details. All rights reserved. Use of this source code is governed by a |
1124 // BSD-style license that can be found in the LICENSE file. | 1254 // BSD-style license that can be found in the LICENSE file. |
1125 | 1255 |
1126 // WARNING: Do not edit - generated code. | 1256 // WARNING: Do not edit - generated code. |
1127 | 1257 |
1128 | |
1129 @DocsEditable() | 1258 @DocsEditable() |
1130 @DomName('MediaStreamAudioSourceNode') | 1259 @DomName('MediaStreamAudioSourceNode') |
1131 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaSt
reamAudioSourceNode | 1260 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaSt
reamAudioSourceNode |
1132 @Experimental() | 1261 @Experimental() |
1133 class MediaStreamAudioSourceNode extends AudioSourceNode { | 1262 class MediaStreamAudioSourceNode extends AudioSourceNode { |
1134 // To suppress missing implicit constructor warnings. | 1263 // To suppress missing implicit constructor warnings. |
1135 factory MediaStreamAudioSourceNode._() { throw new UnsupportedError("Not suppo
rted"); } | 1264 factory MediaStreamAudioSourceNode._() { |
1136 | 1265 throw new UnsupportedError("Not supported"); |
| 1266 } |
1137 | 1267 |
1138 @Deprecated("Internal Use Only") | 1268 @Deprecated("Internal Use Only") |
1139 external static Type get instanceRuntimeType; | 1269 external static Type get instanceRuntimeType; |
1140 | 1270 |
1141 @Deprecated("Internal Use Only") | 1271 @Deprecated("Internal Use Only") |
1142 MediaStreamAudioSourceNode.internal_() : super.internal_(); | 1272 MediaStreamAudioSourceNode.internal_() : super.internal_(); |
1143 | 1273 |
1144 | |
1145 @DomName('MediaStreamAudioSourceNode.mediaStream') | 1274 @DomName('MediaStreamAudioSourceNode.mediaStream') |
1146 @DocsEditable() | 1275 @DocsEditable() |
1147 MediaStream get mediaStream => _blink.BlinkMediaStreamAudioSourceNode.instance
.mediaStream_Getter_(this); | 1276 MediaStream get mediaStream => |
1148 | 1277 _blink.BlinkMediaStreamAudioSourceNode.instance.mediaStream_Getter_(this); |
1149 } | 1278 } |
1150 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1279 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1151 // for details. All rights reserved. Use of this source code is governed by a | 1280 // for details. All rights reserved. Use of this source code is governed by a |
1152 // BSD-style license that can be found in the LICENSE file. | 1281 // BSD-style license that can be found in the LICENSE file. |
1153 | 1282 |
1154 // WARNING: Do not edit - generated code. | 1283 // WARNING: Do not edit - generated code. |
1155 | 1284 |
1156 | |
1157 @DocsEditable() | 1285 @DocsEditable() |
1158 @DomName('OfflineAudioCompletionEvent') | 1286 @DomName('OfflineAudioCompletionEvent') |
1159 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Offline
AudioCompletionEvent-section | 1287 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Offline
AudioCompletionEvent-section |
1160 @Experimental() | 1288 @Experimental() |
1161 class OfflineAudioCompletionEvent extends Event { | 1289 class OfflineAudioCompletionEvent extends Event { |
1162 // To suppress missing implicit constructor warnings. | 1290 // To suppress missing implicit constructor warnings. |
1163 factory OfflineAudioCompletionEvent._() { throw new UnsupportedError("Not supp
orted"); } | 1291 factory OfflineAudioCompletionEvent._() { |
1164 | 1292 throw new UnsupportedError("Not supported"); |
| 1293 } |
1165 | 1294 |
1166 @Deprecated("Internal Use Only") | 1295 @Deprecated("Internal Use Only") |
1167 external static Type get instanceRuntimeType; | 1296 external static Type get instanceRuntimeType; |
1168 | 1297 |
1169 @Deprecated("Internal Use Only") | 1298 @Deprecated("Internal Use Only") |
1170 OfflineAudioCompletionEvent.internal_() : super.internal_(); | 1299 OfflineAudioCompletionEvent.internal_() : super.internal_(); |
1171 | 1300 |
1172 | |
1173 @DomName('OfflineAudioCompletionEvent.renderedBuffer') | 1301 @DomName('OfflineAudioCompletionEvent.renderedBuffer') |
1174 @DocsEditable() | 1302 @DocsEditable() |
1175 AudioBuffer get renderedBuffer => _blink.BlinkOfflineAudioCompletionEvent.inst
ance.renderedBuffer_Getter_(this); | 1303 AudioBuffer get renderedBuffer => |
1176 | 1304 _blink.BlinkOfflineAudioCompletionEvent.instance |
| 1305 .renderedBuffer_Getter_(this); |
1177 } | 1306 } |
1178 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1307 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1179 // for details. All rights reserved. Use of this source code is governed by a | 1308 // for details. All rights reserved. Use of this source code is governed by a |
1180 // BSD-style license that can be found in the LICENSE file. | 1309 // BSD-style license that can be found in the LICENSE file. |
1181 | 1310 |
1182 // WARNING: Do not edit - generated code. | 1311 // WARNING: Do not edit - generated code. |
1183 | 1312 |
1184 | |
1185 @DocsEditable() | 1313 @DocsEditable() |
1186 @DomName('OfflineAudioContext') | 1314 @DomName('OfflineAudioContext') |
1187 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Offline
AudioContext-section | 1315 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Offline
AudioContext-section |
1188 @Experimental() | 1316 @Experimental() |
1189 class OfflineAudioContext extends AudioContext { | 1317 class OfflineAudioContext extends AudioContext { |
1190 // To suppress missing implicit constructor warnings. | 1318 // To suppress missing implicit constructor warnings. |
1191 factory OfflineAudioContext._() { throw new UnsupportedError("Not supported");
} | 1319 factory OfflineAudioContext._() { |
| 1320 throw new UnsupportedError("Not supported"); |
| 1321 } |
1192 | 1322 |
1193 @DomName('OfflineAudioContext.OfflineAudioContext') | 1323 @DomName('OfflineAudioContext.OfflineAudioContext') |
1194 @DocsEditable() | 1324 @DocsEditable() |
1195 factory OfflineAudioContext(int numberOfChannels, int numberOfFrames, num samp
leRate) { | 1325 factory OfflineAudioContext( |
1196 return _blink.BlinkOfflineAudioContext.instance.constructorCallback_3_(numbe
rOfChannels, numberOfFrames, sampleRate); | 1326 int numberOfChannels, int numberOfFrames, num sampleRate) { |
| 1327 return _blink.BlinkOfflineAudioContext.instance |
| 1328 .constructorCallback_3_(numberOfChannels, numberOfFrames, sampleRate); |
1197 } | 1329 } |
1198 | 1330 |
1199 | |
1200 @Deprecated("Internal Use Only") | 1331 @Deprecated("Internal Use Only") |
1201 external static Type get instanceRuntimeType; | 1332 external static Type get instanceRuntimeType; |
1202 | 1333 |
1203 @Deprecated("Internal Use Only") | 1334 @Deprecated("Internal Use Only") |
1204 OfflineAudioContext.internal_() : super.internal_(); | 1335 OfflineAudioContext.internal_() : super.internal_(); |
1205 | 1336 |
1206 | |
1207 @DomName('OfflineAudioContext.startRendering') | 1337 @DomName('OfflineAudioContext.startRendering') |
1208 @DocsEditable() | 1338 @DocsEditable() |
1209 @Experimental() // untriaged | 1339 @Experimental() // untriaged |
1210 Future startRendering() => convertNativePromiseToDartFuture(_blink.BlinkOfflin
eAudioContext.instance.startRendering_Callback_0_(this)); | 1340 Future startRendering() => |
1211 | 1341 convertNativePromiseToDartFuture(_blink.BlinkOfflineAudioContext.instance |
| 1342 .startRendering_Callback_0_(this)); |
1212 } | 1343 } |
1213 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1344 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1214 // for details. All rights reserved. Use of this source code is governed by a | 1345 // for details. All rights reserved. Use of this source code is governed by a |
1215 // BSD-style license that can be found in the LICENSE file. | 1346 // BSD-style license that can be found in the LICENSE file. |
1216 | 1347 |
1217 // WARNING: Do not edit - generated code. | 1348 // WARNING: Do not edit - generated code. |
1218 | 1349 |
1219 | |
1220 @DocsEditable() | 1350 @DocsEditable() |
1221 @DomName('OscillatorNode') | 1351 @DomName('OscillatorNode') |
1222 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#dfn-Osc
illatorNode | 1352 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#dfn-Osc
illatorNode |
1223 @Experimental() | 1353 @Experimental() |
1224 class OscillatorNode extends AudioSourceNode { | 1354 class OscillatorNode extends AudioSourceNode { |
1225 // To suppress missing implicit constructor warnings. | 1355 // To suppress missing implicit constructor warnings. |
1226 factory OscillatorNode._() { throw new UnsupportedError("Not supported"); } | 1356 factory OscillatorNode._() { |
| 1357 throw new UnsupportedError("Not supported"); |
| 1358 } |
1227 | 1359 |
1228 /** | 1360 /** |
1229 * Static factory designed to expose `ended` events to event | 1361 * Static factory designed to expose `ended` events to event |
1230 * handlers that are not necessarily instances of [OscillatorNode]. | 1362 * handlers that are not necessarily instances of [OscillatorNode]. |
1231 * | 1363 * |
1232 * See [EventStreamProvider] for usage information. | 1364 * See [EventStreamProvider] for usage information. |
1233 */ | 1365 */ |
1234 @DomName('OscillatorNode.endedEvent') | 1366 @DomName('OscillatorNode.endedEvent') |
1235 @DocsEditable() | 1367 @DocsEditable() |
1236 @Experimental() // untriaged | 1368 @Experimental() // untriaged |
1237 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider
<Event>('ended'); | 1369 static const EventStreamProvider<Event> endedEvent = |
1238 | 1370 const EventStreamProvider<Event>('ended'); |
1239 | 1371 |
1240 @Deprecated("Internal Use Only") | 1372 @Deprecated("Internal Use Only") |
1241 external static Type get instanceRuntimeType; | 1373 external static Type get instanceRuntimeType; |
1242 | 1374 |
1243 @Deprecated("Internal Use Only") | 1375 @Deprecated("Internal Use Only") |
1244 OscillatorNode.internal_() : super.internal_(); | 1376 OscillatorNode.internal_() : super.internal_(); |
1245 | 1377 |
1246 | |
1247 @DomName('OscillatorNode.detune') | 1378 @DomName('OscillatorNode.detune') |
1248 @DocsEditable() | 1379 @DocsEditable() |
1249 AudioParam get detune => _blink.BlinkOscillatorNode.instance.detune_Getter_(th
is); | 1380 AudioParam get detune => |
1250 | 1381 _blink.BlinkOscillatorNode.instance.detune_Getter_(this); |
| 1382 |
1251 @DomName('OscillatorNode.frequency') | 1383 @DomName('OscillatorNode.frequency') |
1252 @DocsEditable() | 1384 @DocsEditable() |
1253 AudioParam get frequency => _blink.BlinkOscillatorNode.instance.frequency_Gett
er_(this); | 1385 AudioParam get frequency => |
1254 | 1386 _blink.BlinkOscillatorNode.instance.frequency_Getter_(this); |
| 1387 |
1255 @DomName('OscillatorNode.type') | 1388 @DomName('OscillatorNode.type') |
1256 @DocsEditable() | 1389 @DocsEditable() |
1257 String get type => _blink.BlinkOscillatorNode.instance.type_Getter_(this); | 1390 String get type => _blink.BlinkOscillatorNode.instance.type_Getter_(this); |
1258 | 1391 |
1259 @DomName('OscillatorNode.type') | 1392 @DomName('OscillatorNode.type') |
1260 @DocsEditable() | 1393 @DocsEditable() |
1261 set type(String value) => _blink.BlinkOscillatorNode.instance.type_Setter_(thi
s, value); | 1394 set type(String value) => |
1262 | 1395 _blink.BlinkOscillatorNode.instance.type_Setter_(this, value); |
| 1396 |
1263 @DomName('OscillatorNode.setPeriodicWave') | 1397 @DomName('OscillatorNode.setPeriodicWave') |
1264 @DocsEditable() | 1398 @DocsEditable() |
1265 @Experimental() // untriaged | 1399 @Experimental() // untriaged |
1266 void setPeriodicWave(PeriodicWave periodicWave) => _blink.BlinkOscillatorNode.
instance.setPeriodicWave_Callback_1_(this, periodicWave); | 1400 void setPeriodicWave(PeriodicWave periodicWave) => |
1267 | 1401 _blink.BlinkOscillatorNode.instance |
| 1402 .setPeriodicWave_Callback_1_(this, periodicWave); |
| 1403 |
1268 void start([num when]) { | 1404 void start([num when]) { |
1269 if (when != null) { | 1405 if (when != null) { |
1270 _blink.BlinkOscillatorNode.instance.start_Callback_1_(this, when); | 1406 _blink.BlinkOscillatorNode.instance.start_Callback_1_(this, when); |
1271 return; | 1407 return; |
1272 } | 1408 } |
1273 _blink.BlinkOscillatorNode.instance.start_Callback_0_(this); | 1409 _blink.BlinkOscillatorNode.instance.start_Callback_0_(this); |
1274 return; | 1410 return; |
1275 } | 1411 } |
1276 | 1412 |
1277 void stop([num when]) { | 1413 void stop([num when]) { |
1278 if (when != null) { | 1414 if (when != null) { |
1279 _blink.BlinkOscillatorNode.instance.stop_Callback_1_(this, when); | 1415 _blink.BlinkOscillatorNode.instance.stop_Callback_1_(this, when); |
1280 return; | 1416 return; |
1281 } | 1417 } |
1282 _blink.BlinkOscillatorNode.instance.stop_Callback_0_(this); | 1418 _blink.BlinkOscillatorNode.instance.stop_Callback_0_(this); |
1283 return; | 1419 return; |
1284 } | 1420 } |
1285 | 1421 |
1286 /// Stream of `ended` events handled by this [OscillatorNode]. | 1422 /// Stream of `ended` events handled by this [OscillatorNode]. |
1287 @DomName('OscillatorNode.onended') | 1423 @DomName('OscillatorNode.onended') |
1288 @DocsEditable() | 1424 @DocsEditable() |
1289 @Experimental() // untriaged | 1425 @Experimental() // untriaged |
1290 Stream<Event> get onEnded => endedEvent.forTarget(this); | 1426 Stream<Event> get onEnded => endedEvent.forTarget(this); |
1291 | |
1292 } | 1427 } |
1293 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1428 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1294 // for details. All rights reserved. Use of this source code is governed by a | 1429 // for details. All rights reserved. Use of this source code is governed by a |
1295 // BSD-style license that can be found in the LICENSE file. | 1430 // BSD-style license that can be found in the LICENSE file. |
1296 | 1431 |
1297 // WARNING: Do not edit - generated code. | 1432 // WARNING: Do not edit - generated code. |
1298 | 1433 |
1299 | |
1300 @DocsEditable() | 1434 @DocsEditable() |
1301 @DomName('PannerNode') | 1435 @DomName('PannerNode') |
1302 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#PannerN
ode | 1436 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#PannerN
ode |
1303 @Experimental() | 1437 @Experimental() |
1304 class PannerNode extends AudioNode { | 1438 class PannerNode extends AudioNode { |
1305 // To suppress missing implicit constructor warnings. | 1439 // To suppress missing implicit constructor warnings. |
1306 factory PannerNode._() { throw new UnsupportedError("Not supported"); } | 1440 factory PannerNode._() { |
1307 | 1441 throw new UnsupportedError("Not supported"); |
| 1442 } |
1308 | 1443 |
1309 @Deprecated("Internal Use Only") | 1444 @Deprecated("Internal Use Only") |
1310 external static Type get instanceRuntimeType; | 1445 external static Type get instanceRuntimeType; |
1311 | 1446 |
1312 @Deprecated("Internal Use Only") | 1447 @Deprecated("Internal Use Only") |
1313 PannerNode.internal_() : super.internal_(); | 1448 PannerNode.internal_() : super.internal_(); |
1314 | 1449 |
| 1450 @DomName('PannerNode.coneInnerAngle') |
| 1451 @DocsEditable() |
| 1452 num get coneInnerAngle => |
| 1453 _blink.BlinkPannerNode.instance.coneInnerAngle_Getter_(this); |
1315 | 1454 |
1316 @DomName('PannerNode.coneInnerAngle') | 1455 @DomName('PannerNode.coneInnerAngle') |
1317 @DocsEditable() | 1456 @DocsEditable() |
1318 num get coneInnerAngle => _blink.BlinkPannerNode.instance.coneInnerAngle_Gette
r_(this); | 1457 set coneInnerAngle(num value) => |
1319 | 1458 _blink.BlinkPannerNode.instance.coneInnerAngle_Setter_(this, value); |
1320 @DomName('PannerNode.coneInnerAngle') | 1459 |
1321 @DocsEditable() | |
1322 set coneInnerAngle(num value) => _blink.BlinkPannerNode.instance.coneInnerAngl
e_Setter_(this, value); | |
1323 | |
1324 @DomName('PannerNode.coneOuterAngle') | 1460 @DomName('PannerNode.coneOuterAngle') |
1325 @DocsEditable() | 1461 @DocsEditable() |
1326 num get coneOuterAngle => _blink.BlinkPannerNode.instance.coneOuterAngle_Gette
r_(this); | 1462 num get coneOuterAngle => |
1327 | 1463 _blink.BlinkPannerNode.instance.coneOuterAngle_Getter_(this); |
| 1464 |
1328 @DomName('PannerNode.coneOuterAngle') | 1465 @DomName('PannerNode.coneOuterAngle') |
1329 @DocsEditable() | 1466 @DocsEditable() |
1330 set coneOuterAngle(num value) => _blink.BlinkPannerNode.instance.coneOuterAngl
e_Setter_(this, value); | 1467 set coneOuterAngle(num value) => |
1331 | 1468 _blink.BlinkPannerNode.instance.coneOuterAngle_Setter_(this, value); |
| 1469 |
1332 @DomName('PannerNode.coneOuterGain') | 1470 @DomName('PannerNode.coneOuterGain') |
1333 @DocsEditable() | 1471 @DocsEditable() |
1334 num get coneOuterGain => _blink.BlinkPannerNode.instance.coneOuterGain_Getter_
(this); | 1472 num get coneOuterGain => |
1335 | 1473 _blink.BlinkPannerNode.instance.coneOuterGain_Getter_(this); |
| 1474 |
1336 @DomName('PannerNode.coneOuterGain') | 1475 @DomName('PannerNode.coneOuterGain') |
1337 @DocsEditable() | 1476 @DocsEditable() |
1338 set coneOuterGain(num value) => _blink.BlinkPannerNode.instance.coneOuterGain_
Setter_(this, value); | 1477 set coneOuterGain(num value) => |
1339 | 1478 _blink.BlinkPannerNode.instance.coneOuterGain_Setter_(this, value); |
| 1479 |
1340 @DomName('PannerNode.distanceModel') | 1480 @DomName('PannerNode.distanceModel') |
1341 @DocsEditable() | 1481 @DocsEditable() |
1342 String get distanceModel => _blink.BlinkPannerNode.instance.distanceModel_Gett
er_(this); | 1482 String get distanceModel => |
1343 | 1483 _blink.BlinkPannerNode.instance.distanceModel_Getter_(this); |
| 1484 |
1344 @DomName('PannerNode.distanceModel') | 1485 @DomName('PannerNode.distanceModel') |
1345 @DocsEditable() | 1486 @DocsEditable() |
1346 set distanceModel(String value) => _blink.BlinkPannerNode.instance.distanceMod
el_Setter_(this, value); | 1487 set distanceModel(String value) => |
1347 | 1488 _blink.BlinkPannerNode.instance.distanceModel_Setter_(this, value); |
| 1489 |
1348 @DomName('PannerNode.maxDistance') | 1490 @DomName('PannerNode.maxDistance') |
1349 @DocsEditable() | 1491 @DocsEditable() |
1350 num get maxDistance => _blink.BlinkPannerNode.instance.maxDistance_Getter_(thi
s); | 1492 num get maxDistance => |
1351 | 1493 _blink.BlinkPannerNode.instance.maxDistance_Getter_(this); |
| 1494 |
1352 @DomName('PannerNode.maxDistance') | 1495 @DomName('PannerNode.maxDistance') |
1353 @DocsEditable() | 1496 @DocsEditable() |
1354 set maxDistance(num value) => _blink.BlinkPannerNode.instance.maxDistance_Sett
er_(this, value); | 1497 set maxDistance(num value) => |
1355 | 1498 _blink.BlinkPannerNode.instance.maxDistance_Setter_(this, value); |
| 1499 |
1356 @DomName('PannerNode.panningModel') | 1500 @DomName('PannerNode.panningModel') |
1357 @DocsEditable() | 1501 @DocsEditable() |
1358 String get panningModel => _blink.BlinkPannerNode.instance.panningModel_Getter
_(this); | 1502 String get panningModel => |
1359 | 1503 _blink.BlinkPannerNode.instance.panningModel_Getter_(this); |
| 1504 |
1360 @DomName('PannerNode.panningModel') | 1505 @DomName('PannerNode.panningModel') |
1361 @DocsEditable() | 1506 @DocsEditable() |
1362 set panningModel(String value) => _blink.BlinkPannerNode.instance.panningModel
_Setter_(this, value); | 1507 set panningModel(String value) => |
1363 | 1508 _blink.BlinkPannerNode.instance.panningModel_Setter_(this, value); |
| 1509 |
1364 @DomName('PannerNode.refDistance') | 1510 @DomName('PannerNode.refDistance') |
1365 @DocsEditable() | 1511 @DocsEditable() |
1366 num get refDistance => _blink.BlinkPannerNode.instance.refDistance_Getter_(thi
s); | 1512 num get refDistance => |
1367 | 1513 _blink.BlinkPannerNode.instance.refDistance_Getter_(this); |
| 1514 |
1368 @DomName('PannerNode.refDistance') | 1515 @DomName('PannerNode.refDistance') |
1369 @DocsEditable() | 1516 @DocsEditable() |
1370 set refDistance(num value) => _blink.BlinkPannerNode.instance.refDistance_Sett
er_(this, value); | 1517 set refDistance(num value) => |
1371 | 1518 _blink.BlinkPannerNode.instance.refDistance_Setter_(this, value); |
| 1519 |
1372 @DomName('PannerNode.rolloffFactor') | 1520 @DomName('PannerNode.rolloffFactor') |
1373 @DocsEditable() | 1521 @DocsEditable() |
1374 num get rolloffFactor => _blink.BlinkPannerNode.instance.rolloffFactor_Getter_
(this); | 1522 num get rolloffFactor => |
1375 | 1523 _blink.BlinkPannerNode.instance.rolloffFactor_Getter_(this); |
| 1524 |
1376 @DomName('PannerNode.rolloffFactor') | 1525 @DomName('PannerNode.rolloffFactor') |
1377 @DocsEditable() | 1526 @DocsEditable() |
1378 set rolloffFactor(num value) => _blink.BlinkPannerNode.instance.rolloffFactor_
Setter_(this, value); | 1527 set rolloffFactor(num value) => |
1379 | 1528 _blink.BlinkPannerNode.instance.rolloffFactor_Setter_(this, value); |
| 1529 |
1380 @DomName('PannerNode.setOrientation') | 1530 @DomName('PannerNode.setOrientation') |
1381 @DocsEditable() | 1531 @DocsEditable() |
1382 void setOrientation(num x, num y, num z) => _blink.BlinkPannerNode.instance.se
tOrientation_Callback_3_(this, x, y, z); | 1532 void setOrientation(num x, num y, num z) => |
1383 | 1533 _blink.BlinkPannerNode.instance.setOrientation_Callback_3_(this, x, y, z); |
| 1534 |
1384 @DomName('PannerNode.setPosition') | 1535 @DomName('PannerNode.setPosition') |
1385 @DocsEditable() | 1536 @DocsEditable() |
1386 void setPosition(num x, num y, num z) => _blink.BlinkPannerNode.instance.setPo
sition_Callback_3_(this, x, y, z); | 1537 void setPosition(num x, num y, num z) => |
1387 | 1538 _blink.BlinkPannerNode.instance.setPosition_Callback_3_(this, x, y, z); |
| 1539 |
1388 @DomName('PannerNode.setVelocity') | 1540 @DomName('PannerNode.setVelocity') |
1389 @DocsEditable() | 1541 @DocsEditable() |
1390 void setVelocity(num x, num y, num z) => _blink.BlinkPannerNode.instance.setVe
locity_Callback_3_(this, x, y, z); | 1542 void setVelocity(num x, num y, num z) => |
1391 | 1543 _blink.BlinkPannerNode.instance.setVelocity_Callback_3_(this, x, y, z); |
1392 } | 1544 } |
1393 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1545 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1394 // for details. All rights reserved. Use of this source code is governed by a | 1546 // for details. All rights reserved. Use of this source code is governed by a |
1395 // BSD-style license that can be found in the LICENSE file. | 1547 // BSD-style license that can be found in the LICENSE file. |
1396 | 1548 |
1397 // WARNING: Do not edit - generated code. | 1549 // WARNING: Do not edit - generated code. |
1398 | 1550 |
1399 | |
1400 @DocsEditable() | 1551 @DocsEditable() |
1401 @DomName('PeriodicWave') | 1552 @DomName('PeriodicWave') |
1402 @Experimental() // untriaged | 1553 @Experimental() // untriaged |
1403 class PeriodicWave extends DartHtmlDomObject { | 1554 class PeriodicWave extends DartHtmlDomObject { |
1404 // To suppress missing implicit constructor warnings. | 1555 // To suppress missing implicit constructor warnings. |
1405 factory PeriodicWave._() { throw new UnsupportedError("Not supported"); } | 1556 factory PeriodicWave._() { |
1406 | 1557 throw new UnsupportedError("Not supported"); |
| 1558 } |
1407 | 1559 |
1408 @Deprecated("Internal Use Only") | 1560 @Deprecated("Internal Use Only") |
1409 external static Type get instanceRuntimeType; | 1561 external static Type get instanceRuntimeType; |
1410 | 1562 |
1411 @Deprecated("Internal Use Only") | 1563 @Deprecated("Internal Use Only") |
1412 PeriodicWave.internal_() { } | 1564 PeriodicWave.internal_() {} |
1413 | |
1414 } | 1565 } |
1415 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1566 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1416 // for details. All rights reserved. Use of this source code is governed by a | 1567 // for details. All rights reserved. Use of this source code is governed by a |
1417 // BSD-style license that can be found in the LICENSE file. | 1568 // BSD-style license that can be found in the LICENSE file. |
1418 | 1569 |
1419 // WARNING: Do not edit - generated code. | 1570 // WARNING: Do not edit - generated code. |
1420 | 1571 |
1421 | |
1422 @DocsEditable() | 1572 @DocsEditable() |
1423 @DomName('ScriptProcessorNode') | 1573 @DomName('ScriptProcessorNode') |
1424 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#ScriptP
rocessorNode | 1574 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#ScriptP
rocessorNode |
1425 @Experimental() | 1575 @Experimental() |
1426 class ScriptProcessorNode extends AudioNode { | 1576 class ScriptProcessorNode extends AudioNode { |
1427 // To suppress missing implicit constructor warnings. | 1577 // To suppress missing implicit constructor warnings. |
1428 factory ScriptProcessorNode._() { throw new UnsupportedError("Not supported");
} | 1578 factory ScriptProcessorNode._() { |
| 1579 throw new UnsupportedError("Not supported"); |
| 1580 } |
1429 | 1581 |
1430 /** | 1582 /** |
1431 * Static factory designed to expose `audioprocess` events to event | 1583 * Static factory designed to expose `audioprocess` events to event |
1432 * handlers that are not necessarily instances of [ScriptProcessorNode]. | 1584 * handlers that are not necessarily instances of [ScriptProcessorNode]. |
1433 * | 1585 * |
1434 * See [EventStreamProvider] for usage information. | 1586 * See [EventStreamProvider] for usage information. |
1435 */ | 1587 */ |
1436 @DomName('ScriptProcessorNode.audioprocessEvent') | 1588 @DomName('ScriptProcessorNode.audioprocessEvent') |
1437 @DocsEditable() | 1589 @DocsEditable() |
1438 @Experimental() // untriaged | 1590 @Experimental() // untriaged |
1439 static const EventStreamProvider<AudioProcessingEvent> audioProcessEvent = con
st EventStreamProvider<AudioProcessingEvent>('audioprocess'); | 1591 static const EventStreamProvider<AudioProcessingEvent> audioProcessEvent = |
1440 | 1592 const EventStreamProvider<AudioProcessingEvent>('audioprocess'); |
1441 | 1593 |
1442 @Deprecated("Internal Use Only") | 1594 @Deprecated("Internal Use Only") |
1443 external static Type get instanceRuntimeType; | 1595 external static Type get instanceRuntimeType; |
1444 | 1596 |
1445 @Deprecated("Internal Use Only") | 1597 @Deprecated("Internal Use Only") |
1446 ScriptProcessorNode.internal_() : super.internal_(); | 1598 ScriptProcessorNode.internal_() : super.internal_(); |
1447 | 1599 |
1448 | |
1449 @DomName('ScriptProcessorNode.bufferSize') | 1600 @DomName('ScriptProcessorNode.bufferSize') |
1450 @DocsEditable() | 1601 @DocsEditable() |
1451 int get bufferSize => _blink.BlinkScriptProcessorNode.instance.bufferSize_Gett
er_(this); | 1602 int get bufferSize => |
1452 | 1603 _blink.BlinkScriptProcessorNode.instance.bufferSize_Getter_(this); |
| 1604 |
1453 @DomName('ScriptProcessorNode.setEventListener') | 1605 @DomName('ScriptProcessorNode.setEventListener') |
1454 @DocsEditable() | 1606 @DocsEditable() |
1455 @Experimental() // untriaged | 1607 @Experimental() // untriaged |
1456 void setEventListener(EventListener eventListener) => _blink.BlinkScriptProces
sorNode.instance.setEventListener_Callback_1_(this, eventListener); | 1608 void setEventListener(EventListener eventListener) => |
1457 | 1609 _blink.BlinkScriptProcessorNode.instance |
| 1610 .setEventListener_Callback_1_(this, eventListener); |
| 1611 |
1458 /// Stream of `audioprocess` events handled by this [ScriptProcessorNode]. | 1612 /// Stream of `audioprocess` events handled by this [ScriptProcessorNode]. |
1459 /** | 1613 /** |
1460 * Get a Stream that fires events when AudioProcessingEvents occur. | 1614 * Get a Stream that fires events when AudioProcessingEvents occur. |
1461 * This particular stream is special in that it only allows one listener to a | 1615 * This particular stream is special in that it only allows one listener to a |
1462 * given stream. Converting the returned Stream [asBroadcast] will likely ruin | 1616 * given stream. Converting the returned Stream [asBroadcast] will likely ruin |
1463 * the soft-real-time properties which which these events are fired and can | 1617 * the soft-real-time properties which which these events are fired and can |
1464 * be processed. | 1618 * be processed. |
1465 */ | 1619 */ |
1466 @DomName('ScriptProcessorNode.onaudioprocess') | 1620 @DomName('ScriptProcessorNode.onaudioprocess') |
1467 @DocsEditable() | 1621 @DocsEditable() |
1468 @Experimental() // untriaged | 1622 @Experimental() // untriaged |
1469 Stream<AudioProcessingEvent> get onAudioProcess => audioProcessEvent.forTarget
(this); | 1623 Stream<AudioProcessingEvent> get onAudioProcess => |
1470 | 1624 audioProcessEvent.forTarget(this); |
1471 } | 1625 } |
1472 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1626 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1473 // for details. All rights reserved. Use of this source code is governed by a | 1627 // for details. All rights reserved. Use of this source code is governed by a |
1474 // BSD-style license that can be found in the LICENSE file. | 1628 // BSD-style license that can be found in the LICENSE file. |
1475 | 1629 |
1476 // WARNING: Do not edit - generated code. | 1630 // WARNING: Do not edit - generated code. |
1477 | 1631 |
1478 | |
1479 @DocsEditable() | 1632 @DocsEditable() |
1480 @DomName('StereoPannerNode') | 1633 @DomName('StereoPannerNode') |
1481 @Experimental() // untriaged | 1634 @Experimental() // untriaged |
1482 class StereoPannerNode extends AudioNode { | 1635 class StereoPannerNode extends AudioNode { |
1483 // To suppress missing implicit constructor warnings. | 1636 // To suppress missing implicit constructor warnings. |
1484 factory StereoPannerNode._() { throw new UnsupportedError("Not supported"); } | 1637 factory StereoPannerNode._() { |
1485 | 1638 throw new UnsupportedError("Not supported"); |
| 1639 } |
1486 | 1640 |
1487 @Deprecated("Internal Use Only") | 1641 @Deprecated("Internal Use Only") |
1488 external static Type get instanceRuntimeType; | 1642 external static Type get instanceRuntimeType; |
1489 | 1643 |
1490 @Deprecated("Internal Use Only") | 1644 @Deprecated("Internal Use Only") |
1491 StereoPannerNode.internal_() : super.internal_(); | 1645 StereoPannerNode.internal_() : super.internal_(); |
1492 | 1646 |
1493 | |
1494 @DomName('StereoPannerNode.pan') | 1647 @DomName('StereoPannerNode.pan') |
1495 @DocsEditable() | 1648 @DocsEditable() |
1496 @Experimental() // untriaged | 1649 @Experimental() // untriaged |
1497 AudioParam get pan => _blink.BlinkStereoPannerNode.instance.pan_Getter_(this); | 1650 AudioParam get pan => _blink.BlinkStereoPannerNode.instance.pan_Getter_(this); |
1498 | |
1499 } | 1651 } |
1500 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1652 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1501 // for details. All rights reserved. Use of this source code is governed by a | 1653 // for details. All rights reserved. Use of this source code is governed by a |
1502 // BSD-style license that can be found in the LICENSE file. | 1654 // BSD-style license that can be found in the LICENSE file. |
1503 | 1655 |
1504 // WARNING: Do not edit - generated code. | 1656 // WARNING: Do not edit - generated code. |
1505 | 1657 |
1506 | |
1507 @DocsEditable() | 1658 @DocsEditable() |
1508 @DomName('WaveShaperNode') | 1659 @DomName('WaveShaperNode') |
1509 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#dfn-Wav
eShaperNode | 1660 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#dfn-Wav
eShaperNode |
1510 @Experimental() | 1661 @Experimental() |
1511 class WaveShaperNode extends AudioNode { | 1662 class WaveShaperNode extends AudioNode { |
1512 // To suppress missing implicit constructor warnings. | 1663 // To suppress missing implicit constructor warnings. |
1513 factory WaveShaperNode._() { throw new UnsupportedError("Not supported"); } | 1664 factory WaveShaperNode._() { |
1514 | 1665 throw new UnsupportedError("Not supported"); |
| 1666 } |
1515 | 1667 |
1516 @Deprecated("Internal Use Only") | 1668 @Deprecated("Internal Use Only") |
1517 external static Type get instanceRuntimeType; | 1669 external static Type get instanceRuntimeType; |
1518 | 1670 |
1519 @Deprecated("Internal Use Only") | 1671 @Deprecated("Internal Use Only") |
1520 WaveShaperNode.internal_() : super.internal_(); | 1672 WaveShaperNode.internal_() : super.internal_(); |
1521 | 1673 |
| 1674 @DomName('WaveShaperNode.curve') |
| 1675 @DocsEditable() |
| 1676 Float32List get curve => |
| 1677 _blink.BlinkWaveShaperNode.instance.curve_Getter_(this); |
1522 | 1678 |
1523 @DomName('WaveShaperNode.curve') | 1679 @DomName('WaveShaperNode.curve') |
1524 @DocsEditable() | 1680 @DocsEditable() |
1525 Float32List get curve => _blink.BlinkWaveShaperNode.instance.curve_Getter_(thi
s); | 1681 set curve(Float32List value) => |
1526 | 1682 _blink.BlinkWaveShaperNode.instance.curve_Setter_(this, value); |
1527 @DomName('WaveShaperNode.curve') | 1683 |
1528 @DocsEditable() | |
1529 set curve(Float32List value) => _blink.BlinkWaveShaperNode.instance.curve_Sett
er_(this, value); | |
1530 | |
1531 @DomName('WaveShaperNode.oversample') | 1684 @DomName('WaveShaperNode.oversample') |
1532 @DocsEditable() | 1685 @DocsEditable() |
1533 String get oversample => _blink.BlinkWaveShaperNode.instance.oversample_Getter
_(this); | 1686 String get oversample => |
1534 | 1687 _blink.BlinkWaveShaperNode.instance.oversample_Getter_(this); |
| 1688 |
1535 @DomName('WaveShaperNode.oversample') | 1689 @DomName('WaveShaperNode.oversample') |
1536 @DocsEditable() | 1690 @DocsEditable() |
1537 set oversample(String value) => _blink.BlinkWaveShaperNode.instance.oversample
_Setter_(this, value); | 1691 set oversample(String value) => |
1538 | 1692 _blink.BlinkWaveShaperNode.instance.oversample_Setter_(this, value); |
1539 } | 1693 } |
OLD | NEW |