You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If Earwurm audio is playing while your device goes to sleep, I believe what happens is the Audio Context is suspended. I am not sure if there is any API for reacting to a sleep or wake event from a device... but if so, we might want to make accomodations for that.
At the very least, we need to update the app/website to .pause() all audio when a device goes to sleep. An easy way to do this is probably to have a Stack listen to the context.state and call pause when the state switches to suspended.
The text was updated successfully, but these errors were encountered:
If
Earwurm
audio is playing while your device goes to sleep, I believe what happens is theAudio Context
issuspended
. I am not sure if there is any API for reacting to asleep
orwake
event from a device... but if so, we might want to make accomodations for that.At the very least, we need to update the
app/website
to.pause()
all audio when a device goes to sleep. An easy way to do this is probably to have aStack
listen to thecontext.state
and callpause
when the state switches tosuspended
.The text was updated successfully, but these errors were encountered: