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

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

Issue 8785014: Turn on webaudio for JS backends. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years 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 _AudioNodeWrappingImplementation extends DOMWrapperBase implements AudioNo de {
8 _AudioNodeWrappingImplementation() : super() {}
9
10 static create__AudioNodeWrappingImplementation() native {
11 return new _AudioNodeWrappingImplementation();
12 }
13
14 AudioContext get context() { return _get_context(this); }
15 static AudioContext _get_context(var _this) native;
16
17 int get numberOfInputs() { return _get_numberOfInputs(this); }
18 static int _get_numberOfInputs(var _this) native;
19
20 int get numberOfOutputs() { return _get_numberOfOutputs(this); }
21 static int _get_numberOfOutputs(var _this) native;
22
23 void connect(AudioNode destination, [int output = null, int input = null]) {
24 if (output === null) {
25 if (input === null) {
26 _connect(this, destination);
27 return;
28 }
29 } else {
30 if (input === null) {
31 _connect_2(this, destination, output);
32 return;
33 } else {
34 _connect_3(this, destination, output, input);
35 return;
36 }
37 }
38 throw "Incorrect number or type of arguments";
39 }
40 static void _connect(receiver, destination) native;
41 static void _connect_2(receiver, destination, output) native;
42 static void _connect_3(receiver, destination, output, input) native;
43
44 void disconnect([int output = null]) {
45 if (output === null) {
46 _disconnect(this);
47 return;
48 } else {
49 _disconnect_2(this, output);
50 return;
51 }
52 }
53 static void _disconnect(receiver) native;
54 static void _disconnect_2(receiver, output) native;
55
56 String get typeName() { return "AudioNode"; }
57 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698