A bed that finishes loading wakes the context it was started for

Oliver's hunch was right: the tap unlocks audio and starts a 768 KB fetch, but
the source starts seconds later inside a promise with no gesture near it. iOS
suspends an idle context in that gap, and a source started into a suspended
context is silent for good — nothing on the splash ever asks for audio again.
Resume once more when the buffer lands, which the first tap has already
authorised, and again when the app comes back to the foreground.

Intermittent because it only bites when the decode outlasts the browser's
patience: a phone, a cold cache, a slow radio.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
wuwiandClaude Opus 5 committed 2026-08-15 15:16:41 +02:00
1 parent 3b639e743b
commit 1daa3e9d6a
4 files changed
+35 -4

No files matched your search

+1 -1
View File
@@ -564,6 +564,6 @@ if (location.hostname !== 'splatter-tennis.wuwi.one') {
</div>
</div>
</div>
<script type="module" src="src/main.js?v=263"></script>
<script type="module" src="src/main.js?v=264"></script>
</body>
</html>