Skip to content

Commit 4ca73ae

Browse files
Removing unlock call since it is now done in BaseSoundManager class
1 parent 5c118a3 commit 4ca73ae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/sound/webaudio/WebAudioSoundManager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ var WebAudioSoundManager = new Class({
4444
* @property {AudioNode} destination
4545
*/
4646
this.destination = this.masterMuteNode;
47-
this.unlock();
4847
BaseSoundManager.call(this, game);
4948
},
5049
/**
@@ -81,6 +80,7 @@ var WebAudioSoundManager = new Class({
8180
},
8281
/**
8382
* Unlocks Web Audio API on iOS devices on the initial touch event.
83+
*
8484
* Read more about how this issue is handled here in [this article](TODO add link).
8585
*
8686
* @private

0 commit comments

Comments
 (0)