Bug 228221 - Audible click when audio is looping
Summary: Audible click when audio is looping
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Audio (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-07-22 23:08 PDT by Jean-Yves Avenard [:jya]
Modified: 2021-08-13 04:24 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Yves Avenard [:jya] 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.
Comment 1 Radar WebKit Bug Importer 2021-07-22 23:08:24 PDT
<rdar://problem/81003667>
Comment 2 Jean-Yves Avenard [:jya] 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.
Comment 3 Jean-Yves Avenard [:jya] 2021-08-13 04:24:55 PDT
This got fixed already.