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

Unified Diff: Source/modules/webaudio/AudioNode.idl

Issue 886173004: Fix AudioNode.disconnect() to support selective disconnection. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Conflict solved. Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/modules/webaudio/AudioNode.cpp ('k') | Source/modules/webaudio/AudioNodeOutput.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webaudio/AudioNode.idl
diff --git a/Source/modules/webaudio/AudioNode.idl b/Source/modules/webaudio/AudioNode.idl
index 9623af7539c99b5116120f905b83461001e93685..56c3425a11ebfee09450f29ba0dadd994b6753aa 100644
--- a/Source/modules/webaudio/AudioNode.idl
+++ b/Source/modules/webaudio/AudioNode.idl
@@ -42,7 +42,13 @@ enum ChannelInterpretation {
] interface AudioNode : EventTarget {
[RaisesException] void connect(AudioNode destination, optional unsigned long output = 0, optional unsigned long input = 0);
[RaisesException] void connect(AudioParam destination, optional unsigned long output = 0);
- [RaisesException] void disconnect(optional unsigned long output = 0);
+ void disconnect();
+ [RaisesException] void disconnect(unsigned long output);
+ [RaisesException] void disconnect(AudioNode destination);
+ [RaisesException] void disconnect(AudioNode destination, unsigned long output);
+ [RaisesException] void disconnect(AudioNode destination, unsigned long output, unsigned long input);
+ [RaisesException] void disconnect(AudioParam destination);
+ [RaisesException] void disconnect(AudioParam destination, unsigned long output);
readonly attribute AudioContext context;
readonly attribute unsigned long numberOfInputs;
readonly attribute unsigned long numberOfOutputs;
« no previous file with comments | « Source/modules/webaudio/AudioNode.cpp ('k') | Source/modules/webaudio/AudioNodeOutput.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698