mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
StereoPannerNode DOM
This commit is contained in:
parent
549d320167
commit
58f027468c
12 changed files with 173 additions and 109 deletions
|
@ -43,7 +43,7 @@ interface BaseAudioContext : EventTarget {
|
|||
// sequence<double> feedback);
|
||||
// WaveShaperNode createWaveShaper();
|
||||
[Throws] PannerNode createPanner();
|
||||
// StereoPannerNode createStereoPanner();
|
||||
[Throws] StereoPannerNode createStereoPanner();
|
||||
// ConvolverNode createConvolver();
|
||||
[Throws] ChannelSplitterNode createChannelSplitter(optional unsigned long numberOfOutputs = 6);
|
||||
[Throws] ChannelMergerNode createChannelMerger(optional unsigned long numberOfInputs = 6);
|
||||
|
|
17
components/script/dom/webidls/StereoPannerNode.webidl
Normal file
17
components/script/dom/webidls/StereoPannerNode.webidl
Normal file
|
@ -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;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue