aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/StereoPannerNode.webidl
diff options
context:
space:
mode:
authorMaria Sable <masable@ncsu.edu>2019-04-27 10:02:14 -0400
committerManish Goregaokar <manishsmail@gmail.com>2019-04-30 16:54:52 -0700
commit58f027468c8908160196c34681ff5d224a84d75c (patch)
tree74f6ea039986e68234ff0cd4b2f966330ff16a00 /components/script/dom/webidls/StereoPannerNode.webidl
parent549d32016720ae63c69ed7c52de0bc6a0efa1451 (diff)
downloadservo-58f027468c8908160196c34681ff5d224a84d75c.tar.gz
servo-58f027468c8908160196c34681ff5d224a84d75c.zip
StereoPannerNode DOM
Diffstat (limited to 'components/script/dom/webidls/StereoPannerNode.webidl')
-rw-r--r--components/script/dom/webidls/StereoPannerNode.webidl17
1 files changed, 17 insertions, 0 deletions
diff --git a/components/script/dom/webidls/StereoPannerNode.webidl b/components/script/dom/webidls/StereoPannerNode.webidl
new file mode 100644
index 00000000000..69b58a408c1
--- /dev/null
+++ b/components/script/dom/webidls/StereoPannerNode.webidl
@@ -0,0 +1,17 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at https://mozilla.org/MPL/2.0/. */
+/*
+ * The origin of this IDL file is
+ * https://webaudio.github.io/web-audio-api/#StereoPannerNode
+ */
+
+dictionary StereoPannerOptions: AudioNodeOptions {
+ float pan = 0;
+};
+
+[Exposed=Window,
+ Constructor (BaseAudioContext context, optional StereoPannerOptions options)]
+interface StereoPannerNode : AudioScheduledSourceNode {
+ readonly attribute AudioParam pan;
+};