Phaser API Documentation

  Version: 
AudioFileConfig
Properties:
name type arguments description
key string

The key of the file. Must be unique within the Loader and Audio Cache.

url string | Array.<string> <optional>

The absolute or relative URLs to load the audio files from.

xhrSettings Phaser.Types.Loader.XHRSettingsObject <optional>

Extra XHR Settings specifically for this file.

context AudioContext <optional>

The optional AudioContext this file will use to process itself.

Type:
object