mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
LibWeb: Initialize AnalyserNode previous block at construction time
This commit is contained in:
parent
c9cd795257
commit
4bb22c52d1
Notes:
github-actions[bot]
2025-02-13 20:32:32 +00:00
Author: https://github.com/tcl3
Commit: 4bb22c52d1
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3562
Reviewed-by: https://github.com/Lubrsi ✅
2 changed files with 9 additions and 4 deletions
|
@ -0,0 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<script>
|
||||
const context = new OfflineAudioContext(1, 1, 44100)
|
||||
const analyser = context.createAnalyser()
|
||||
const dataArray = new Float32Array(analyser.frequencyBinCount)
|
||||
analyser.getFloatFrequencyData(dataArray);
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue