UNPKG

phaser

Version:

A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers from the team at Phaser Studio Inc.

13 lines (12 loc) 507 B
/** * 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. * * @typedef {object} Phaser.Types.Sound.DecodeAudioConfig * @since 3.18.0 * * @property {string} key - The string-based key to be used to reference the decoded audio in the audio cache. * @property {(ArrayBuffer|string)} data - The audio data, either a base64 encoded string, an audio media-type data uri, or an ArrayBuffer instance. */