mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
15 lines
460 B
Text
15 lines
460 B
Text
#import <WebAudio/AudioNode.idl>
|
|
#import <WebAudio/AudioParam.idl>
|
|
#import <WebAudio/BaseAudioContext.idl>
|
|
|
|
// https://webaudio.github.io/web-audio-api/#GainOptions
|
|
dictionary GainOptions : AudioNodeOptions {
|
|
float gain = 1.0;
|
|
};
|
|
|
|
// https://webaudio.github.io/web-audio-api/#GainNode
|
|
[Exposed=Window]
|
|
interface GainNode : AudioNode {
|
|
constructor(BaseAudioContext context, optional GainOptions options = {});
|
|
readonly attribute AudioParam gain;
|
|
};
|