A brand new game
for Windows, Linux, Mac, HTML5, 3DS Homebrew and more
15th February, 2019
Can you hear me!?!
I've added really basic audio to the Shoebox, but annoyingly the audio doesn't seem to be working on iOS.
This is the very same issue I'm having with Emscripten's HTML output, and it's really frustrating that this is happening..
You're supposed to wait for the user to interact with the screen, THEN unlock the audio API.
And I'm doing that, and the API's returning a success...
audioCtx.state = "running"
So, as far as I can tell, all should be good to go.
And yet, I'm still getting the "NotAllowedError" rejection whenever I try to play a sound.
Really quite baffling.