Creates a Web Audio, HTML5 Audio or No Audio Sound Manager based on config and device settings.
Be aware of https://developers.google.com/web/updates/2017/09/autoplay-policy-changes
name | type | description |
---|---|---|
game | Phaser.Game |
Reference to the current game instance. |
The Sound Manager instance that was created.