mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-19 15:58:56 +00:00
LibWeb/WebAudio: Add DelayNode
interface
This commit is contained in:
parent
876d26c32e
commit
6c4c925f02
Notes:
github-actions[bot]
2025-01-08 15:33:08 +00:00
Author: https://github.com/tcl3
Commit: 6c4c925f02
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3125
8 changed files with 262 additions and 0 deletions
16
Libraries/LibWeb/WebAudio/DelayNode.idl
Normal file
16
Libraries/LibWeb/WebAudio/DelayNode.idl
Normal file
|
@ -0,0 +1,16 @@
|
|||
#import <WebAudio/AudioNode.idl>
|
||||
#import <WebAudio/AudioParam.idl>
|
||||
#import <WebAudio/BaseAudioContext.idl>
|
||||
|
||||
// https://webaudio.github.io/web-audio-api/#DelayOptions
|
||||
dictionary DelayOptions : AudioNodeOptions {
|
||||
double maxDelayTime = 1;
|
||||
double delayTime = 0;
|
||||
};
|
||||
|
||||
// https://webaudio.github.io/web-audio-api/#DelayNode
|
||||
[Exposed=Window]
|
||||
interface DelayNode : AudioNode {
|
||||
constructor (BaseAudioContext context, optional DelayOptions options = {});
|
||||
readonly attribute AudioParam delayTime;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue