Index: tools/dom/templates/html/impl/impl_AudioNode.darttemplate |
diff --git a/tools/dom/templates/html/impl/impl_AudioNode.darttemplate b/tools/dom/templates/html/impl/impl_AudioNode.darttemplate |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ec6ee5db1cdc1e7992051fb1a1a2a284429f73ec |
--- /dev/null |
+++ b/tools/dom/templates/html/impl/impl_AudioNode.darttemplate |
@@ -0,0 +1,16 @@ |
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
+// for details. All rights reserved. Use of this source code is governed by a |
+// BSD-style license that can be found in the LICENSE file. |
+ |
+part of web_audio; |
+ |
+$(ANNOTATIONS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { |
+$!MEMBERS |
+ @DomName('AudioNode.connect') |
+ void connectNode(AudioNode destination, [int output = 0, int input = 0]) => |
+ $dom_connect(destination, output, input); |
+ |
+ @DomName('AudioNode.connect') |
+ void connectParam(AudioParam destination, [int output = 0]) => |
+ $dom_connect(destination, output); |
+} |