Skip to content

Commit

Permalink
Attempt #2 for audiostage compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
jbaicoianu committed Aug 5, 2014
1 parent ba1cec5 commit 79b2d6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/external/audiostage.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ var AudioStage = function() {
}

AudioStage.prototype.getNewMasterFader = function() {
var fader = this.context.createGainNode(),
var fader = (this.context.createGain ? this.context.createGain() : this.context.createGainNode()),
compressor = this.context.createDynamicsCompressor();

fader.connect(compressor);
Expand Down

0 comments on commit 79b2d6d

Please sign in to comment.