Bug 248658
| Summary: | AudioBufferSourceNode.start with duration fails sometimes | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Daniel Gjörwell <daniel.gjorwell> |
| Component: | Web Audio | Assignee: | Chris Dumez <cdumez> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | cdumez, jer.noble, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 15 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Daniel Gjörwell
WebKit on iOS treats the duration argument to AudioBufferSourceNode incorrectly when the node is set to looping.
A simple example can be found here
https://jsfiddle.net/DanielGjorwell/x75uavL3/14/
Steps to reproduce:
1. Load the link above on iOS Safari 15 or later.
2. Once enabled, press the PLAY FROM OFFSET button a few times.
3. Note that sometimes the sound fails to play.
4. If on the other hand, you press PLAY FROM START, the sound will always play.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/103178030>
Chris Dumez
Pull request: https://github.com/WebKit/WebKit/pull/8902
EWS
Committed 259234@main (703601b447f8): <https://commits.webkit.org/259234@main>
Reviewed commits have been landed. Closing PR #8902 and removing active labels.