aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_bindings/webidls/StereoPannerNode.webidl
blob: e59f7cb9d192f698b9cc13ce5fbb8c03b1627d2a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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]
interface StereoPannerNode : AudioScheduledSourceNode {
  [Throws] constructor(BaseAudioContext context, optional StereoPannerOptions options = {});
  readonly attribute AudioParam pan;
};