diff --git a/scripts/external/audiostage.js b/scripts/external/audiostage.js index 3d97c0f..62c2729 100644 --- a/scripts/external/audiostage.js +++ b/scripts/external/audiostage.js @@ -9,8 +9,9 @@ var AudioStage = function() { if (typeof webkitAudioContext !== 'undefined') { this.context = new webkitAudioContext(); + } + if (this.context) { this.masterFader = this.getNewMasterFader(); - } //Create object to hold all sounds and their associated events this.cues = {};