mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
LibWeb: Implement BaseAudioContext.createDynamicsCompressor
This commit is contained in:
parent
2a56df8ecd
commit
452ffa56dc
Notes:
sideshowbarker
2024-07-17 00:25:35 +09:00
Author: https://github.com/shannonbooth
Commit: 452ffa56dc
Pull-request: https://github.com/SerenityOS/serenity/pull/24215
5 changed files with 31 additions and 1 deletions
16
Tests/LibWeb/Text/input/WebAudio/DynamicsCompressorNode.html
Normal file
16
Tests/LibWeb/Text/input/WebAudio/DynamicsCompressorNode.html
Normal file
|
@ -0,0 +1,16 @@
|
|||
<script src="../include.js"></script>
|
||||
<script>
|
||||
test(() => {
|
||||
const audioContext = new OfflineAudioContext(1, 5000, 44100);
|
||||
|
||||
const compressor = audioContext.createDynamicsCompressor();
|
||||
|
||||
// Check prototype
|
||||
let prototype = Object.getPrototypeOf(compressor);
|
||||
|
||||
while (prototype) {
|
||||
println(prototype.constructor.name);
|
||||
prototype = Object.getPrototypeOf(prototype);
|
||||
}
|
||||
});
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue