phaser - v4.0.0-rc.4
    Preparing search index...

    Type Alias DecodeAudioConfig

    A Audio Data object.

    You can pass an array of these objects to the WebAudioSoundManager decodeAudio method to have it decode them all at once.

    type DecodeAudioConfig = {
        data: ArrayBuffer | string;
        key: string;
    }
    Index

    Properties

    Properties

    data: ArrayBuffer | string

    The audio data, either a base64 encoded string, an audio media-type data uri, or an ArrayBuffer instance.

    key: string

    The string-based key to be used to reference the decoded audio in the audio cache.