LibWeb: Implement OscillatorNode.setPeriodicWave()

This commit is contained in:
Tim Ledbetter 2025-01-03 18:07:01 +00:00 committed by Tim Ledbetter
commit 8c4e4ec31b
Notes: github-actions[bot] 2025-01-04 10:13:24 +00:00
6 changed files with 205 additions and 18 deletions

View file

@ -4,9 +4,9 @@ AudioNode
EventTarget
Object
context: '[object OfflineAudioContext], is same as original: true
Error creating node: 'InvalidStateError: Oscillator node type cannot be set to 'custom''
Error creating node: 'InvalidStateError: Oscillator node type 'custom' requires PeriodicWave to be provided'
oscillator node type: 'sine'
Error: 'InvalidStateError: Oscillator node type cannot be set to 'custom'', type is: sine
Error: 'InvalidStateError: Oscillator node type cannot be changed to 'custom'', type is: sine
oscillator node type: 'triangle'
[object AudioParam] current: 440, default: 440, min: -22050, max: 22050, rate: a-rate
[object AudioParam] current: -52, default: 440, min: -22050, max: 22050, rate: a-rate