Skip to content

Commit 6b291e8

Browse files
Reverting compatibility changes as they are handled by a polyfill
1 parent b151ba5 commit 6b291e8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

v3/src/sound/webaudio/WebAudioSoundManager.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ var WebAudioSoundManager = new Class({
2929
* @private
3030
* @property {GainNode} masterMuteNode
3131
*/
32-
this.masterMuteNode = (this.context.createGain || this.context.createGainNode).call(this.context);
32+
this.masterMuteNode = this.context.createGain();
3333
/**
3434
* [description]
3535
*
3636
* @private
3737
* @property {GainNode} masterVolumeNode
3838
*/
39-
this.masterVolumeNode = (this.context.createGain || this.context.createGainNode).call(this.context);
39+
this.masterVolumeNode = this.context.createGain();
4040
this.masterMuteNode.connect(this.masterVolumeNode);
4141
this.masterVolumeNode.connect(this.context.destination);
4242
/**

0 commit comments

Comments
 (0)