mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
16 lines
460 B
Plaintext
16 lines
460 B
Plaintext
#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;
|
|
};
|