decode(key, sound)
Decode a sound by its asset key.
Parameters
Name | Type | Argument | Description |
---|---|---|---|
key | string | Assets key of the sound to be decoded. | |
sound | Phaser.Sound | <optional> | Its buffer will be set to decoded data. |
- Source code: sound/SoundManager.js (Line 406)
Please login to continue.