name | type | arguments | description |
---|---|---|---|
key | string |
The key of the file. Must be unique within the Loader and Audio Cache. |
|
url | string | Array.<string> | Phaser.Types.Loader.FileTypes.AudioFileURLConfig | Array.<Phaser.Types.Loader.FileTypes.AudioFileURLConfig> | <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. |