New Audio Decode type

This commit is contained in:
Richard Davey 2019-06-11 14:31:17 +01:00
parent f2c2c93499
commit a124580930

View file

@ -0,0 +1,12 @@
/**
* 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.
*/