ladybird/Userland/Libraries/LibWeb/WebAudio/AudioScheduledSourceNode.idl
Shannon Booth c9b2c1c747 LibWeb: Add stub IDL interface for AudioScheduledSourceNode
This is a base class of a few different audio nodes, most notably for
our immediate needs - OscillatorNode.
2024-05-02 07:49:23 +02:00

11 lines
333 B
Plaintext

#import <DOM/EventHandler.idl>
#import <WebAudio/AudioNode.idl>
// https://webaudio.github.io/web-audio-api/#AudioScheduledSourceNode
[Exposed=Window]
interface AudioScheduledSourceNode : AudioNode {
attribute EventHandler onended;
undefined start(optional double when = 0);
undefined stop(optional double when = 0);
};