We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b151ba5 commit 6b291e8Copy full SHA for 6b291e8
1 file changed
v3/src/sound/webaudio/WebAudioSoundManager.js
@@ -29,14 +29,14 @@ var WebAudioSoundManager = new Class({
29
* @private
30
* @property {GainNode} masterMuteNode
31
*/
32
- this.masterMuteNode = (this.context.createGain || this.context.createGainNode).call(this.context);
+ this.masterMuteNode = this.context.createGain();
33
/**
34
* [description]
35
*
36
37
* @property {GainNode} masterVolumeNode
38
39
- this.masterVolumeNode = (this.context.createGain || this.context.createGainNode).call(this.context);
+ this.masterVolumeNode = this.context.createGain();
40
this.masterMuteNode.connect(this.masterVolumeNode);
41
this.masterVolumeNode.connect(this.context.destination);
42
0 commit comments