channels : number The number of audio channels to use in playback. Default
[readonly] usingWebAudio : boolean True the SoundManager and device are both using Web Audio
new SoundManager(game) The Sound Manager is responsible for playing back audio via either the Legacy HTML Audio tag or via Web Audio
resumeAll() Resumes every sound in the game. Source code:
add(key, volume, loop, connect) → {
removeByKey(key) → {number} Removes all Sounds from the SoundManager that have an asset key matching
unlock() → {boolean} Enables the audio, usually after the first touch. Returns
remove(sound) → {boolean} Removes a Sound from the SoundManager. The removed Sound is destroyed
muteOnPause : boolean Set to true to have all sound muted when the Phaser game pauses (such as on loss of focus),or set to
addSprite(key) → {Phaser.AudioSprite}
Page 2 of 3