#import <WebAudio/AudioNode.idl>
#import <WebAudio/AudioParam.idl>
#import <WebAudio/BaseAudioContext.idl>

// https://webaudio.github.io/web-audio-api/#StereoPannerOptions
dictionary StereoPannerOptions : AudioNodeOptions {
    float pan = 0;
};

// https://webaudio.github.io/web-audio-api/#stereopannernode
[Exposed=Window]
interface StereoPannerNode : AudioNode {
    constructor (BaseAudioContext context, optional StereoPannerOptions options = {});
    readonly attribute AudioParam pan;
};
