Bug 228221

Summary: Audible click when audio is looping
Product: WebKit Reporter: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Component: Web AudioAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=227110

Jean-Yves Avenard [:jya]
Reported 2021-07-22 23:08:00 PDT
Open https://jyavenard.github.io/htmltests/tests/webaudio/decodeAudioData.html Select Opus.webm and 48000Hz ; click on play. 96000 frames will be decoded, sample is exactly 2s long. When the audio loop, you can hear a small click. Running this on Firefox and Chrome, no click (indicative of a short silence being played) can be heard.
Attachments
Radar WebKit Bug Importer
Comment 1 2021-07-22 23:08:24 PDT
Jean-Yves Avenard [:jya]
Comment 2 2021-07-26 20:39:00 PDT
I believe this is due to rdar://81002989 ; the number of frames returned is incorrect. What we hear is a combination of the frames that should have been dropped but weren't and the frames never returned when they should have been decoded.
Jean-Yves Avenard [:jya]
Comment 3 2021-08-13 04:24:55 PDT
This got fixed already.
Note You need to log in before you can comment on or make changes to this bug.