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

Side by Side Diff: client/dom/generated/src/wrapping/_AudioContextWrappingImplementation.dart

Issue 9663027: Remove generated directories with 100s of files. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 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
(Empty)
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file.
4
5 // WARNING: Do not edit - generated code.
6
7 class _AudioContextWrappingImplementation extends DOMWrapperBase implements Audi oContext {
8 _AudioContextWrappingImplementation() : super() {}
9
10 static create__AudioContextWrappingImplementation() native {
11 return new _AudioContextWrappingImplementation();
12 }
13
14 num get currentTime() { return _get_currentTime(this); }
15 static num _get_currentTime(var _this) native;
16
17 AudioDestinationNode get destination() { return _get_destination(this); }
18 static AudioDestinationNode _get_destination(var _this) native;
19
20 AudioListener get listener() { return _get_listener(this); }
21 static AudioListener _get_listener(var _this) native;
22
23 EventListener get oncomplete() { return _get_oncomplete(this); }
24 static EventListener _get_oncomplete(var _this) native;
25
26 void set oncomplete(EventListener value) { _set_oncomplete(this, value); }
27 static void _set_oncomplete(var _this, EventListener value) native;
28
29 num get sampleRate() { return _get_sampleRate(this); }
30 static num _get_sampleRate(var _this) native;
31
32 RealtimeAnalyserNode createAnalyser() {
33 return _createAnalyser(this);
34 }
35 static RealtimeAnalyserNode _createAnalyser(receiver) native;
36
37 BiquadFilterNode createBiquadFilter() {
38 return _createBiquadFilter(this);
39 }
40 static BiquadFilterNode _createBiquadFilter(receiver) native;
41
42 AudioBuffer createBuffer(var buffer_OR_numberOfChannels, var mixToMono_OR_numb erOfFrames, [num sampleRate = null]) {
43 if (buffer_OR_numberOfChannels is ArrayBuffer) {
44 if (mixToMono_OR_numberOfFrames is bool) {
45 if (sampleRate === null) {
46 return _createBuffer(this, buffer_OR_numberOfChannels, mixToMono_OR_nu mberOfFrames);
47 }
48 }
49 } else {
50 if (buffer_OR_numberOfChannels is int) {
51 if (mixToMono_OR_numberOfFrames is int) {
52 return _createBuffer_2(this, buffer_OR_numberOfChannels, mixToMono_OR_ numberOfFrames, sampleRate);
53 }
54 }
55 }
56 throw "Incorrect number or type of arguments";
57 }
58 static AudioBuffer _createBuffer(receiver, buffer_OR_numberOfChannels, mixToMo no_OR_numberOfFrames) native;
59 static AudioBuffer _createBuffer_2(receiver, buffer_OR_numberOfChannels, mixTo Mono_OR_numberOfFrames, sampleRate) native;
60
61 AudioBufferSourceNode createBufferSource() {
62 return _createBufferSource(this);
63 }
64 static AudioBufferSourceNode _createBufferSource(receiver) native;
65
66 AudioChannelMerger createChannelMerger() {
67 return _createChannelMerger(this);
68 }
69 static AudioChannelMerger _createChannelMerger(receiver) native;
70
71 AudioChannelSplitter createChannelSplitter() {
72 return _createChannelSplitter(this);
73 }
74 static AudioChannelSplitter _createChannelSplitter(receiver) native;
75
76 ConvolverNode createConvolver() {
77 return _createConvolver(this);
78 }
79 static ConvolverNode _createConvolver(receiver) native;
80
81 DelayNode createDelayNode([num maxDelayTime = null]) {
82 if (maxDelayTime === null) {
83 return _createDelayNode(this);
84 } else {
85 return _createDelayNode_2(this, maxDelayTime);
86 }
87 }
88 static DelayNode _createDelayNode(receiver) native;
89 static DelayNode _createDelayNode_2(receiver, maxDelayTime) native;
90
91 DynamicsCompressorNode createDynamicsCompressor() {
92 return _createDynamicsCompressor(this);
93 }
94 static DynamicsCompressorNode _createDynamicsCompressor(receiver) native;
95
96 AudioGainNode createGainNode() {
97 return _createGainNode(this);
98 }
99 static AudioGainNode _createGainNode(receiver) native;
100
101 HighPass2FilterNode createHighPass2Filter() {
102 return _createHighPass2Filter(this);
103 }
104 static HighPass2FilterNode _createHighPass2Filter(receiver) native;
105
106 JavaScriptAudioNode createJavaScriptNode(int bufferSize) {
107 return _createJavaScriptNode(this, bufferSize);
108 }
109 static JavaScriptAudioNode _createJavaScriptNode(receiver, bufferSize) native;
110
111 LowPass2FilterNode createLowPass2Filter() {
112 return _createLowPass2Filter(this);
113 }
114 static LowPass2FilterNode _createLowPass2Filter(receiver) native;
115
116 MediaElementAudioSourceNode createMediaElementSource(HTMLMediaElement mediaEle ment) {
117 return _createMediaElementSource(this, mediaElement);
118 }
119 static MediaElementAudioSourceNode _createMediaElementSource(receiver, mediaEl ement) native;
120
121 AudioPannerNode createPanner() {
122 return _createPanner(this);
123 }
124 static AudioPannerNode _createPanner(receiver) native;
125
126 WaveShaperNode createWaveShaper() {
127 return _createWaveShaper(this);
128 }
129 static WaveShaperNode _createWaveShaper(receiver) native;
130
131 void decodeAudioData(ArrayBuffer audioData, AudioBufferCallback successCallbac k, [AudioBufferCallback errorCallback = null]) {
132 _decodeAudioData(this, audioData, successCallback, errorCallback);
133 return;
134 }
135 static void _decodeAudioData(receiver, audioData, successCallback, errorCallba ck) native;
136
137 void startRendering() {
138 _startRendering(this);
139 return;
140 }
141 static void _startRendering(receiver) native;
142
143 String get typeName() { return "AudioContext"; }
144 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698