badabcc53a
Fixes #26740 BUG= http://dartbug.com/26740 R=sra@google.com Review URL: https://codereview.chromium.org/2118633002 .
19 lines
605 B
Plaintext
19 lines
605 B
Plaintext
// 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)$(NATIVESPEC)class $CLASSNAME$EXTENDS$IMPLEMENTS {
|
|
$!MEMBERS
|
|
@DomName('AudioNode.connect')
|
|
void connectNode(AudioNode destination, [int output = 0, int input = 0]) {
|
|
_connect(destination, output, input);
|
|
}
|
|
|
|
@DomName('AudioNode.connect')
|
|
void connectParam(AudioParam destination, [int output = 0]) {
|
|
_connect(destination, output);
|
|
}
|
|
}
|