1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:07:35 +00:00

LibWeb: Implement the AudioTrack and AudioTrackList interfaces

These are used to own and manage the playing of audio data.
This commit is contained in:
Timothy Flynn 2023-06-12 13:52:30 -04:00 committed by Andreas Kling
parent a34e369252
commit c89fd6dff0
12 changed files with 455 additions and 0 deletions

View file

@ -1,3 +1,4 @@
#import <HTML/AudioTrackList.idl>
#import <HTML/HTMLElement.idl>
#import <HTML/MediaError.idl>
#import <HTML/TimeRanges.idl>
@ -53,5 +54,6 @@ interface HTMLMediaElement : HTMLElement {
[Reflect, CEReactions] attribute boolean controls;
// tracks
[SameObject] readonly attribute AudioTrackList audioTracks;
[SameObject] readonly attribute VideoTrackList videoTracks;
};