mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-13 22:47:26 +01:00
5976e4bbbc
Before this change, the audio is suspended when the game stops for 1/12[s]. However, as game often stops for more than 1/12[s] especially on mobiles, this implemntation caused some audio glitches. This change fixes this problem by re-implementing suspending/ resumeing audio by detecting the window is active/focused or not. |
||
---|---|---|
.. | ||
hooks.go |