mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-29 20:30:58 +00:00
16 lines
460 B
Text
16 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;
|
||
|
|
};
|