phaser - v4.0.0-rc.4
    Preparing search index...
    type AudioFileConfig = {
        context?: AudioContext;
        key: string;
        url?: string | string[] | AudioFileURLConfig | AudioFileURLConfig[];
        xhrSettings?: XHRSettingsObject;
    }
    Index

    Properties

    context?: AudioContext

    The optional AudioContext this file will use to process itself.

    key: string

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

    url?: string | string[] | AudioFileURLConfig | AudioFileURLConfig[]

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

    xhrSettings?: XHRSettingsObject

    Extra XHR Settings specifically for this file.