Removing unlock call since it is now done in BaseSoundManager class

This commit is contained in:
Pavle Goloskokovic 2018-01-17 14:10:54 +01:00
parent 5c118a3a94
commit 4ca73ae362

View file

@ -44,7 +44,6 @@ var WebAudioSoundManager = new Class({
* @property {AudioNode} destination * @property {AudioNode} destination
*/ */
this.destination = this.masterMuteNode; this.destination = this.masterMuteNode;
this.unlock();
BaseSoundManager.call(this, game); BaseSoundManager.call(this, game);
}, },
/** /**
@ -81,6 +80,7 @@ var WebAudioSoundManager = new Class({
}, },
/** /**
* Unlocks Web Audio API on iOS devices on the initial touch event. * Unlocks Web Audio API on iOS devices on the initial touch event.
*
* Read more about how this issue is handled here in [this article](TODO add link). * Read more about how this issue is handled here in [this article](TODO add link).
* *
* @private * @private