From 4ca73ae3625e87d263a771018e17710b4ae90b0c Mon Sep 17 00:00:00 2001 From: Pavle Goloskokovic Date: Wed, 17 Jan 2018 14:10:54 +0100 Subject: [PATCH] Removing unlock call since it is now done in BaseSoundManager class --- src/sound/webaudio/WebAudioSoundManager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sound/webaudio/WebAudioSoundManager.js b/src/sound/webaudio/WebAudioSoundManager.js index 4d101da89..d19c48160 100644 --- a/src/sound/webaudio/WebAudioSoundManager.js +++ b/src/sound/webaudio/WebAudioSoundManager.js @@ -44,7 +44,6 @@ var WebAudioSoundManager = new Class({ * @property {AudioNode} destination */ this.destination = this.masterMuteNode; - this.unlock(); BaseSoundManager.call(this, game); }, /** @@ -81,6 +80,7 @@ var WebAudioSoundManager = new Class({ }, /** * 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). * * @private