Skip to content

Commit f52cfee

Browse files
Added touchUnlocked property to HTML5AudioSoundManager class
1 parent b9b5489 commit f52cfee

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

src/sound/html5/HTML5AudioSoundManager.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,15 @@ var HTML5AudioSoundManager = new Class({
5454
* @property {boolean} touchLocked
5555
*/
5656
this.touchLocked = 'ontouchstart' in window;
57+
/**
58+
* Flag used for indicating when the audio has been unlocked,
59+
* if there ever was a need for it.
60+
*
61+
* @private
62+
* @type {boolean}
63+
* @default false
64+
*/
65+
this.touchUnlocked = false;
5766
/**
5867
* Property that actually holds the value of global mute
5968
* for HTML5 Audio sound manager implementation.

0 commit comments

Comments
 (0)