mirror of
https://github.com/photonstorm/phaser
synced 2024-12-17 16:43:30 +00:00
Added lockedActionsQueue property to HTML5AudioSoundManager class for internal use
This commit is contained in:
parent
bcb11d5c4e
commit
19ec0fb735
1 changed files with 14 additions and 0 deletions
|
@ -46,6 +46,20 @@ var HTML5AudioSoundManager = new Class({
|
||||||
* @default []
|
* @default []
|
||||||
*/
|
*/
|
||||||
this.onBlurPausedSounds = [];
|
this.onBlurPausedSounds = [];
|
||||||
|
/**
|
||||||
|
* A queue of all actions performed on sound objects while audio was locked.
|
||||||
|
* Once the audio gets unlocked, after an explicit user interaction,
|
||||||
|
* all actions will be performed in chronological order.
|
||||||
|
*
|
||||||
|
* @private
|
||||||
|
* @property {{
|
||||||
|
* sound: Phaser.Sound.HTML5AudioSound,
|
||||||
|
* name: string,
|
||||||
|
* value?: any,
|
||||||
|
* }[]} lockedActionsQueue
|
||||||
|
* @default []
|
||||||
|
*/
|
||||||
|
this.lockedActionsQueue = [];
|
||||||
/**
|
/**
|
||||||
* Property that actually holds the value of global mute
|
* Property that actually holds the value of global mute
|
||||||
* for HTML5 Audio sound manager implementation.
|
* for HTML5 Audio sound manager implementation.
|
||||||
|
|
Loading…
Reference in a new issue