PokéRogue
    Preparing search index...

    Type Alias DecodeAudioConfig

    An 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
    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.