mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 12:07:14 +02:00
LibWeb: Implement BaseAudioContext.createDynamicsCompressor
This commit is contained in:
Notes:
sideshowbarker
2024-07-17 00:25:35 +09:00
Author: https://github.com/shannonbooth Commit: https://github.com/SerenityOS/serenity/commit/452ffa56dc Pull-request: https://github.com/SerenityOS/serenity/pull/24215
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>
|
||||
Reference in New Issue
Block a user