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.
<rdar://problem/103178030>
Pull request: https://github.com/WebKit/WebKit/pull/8902
Committed 259234@main (703601b447f8): <https://commits.webkit.org/259234@main> Reviewed commits have been landed. Closing PR #8902 and removing active labels.