SoundManager#game
  • References/Game Development/Phaser/Sound/SoundManager

game : Phaser.Game Local reference to game.

2025-01-10 15:47:30
SoundManager#context
  • References/Game Development/Phaser/Sound/SoundManager

context :AudioContext The AudioContext being used for playback. Source code:

2025-01-10 15:47:30
SoundManager#setTouchLock()
  • References/Game Development/Phaser/Sound/SoundManager

setTouchLock() Sets the Input Manager touch callback to be SoundManager.unlock.Required for iOS audio device unlocking. Mostly

2025-01-10 15:47:30
SoundManager#connectToMaster
  • References/Game Development/Phaser/Sound/SoundManager

connectToMaster : boolean Used in conjunction with Sound.externalNode this allows you to stop a Sound node being connected to the

2025-01-10 15:47:30
SoundManager#onVolumeChange
  • References/Game Development/Phaser/Sound/SoundManager

onVolumeChange : Phaser.Signal This signal is dispatched

2025-01-10 15:47:30
SoundManager#destroy()
  • References/Game Development/Phaser/Sound/SoundManager

destroy() Stops all the sounds in the game, then destroys them and finally clears up any callbacks.

2025-01-10 15:47:30
SoundManager#onUnMute
  • References/Game Development/Phaser/Sound/SoundManager

onUnMute : Phaser.Signal This signal is dispatched

2025-01-10 15:47:30
SoundManager#decode()
  • References/Game Development/Phaser/Sound/SoundManager

decode(key, sound) Decode a sound by its asset key. Parameters

2025-01-10 15:47:30
SoundManager#setDecodedCallback()
  • References/Game Development/Phaser/Sound/SoundManager

setDecodedCallback(files, callback, callbackContext) This method allows you to give the SoundManager a list of Sound files, or keys

2025-01-10 15:47:30
SoundManager#channels
  • References/Game Development/Phaser/Sound/SoundManager

channels : number The number of audio channels to use in playback. Default

2025-01-10 15:47:30