Bug 228221
| Summary: | Audible click when audio is looping | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Jean-Yves Avenard [:jya] <jean-yves.avenard> |
| Component: | Web Audio | Assignee: | 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]
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/81003667>
Jean-Yves Avenard [:jya]
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]
This got fixed already.