Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(960)

Side by Side Diff: sdk/lib/web_audio/dartium/web_audio_dartium.dart

Issue 22352004: Regenerating DOM types from IDL roll. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 library dart.dom.web_audio; 1 library dart.dom.web_audio;
2 2
3 import 'dart:async'; 3 import 'dart:async';
4 import 'dart:collection'; 4 import 'dart:collection';
5 import 'dart:_collection-dev' hide deprecated; 5 import 'dart:_collection-dev' hide deprecated;
6 import 'dart:html'; 6 import 'dart:html';
7 import 'dart:html_common'; 7 import 'dart:html_common';
8 import 'dart:nativewrappers'; 8 import 'dart:nativewrappers';
9 import 'dart:typed_data'; 9 import 'dart:typed_data';
10 // DO NOT EDIT 10 // DO NOT EDIT
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 138
139 139
140 @DocsEditable() 140 @DocsEditable()
141 @DomName('AudioBufferSourceNode') 141 @DomName('AudioBufferSourceNode')
142 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBu fferSourceNode-section 142 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBu fferSourceNode-section
143 @Experimental() 143 @Experimental()
144 class AudioBufferSourceNode extends AudioSourceNode { 144 class AudioBufferSourceNode extends AudioSourceNode {
145 // To suppress missing implicit constructor warnings. 145 // To suppress missing implicit constructor warnings.
146 factory AudioBufferSourceNode._() { throw new UnsupportedError("Not supported" ); } 146 factory AudioBufferSourceNode._() { throw new UnsupportedError("Not supported" ); }
147 147
148 @DomName('AudioBufferSourceNode.endedEvent')
149 @DocsEditable()
150 @Experimental() // untriaged
151 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider <Event>('ended');
152
148 @DomName('AudioBufferSourceNode.FINISHED_STATE') 153 @DomName('AudioBufferSourceNode.FINISHED_STATE')
149 @DocsEditable() 154 @DocsEditable()
150 static const int FINISHED_STATE = 3; 155 static const int FINISHED_STATE = 3;
151 156
152 @DomName('AudioBufferSourceNode.PLAYING_STATE') 157 @DomName('AudioBufferSourceNode.PLAYING_STATE')
153 @DocsEditable() 158 @DocsEditable()
154 static const int PLAYING_STATE = 2; 159 static const int PLAYING_STATE = 2;
155 160
156 @DomName('AudioBufferSourceNode.SCHEDULED_STATE') 161 @DomName('AudioBufferSourceNode.SCHEDULED_STATE')
157 @DocsEditable() 162 @DocsEditable()
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 void _start_1(when) native "AudioBufferSourceNode__start_1_Callback"; 241 void _start_1(when) native "AudioBufferSourceNode__start_1_Callback";
237 242
238 void _start_2(when, grainOffset) native "AudioBufferSourceNode__start_2_Callba ck"; 243 void _start_2(when, grainOffset) native "AudioBufferSourceNode__start_2_Callba ck";
239 244
240 void _start_3(when, grainOffset, grainDuration) native "AudioBufferSourceNode_ _start_3_Callback"; 245 void _start_3(when, grainOffset, grainDuration) native "AudioBufferSourceNode_ _start_3_Callback";
241 246
242 @DomName('AudioBufferSourceNode.stop') 247 @DomName('AudioBufferSourceNode.stop')
243 @DocsEditable() 248 @DocsEditable()
244 void stop(num when) native "AudioBufferSourceNode_stop_Callback"; 249 void stop(num when) native "AudioBufferSourceNode_stop_Callback";
245 250
251 @DomName('AudioBufferSourceNode.onended')
252 @DocsEditable()
253 @Experimental() // untriaged
254 Stream<Event> get onEnded => endedEvent.forTarget(this);
255
246 } 256 }
247 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 257 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
248 // for details. All rights reserved. Use of this source code is governed by a 258 // for details. All rights reserved. Use of this source code is governed by a
249 // BSD-style license that can be found in the LICENSE file. 259 // BSD-style license that can be found in the LICENSE file.
250 260
251 261
252 @DomName('AudioContext') 262 @DomName('AudioContext')
253 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioCo ntext-section 263 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioCo ntext-section
254 @Experimental() 264 @Experimental()
255 class AudioContext extends EventTarget { 265 class AudioContext extends EventTarget {
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 MediaStreamAudioSourceNode createMediaStreamSource(MediaStream mediaStream) na tive "AudioContext_createMediaStreamSource_Callback"; 409 MediaStreamAudioSourceNode createMediaStreamSource(MediaStream mediaStream) na tive "AudioContext_createMediaStreamSource_Callback";
400 410
401 @DomName('AudioContext.createOscillator') 411 @DomName('AudioContext.createOscillator')
402 @DocsEditable() 412 @DocsEditable()
403 OscillatorNode createOscillator() native "AudioContext_createOscillator_Callba ck"; 413 OscillatorNode createOscillator() native "AudioContext_createOscillator_Callba ck";
404 414
405 @DomName('AudioContext.createPanner') 415 @DomName('AudioContext.createPanner')
406 @DocsEditable() 416 @DocsEditable()
407 PannerNode createPanner() native "AudioContext_createPanner_Callback"; 417 PannerNode createPanner() native "AudioContext_createPanner_Callback";
408 418
419 @DomName('AudioContext.createPeriodicWave')
420 @DocsEditable()
421 @Experimental() // untriaged
422 PeriodicWave createPeriodicWave(Float32List real, Float32List imag) native "Au dioContext_createPeriodicWave_Callback";
423
409 ScriptProcessorNode createScriptProcessor(int bufferSize, [int numberOfInputCh annels, int numberOfOutputChannels]) { 424 ScriptProcessorNode createScriptProcessor(int bufferSize, [int numberOfInputCh annels, int numberOfOutputChannels]) {
410 if (numberOfOutputChannels != null) { 425 if (numberOfOutputChannels != null) {
411 return _createScriptProcessor_1(bufferSize, numberOfInputChannels, numberO fOutputChannels); 426 return _createScriptProcessor_1(bufferSize, numberOfInputChannels, numberO fOutputChannels);
412 } 427 }
413 if (numberOfInputChannels != null) { 428 if (numberOfInputChannels != null) {
414 return _createScriptProcessor_2(bufferSize, numberOfInputChannels); 429 return _createScriptProcessor_2(bufferSize, numberOfInputChannels);
415 } 430 }
416 return _createScriptProcessor_3(bufferSize); 431 return _createScriptProcessor_3(bufferSize);
417 } 432 }
418 433
419 ScriptProcessorNode _createScriptProcessor_1(bufferSize, numberOfInputChannels , numberOfOutputChannels) native "AudioContext__createScriptProcessor_1_Callback "; 434 ScriptProcessorNode _createScriptProcessor_1(bufferSize, numberOfInputChannels , numberOfOutputChannels) native "AudioContext__createScriptProcessor_1_Callback ";
420 435
421 ScriptProcessorNode _createScriptProcessor_2(bufferSize, numberOfInputChannels ) native "AudioContext__createScriptProcessor_2_Callback"; 436 ScriptProcessorNode _createScriptProcessor_2(bufferSize, numberOfInputChannels ) native "AudioContext__createScriptProcessor_2_Callback";
422 437
423 ScriptProcessorNode _createScriptProcessor_3(bufferSize) native "AudioContext_ _createScriptProcessor_3_Callback"; 438 ScriptProcessorNode _createScriptProcessor_3(bufferSize) native "AudioContext_ _createScriptProcessor_3_Callback";
424 439
425 @DomName('AudioContext.createWaveShaper') 440 @DomName('AudioContext.createWaveShaper')
426 @DocsEditable() 441 @DocsEditable()
427 WaveShaperNode createWaveShaper() native "AudioContext_createWaveShaper_Callba ck"; 442 WaveShaperNode createWaveShaper() native "AudioContext_createWaveShaper_Callba ck";
428 443
429 @DomName('AudioContext.createWaveTable')
430 @DocsEditable()
431 WaveTable createWaveTable(Float32List real, Float32List imag) native "AudioCon text_createWaveTable_Callback";
432
433 @DomName('AudioContext.decodeAudioData') 444 @DomName('AudioContext.decodeAudioData')
434 @DocsEditable() 445 @DocsEditable()
435 void _decodeAudioData(ByteBuffer audioData, AudioBufferCallback successCallbac k, [AudioBufferCallback errorCallback]) native "AudioContext_decodeAudioData_Cal lback"; 446 void _decodeAudioData(ByteBuffer audioData, AudioBufferCallback successCallbac k, [AudioBufferCallback errorCallback]) native "AudioContext_decodeAudioData_Cal lback";
436 447
437 Future<AudioBuffer> decodeAudioData(ByteBuffer audioData) { 448 Future<AudioBuffer> decodeAudioData(ByteBuffer audioData) {
438 var completer = new Completer<AudioBuffer>(); 449 var completer = new Completer<AudioBuffer>();
439 _decodeAudioData(audioData, 450 _decodeAudioData(audioData,
440 (value) { completer.complete(value); }, 451 (value) { completer.complete(value); },
441 (error) { completer.completeError(error); }); 452 (error) { completer.completeError(error); });
442 return completer.future; 453 return completer.future;
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
554 AudioContext get context native "AudioNode_context_Getter"; 565 AudioContext get context native "AudioNode_context_Getter";
555 566
556 @DomName('AudioNode.numberOfInputs') 567 @DomName('AudioNode.numberOfInputs')
557 @DocsEditable() 568 @DocsEditable()
558 int get numberOfInputs native "AudioNode_numberOfInputs_Getter"; 569 int get numberOfInputs native "AudioNode_numberOfInputs_Getter";
559 570
560 @DomName('AudioNode.numberOfOutputs') 571 @DomName('AudioNode.numberOfOutputs')
561 @DocsEditable() 572 @DocsEditable()
562 int get numberOfOutputs native "AudioNode_numberOfOutputs_Getter"; 573 int get numberOfOutputs native "AudioNode_numberOfOutputs_Getter";
563 574
564 @DomName('AudioNode.addEventListener')
565 @DocsEditable()
566 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]) native "AudioNode_addEventListener_Callback";
567
568 void $dom_connect(destination, int output, [int input]) { 575 void $dom_connect(destination, int output, [int input]) {
569 if ((input is int || input == null) && (output is int || output == null) && (destination is AudioNode || destination == null)) { 576 if ((input is int || input == null) && (output is int || output == null) && (destination is AudioNode || destination == null)) {
570 _connect_1(destination, output, input); 577 _connect_1(destination, output, input);
571 return; 578 return;
572 } 579 }
573 if ((output is int || output == null) && (destination is AudioParam || desti nation == null) && input == null) { 580 if ((output is int || output == null) && (destination is AudioParam || desti nation == null) && input == null) {
574 _connect_2(destination, output); 581 _connect_2(destination, output);
575 return; 582 return;
576 } 583 }
577 throw new ArgumentError("Incorrect number or type of arguments"); 584 throw new ArgumentError("Incorrect number or type of arguments");
578 } 585 }
579 586
580 void _connect_1(destination, output, input) native "AudioNode__connect_1_Callb ack"; 587 void _connect_1(destination, output, input) native "AudioNode__connect_1_Callb ack";
581 588
582 void _connect_2(destination, output) native "AudioNode__connect_2_Callback"; 589 void _connect_2(destination, output) native "AudioNode__connect_2_Callback";
583 590
584 @DomName('AudioNode.disconnect') 591 @DomName('AudioNode.disconnect')
585 @DocsEditable() 592 @DocsEditable()
586 void disconnect(int output) native "AudioNode_disconnect_Callback"; 593 void disconnect(int output) native "AudioNode_disconnect_Callback";
587 594
588 @DomName('AudioNode.dispatchEvent')
589 @DocsEditable()
590 bool dispatchEvent(Event event) native "AudioNode_dispatchEvent_Callback";
591
592 @DomName('AudioNode.removeEventListener')
593 @DocsEditable()
594 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native "AudioNode_removeEventListener_Callback";
595
596 @DomName('AudioNode.connect') 595 @DomName('AudioNode.connect')
597 void connectNode(AudioNode destination, [int output = 0, int input = 0]) => 596 void connectNode(AudioNode destination, [int output = 0, int input = 0]) =>
598 $dom_connect(destination, output, input); 597 $dom_connect(destination, output, input);
599 598
600 @DomName('AudioNode.connect') 599 @DomName('AudioNode.connect')
601 void connectParam(AudioParam destination, [int output = 0]) => 600 void connectParam(AudioParam destination, [int output = 0]) =>
602 $dom_connect(destination, output); 601 $dom_connect(destination, output);
603 } 602 }
604 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 603 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
605 // for details. All rights reserved. Use of this source code is governed by a 604 // for details. All rights reserved. Use of this source code is governed by a
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
956 // for details. All rights reserved. Use of this source code is governed by a 955 // for details. All rights reserved. Use of this source code is governed by a
957 // BSD-style license that can be found in the LICENSE file. 956 // BSD-style license that can be found in the LICENSE file.
958 957
959 // WARNING: Do not edit - generated code. 958 // WARNING: Do not edit - generated code.
960 959
961 960
962 @DocsEditable() 961 @DocsEditable()
963 @DomName('MediaStreamAudioDestinationNode') 962 @DomName('MediaStreamAudioDestinationNode')
964 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaSt reamAudioDestinationNode 963 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaSt reamAudioDestinationNode
965 @Experimental() 964 @Experimental()
966 class MediaStreamAudioDestinationNode extends AudioSourceNode { 965 class MediaStreamAudioDestinationNode extends AudioNode {
967 // To suppress missing implicit constructor warnings. 966 // To suppress missing implicit constructor warnings.
968 factory MediaStreamAudioDestinationNode._() { throw new UnsupportedError("Not supported"); } 967 factory MediaStreamAudioDestinationNode._() { throw new UnsupportedError("Not supported"); }
969 968
970 @DomName('MediaStreamAudioDestinationNode.stream') 969 @DomName('MediaStreamAudioDestinationNode.stream')
971 @DocsEditable() 970 @DocsEditable()
972 MediaStream get stream native "MediaStreamAudioDestinationNode_stream_Getter"; 971 MediaStream get stream native "MediaStreamAudioDestinationNode_stream_Getter";
973 972
974 } 973 }
975 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 974 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
976 // for details. All rights reserved. Use of this source code is governed by a 975 // for details. All rights reserved. Use of this source code is governed by a
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
1016 // for details. All rights reserved. Use of this source code is governed by a 1015 // for details. All rights reserved. Use of this source code is governed by a
1017 // BSD-style license that can be found in the LICENSE file. 1016 // BSD-style license that can be found in the LICENSE file.
1018 1017
1019 // WARNING: Do not edit - generated code. 1018 // WARNING: Do not edit - generated code.
1020 1019
1021 1020
1022 @DocsEditable() 1021 @DocsEditable()
1023 @DomName('OfflineAudioContext') 1022 @DomName('OfflineAudioContext')
1024 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Offline AudioContext-section 1023 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Offline AudioContext-section
1025 @Experimental() 1024 @Experimental()
1026 class OfflineAudioContext extends AudioContext implements EventTarget { 1025 class OfflineAudioContext extends AudioContext {
1027 // To suppress missing implicit constructor warnings. 1026 // To suppress missing implicit constructor warnings.
1028 factory OfflineAudioContext._() { throw new UnsupportedError("Not supported"); } 1027 factory OfflineAudioContext._() { throw new UnsupportedError("Not supported"); }
1029 1028
1030 @DomName('OfflineAudioContext.OfflineAudioContext') 1029 @DomName('OfflineAudioContext.OfflineAudioContext')
1031 @DocsEditable() 1030 @DocsEditable()
1032 factory OfflineAudioContext(int numberOfChannels, int numberOfFrames, num samp leRate) { 1031 factory OfflineAudioContext(int numberOfChannels, int numberOfFrames, num samp leRate) {
1033 return OfflineAudioContext._create_1(numberOfChannels, numberOfFrames, sampl eRate); 1032 return OfflineAudioContext._create_1(numberOfChannels, numberOfFrames, sampl eRate);
1034 } 1033 }
1035 1034
1036 @DocsEditable() 1035 @DocsEditable()
1037 static OfflineAudioContext _create_1(numberOfChannels, numberOfFrames, sampleR ate) native "OfflineAudioContext__create_1constructorCallback"; 1036 static OfflineAudioContext _create_1(numberOfChannels, numberOfFrames, sampleR ate) native "OfflineAudioContext__create_1constructorCallback";
1038 1037
1039 } 1038 }
1040 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1039 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1041 // for details. All rights reserved. Use of this source code is governed by a 1040 // for details. All rights reserved. Use of this source code is governed by a
1042 // BSD-style license that can be found in the LICENSE file. 1041 // BSD-style license that can be found in the LICENSE file.
1043 1042
1044 // WARNING: Do not edit - generated code. 1043 // WARNING: Do not edit - generated code.
1045 1044
1046 1045
1047 @DocsEditable() 1046 @DocsEditable()
1048 @DomName('OscillatorNode') 1047 @DomName('OscillatorNode')
1049 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#dfn-Osc illatorNode 1048 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#dfn-Osc illatorNode
1050 @Experimental() 1049 @Experimental()
1051 class OscillatorNode extends AudioSourceNode { 1050 class OscillatorNode extends AudioSourceNode {
1052 // To suppress missing implicit constructor warnings. 1051 // To suppress missing implicit constructor warnings.
1053 factory OscillatorNode._() { throw new UnsupportedError("Not supported"); } 1052 factory OscillatorNode._() { throw new UnsupportedError("Not supported"); }
1054 1053
1054 @DomName('OscillatorNode.endedEvent')
1055 @DocsEditable()
1056 @Experimental() // untriaged
1057 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider <Event>('ended');
1058
1055 @DomName('OscillatorNode.CUSTOM') 1059 @DomName('OscillatorNode.CUSTOM')
1056 @DocsEditable() 1060 @DocsEditable()
1057 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter nateNames 1061 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#Alter nateNames
1058 @deprecated // deprecated 1062 @deprecated // deprecated
1059 static const int CUSTOM = 4; 1063 static const int CUSTOM = 4;
1060 1064
1061 @DomName('OscillatorNode.FINISHED_STATE') 1065 @DomName('OscillatorNode.FINISHED_STATE')
1062 @DocsEditable() 1066 @DocsEditable()
1063 static const int FINISHED_STATE = 3; 1067 static const int FINISHED_STATE = 3;
1064 1068
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
1119 void set type(String value) native "OscillatorNode_type_Setter"; 1123 void set type(String value) native "OscillatorNode_type_Setter";
1120 1124
1121 @DomName('OscillatorNode.noteOff') 1125 @DomName('OscillatorNode.noteOff')
1122 @DocsEditable() 1126 @DocsEditable()
1123 void noteOff(num when) native "OscillatorNode_noteOff_Callback"; 1127 void noteOff(num when) native "OscillatorNode_noteOff_Callback";
1124 1128
1125 @DomName('OscillatorNode.noteOn') 1129 @DomName('OscillatorNode.noteOn')
1126 @DocsEditable() 1130 @DocsEditable()
1127 void noteOn(num when) native "OscillatorNode_noteOn_Callback"; 1131 void noteOn(num when) native "OscillatorNode_noteOn_Callback";
1128 1132
1129 @DomName('OscillatorNode.setWaveTable') 1133 @DomName('OscillatorNode.setPeriodicWave')
1130 @DocsEditable() 1134 @DocsEditable()
1131 void setWaveTable(WaveTable waveTable) native "OscillatorNode_setWaveTable_Cal lback"; 1135 @Experimental() // untriaged
1136 void setPeriodicWave(PeriodicWave periodicWave) native "OscillatorNode_setPeri odicWave_Callback";
1132 1137
1133 @DomName('OscillatorNode.start') 1138 @DomName('OscillatorNode.start')
1134 @DocsEditable() 1139 @DocsEditable()
1135 void start(num when) native "OscillatorNode_start_Callback"; 1140 void start(num when) native "OscillatorNode_start_Callback";
1136 1141
1137 @DomName('OscillatorNode.stop') 1142 @DomName('OscillatorNode.stop')
1138 @DocsEditable() 1143 @DocsEditable()
1139 void stop(num when) native "OscillatorNode_stop_Callback"; 1144 void stop(num when) native "OscillatorNode_stop_Callback";
1140 1145
1146 @DomName('OscillatorNode.onended')
1147 @DocsEditable()
1148 @Experimental() // untriaged
1149 Stream<Event> get onEnded => endedEvent.forTarget(this);
1150
1141 } 1151 }
1142 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1152 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1143 // for details. All rights reserved. Use of this source code is governed by a 1153 // for details. All rights reserved. Use of this source code is governed by a
1144 // BSD-style license that can be found in the LICENSE file. 1154 // BSD-style license that can be found in the LICENSE file.
1145 1155
1146 // WARNING: Do not edit - generated code. 1156 // WARNING: Do not edit - generated code.
1147 1157
1148 1158
1149 @DocsEditable() 1159 @DocsEditable()
1150 @DomName('PannerNode') 1160 @DomName('PannerNode')
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
1260 1270
1261 @DomName('PannerNode.setPosition') 1271 @DomName('PannerNode.setPosition')
1262 @DocsEditable() 1272 @DocsEditable()
1263 void setPosition(num x, num y, num z) native "PannerNode_setPosition_Callback" ; 1273 void setPosition(num x, num y, num z) native "PannerNode_setPosition_Callback" ;
1264 1274
1265 @DomName('PannerNode.setVelocity') 1275 @DomName('PannerNode.setVelocity')
1266 @DocsEditable() 1276 @DocsEditable()
1267 void setVelocity(num x, num y, num z) native "PannerNode_setVelocity_Callback" ; 1277 void setVelocity(num x, num y, num z) native "PannerNode_setVelocity_Callback" ;
1268 1278
1269 } 1279 }
1280 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1281 // for details. All rights reserved. Use of this source code is governed by a
1282 // BSD-style license that can be found in the LICENSE file.
1283
1284 // WARNING: Do not edit - generated code.
1285
1286
1287 @DocsEditable()
1288 @DomName('PeriodicWave')
1289 @Experimental() // untriaged
1290 class PeriodicWave extends NativeFieldWrapperClass1 {
1291
1292 }
1270 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1293 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
1271 // for details. All rights reserved. Use of this source code is governed by a 1294 // for details. All rights reserved. Use of this source code is governed by a
1272 // BSD-style license that can be found in the LICENSE file. 1295 // BSD-style license that can be found in the LICENSE file.
1273 1296
1274 1297
1275 @DomName('ScriptProcessorNode') 1298 @DomName('ScriptProcessorNode')
1276 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#ScriptP rocessorNode 1299 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#ScriptP rocessorNode
1277 @Experimental() 1300 @Experimental()
1278 class ScriptProcessorNode extends AudioNode { 1301 class ScriptProcessorNode extends AudioNode {
1279 Stream<AudioProcessingEvent> _eventStream; 1302 Stream<AudioProcessingEvent> _eventStream;
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
1342 1365
1343 @DomName('WaveShaperNode.oversample') 1366 @DomName('WaveShaperNode.oversample')
1344 @DocsEditable() 1367 @DocsEditable()
1345 String get oversample native "WaveShaperNode_oversample_Getter"; 1368 String get oversample native "WaveShaperNode_oversample_Getter";
1346 1369
1347 @DomName('WaveShaperNode.oversample') 1370 @DomName('WaveShaperNode.oversample')
1348 @DocsEditable() 1371 @DocsEditable()
1349 void set oversample(String value) native "WaveShaperNode_oversample_Setter"; 1372 void set oversample(String value) native "WaveShaperNode_oversample_Setter";
1350 1373
1351 } 1374 }
1352 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1353 // for details. All rights reserved. Use of this source code is governed by a
1354 // BSD-style license that can be found in the LICENSE file.
1355
1356 // WARNING: Do not edit - generated code.
1357
1358
1359 @DocsEditable()
1360 @DomName('WaveTable')
1361 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#WaveTab le-section
1362 @Experimental()
1363 class WaveTable extends NativeFieldWrapperClass1 {
1364
1365 }
OLDNEW
« no previous file with comments | « sdk/lib/web_audio/dart2js/web_audio_dart2js.dart ('k') | sdk/lib/web_sql/dart2js/web_sql_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698