LibWeb: Add a stubbed slot for DynamicsCompressorNode.reduction

For now, this slot is always 0 - (the default value per spec). But
once we start actually processing audio streams this internal slot
should be changed correspondingly.
This commit is contained in:
Shannon Booth 2024-05-11 20:39:46 +12:00 committed by Andreas Kling
commit 3ccbc83168
Notes: sideshowbarker 2024-07-16 17:12:03 +09:00
4 changed files with 9 additions and 1 deletions

View file

@ -23,5 +23,8 @@
dumpAudioParam(compressor.ratio);
dumpAudioParam(compressor.attack);
dumpAudioParam(compressor.release);
// Default reduction
println(`reduction: ${compressor.reduction}`);
});
</script>