mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-19 15:43:20 +00:00

Adds this attribute to BaseAudioContext.idl and adds associated test for OfflineAudioContext. This gives a set value that can be used to start implementing OfflineAudioContext::start_rendering(). Updates idlharness test to account for now implemented renderQuantumSize.
11 lines
361 B
HTML
11 lines
361 B
HTML
<!DOCTYPE html>
|
||
<script src="../include.js"></script>
|
||
<script>
|
||
|
||
// Once the ctor‑offlineaudiocontext WPT test is updated to check
|
||
// renderQuantumSize and renderSizeHint, this test is not needed.
|
||
test(() => {
|
||
const audioContext = new OfflineAudioContext(1, 1, 44100)
|
||
println(`${audioContext.renderQuantumSize}`);
|
||
});
|
||
</script>
|