Phaser API Documentation

  Version: 

Member of: Phaser.Types.Sound

DecodeAudioConfig

Description:

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.

Properties:
name type description
key string

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

data ArrayBuffer | string

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

Type:
object
Since: 3.18.0