[Webkit-unassigned] [Bug 236942] New: Unexpected web audio behaviour (sound for a second after unmute, and others)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Feb 20 13:14:02 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=236942

            Bug ID: 236942
           Summary: Unexpected web audio behaviour (sound for a second
                    after unmute, and others)
           Product: WebKit
           Version: Safari 15
          Hardware: Unspecified
                OS: iOS 15
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Audio
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: matt.sephton at gmail.com
                CC: cdumez at apple.com

Created attachment 452700

  --> https://bugs.webkit.org/attachment.cgi?id=452700&action=review

example web game showing the problem

The attached/linked code uses Webkit Audio. 

- On Desktop it plays fine and as expected.
- On some iOS devices this may also be the case.
- However, on most iOS devices it *seems* to not play sound.

On closer inspection the problem is more subtle:
1. there is one second or so of music when the phone is unmuted, but then it cuts out again
2. there is sound on the attract mode of the game
   - if there is no sound in attract mode try muting and unmuting the phone
   - to see attract mode play a game and die
   - attract mode notes:
     - no music here
     - no
3. there is full sound in an iOS screen recording of the game

Test device:
- iPhone SE 2020
- iOS 15.3.1

Hosted example code (same as attached zip):
https://www.gingerbeardman.com/webkit/audio/

Source code repo containing the above:
https://github.com/gingerbeardman/good-old-game-sound-generator

As mentioned on Twitter:
https://twitter.com/xeenon/status/1494678426803785731
source of the thread:
https://twitter.com/abagames/status/1494591825365331970

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220220/a7c7e3d3/attachment.htm>


More information about the webkit-unassigned mailing list