Skip to content

Commit a124580

Browse files
committed
New Audio Decode type
1 parent f2c2c93 commit a124580

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/**
2+
* A Audio Data object.
3+
*
4+
* You can pass an array of these objects to the WebAudioSoundManager `decodeAudio` method to have it decode
5+
* them all at once.
6+
*
7+
* @typedef {object} Phaser.Types.Sound.DecodeAudioConfig
8+
* @since 3.18.0
9+
*
10+
* @property {string} key - The string-based key to be used to reference the decoded audio in the audio cache.
11+
* @property {(ArrayBuffer|string)} data - The audio data, either a base64 encoded string, an audio media-type data uri, or an ArrayBuffer instance.
12+
*/

0 commit comments

Comments
 (0)