mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:27:46 +00:00
LibWeb: Stub AudioContext constructor
This is enough to make Discord not throw up "Well this is awkward" on login.
This commit is contained in:
parent
78db4e683f
commit
a5936864d9
11 changed files with 144 additions and 0 deletions
8
Userland/Libraries/LibWeb/WebAudio/AudioContext.idl
Normal file
8
Userland/Libraries/LibWeb/WebAudio/AudioContext.idl
Normal file
|
@ -0,0 +1,8 @@
|
|||
#import <WebAudio/BaseAudioContext.idl>
|
||||
|
||||
// https://webaudio.github.io/web-audio-api/#AudioContext
|
||||
[Exposed=Window]
|
||||
interface AudioContext : BaseAudioContext {
|
||||
// FIXME: Should be constructor (optional AudioContextOptions contextOptions = {});
|
||||
constructor();
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue