RESOLVED FIXED308283
[GStreamer][WebAudio] Fix garbage sound
https://bugs.webkit.org/show_bug.cgi?id=308283
Summary [GStreamer][WebAudio] Fix garbage sound
Xabier Rodríguez Calvar
Reported 2026-02-20 02:40:30 PST
When playing: function playTone() { window.audioCtx = new AudioContext(); // Create oscillator const osc = window.audioCtx.createOscillator(); osc.type = 'sine'; osc.frequency.value = 440; // A4 note // Create destination stream node const dest = window.audioCtx.createMediaStreamDestination(); osc.connect(dest); // Hook up to audio element const audioElem = document.getElementById('audio_source'); audioElem.srcObject = dest.stream; var selected = document.querySelector('input[name="sink"]:checked'); setSink(audioElem, selected.value); // Start and stop beep osc.start(); audioElem.play(); setTimeout(() => osc.stop(), 1000); // 1 sec beep } We hear garbage.
Attachments
Xabier Rodríguez Calvar
Comment 1 2026-02-20 02:44:10 PST
EWS
Comment 2 2026-02-23 05:12:27 PST
Committed 308038@main (cc0a043f95a8): <https://commits.webkit.org/308038@main> Reviewed commits have been landed. Closing PR #59075 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2026-02-23 05:13:11 PST
Note You need to log in before you can comment on or make changes to this bug.