mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 21:29:06 +00:00
LibWeb: Add ConstantSourceNode
interface
This commit is contained in:
parent
ccb543ebb8
commit
1b160044c4
Notes:
github-actions[bot]
2025-01-03 10:14:30 +00:00
Author: https://github.com/tcl3
Commit: 1b160044c4
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3102
Reviewed-by: https://github.com/shannonbooth
8 changed files with 188 additions and 0 deletions
15
Libraries/LibWeb/WebAudio/ConstantSourceNode.idl
Normal file
15
Libraries/LibWeb/WebAudio/ConstantSourceNode.idl
Normal file
|
@ -0,0 +1,15 @@
|
|||
#import <WebAudio/AudioNode.idl>
|
||||
#import <WebAudio/AudioParam.idl>
|
||||
#import <WebAudio/BaseAudioContext.idl>
|
||||
|
||||
// https://webaudio.github.io/web-audio-api/#ConstantSourceOptions
|
||||
dictionary ConstantSourceOptions {
|
||||
float offset = 1;
|
||||
};
|
||||
|
||||
// https://webaudio.github.io/web-audio-api/#ConstantSourceNode
|
||||
[Exposed=Window]
|
||||
interface ConstantSourceNode : AudioScheduledSourceNode {
|
||||
constructor (BaseAudioContext context, optional ConstantSourceOptions options = {});
|
||||
readonly attribute AudioParam offset;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue