Pārlūkot izejas kodu

Revert masterGain connect

sebastien 7 gadi atpakaļ
vecāks
revīzija
f055da2998
1 mainītis faili ar 1 papildinājumiem un 2 dzēšanām
  1. 1 2
      src/Audio/babylon.audioEngine.ts

+ 1 - 2
src/Audio/babylon.audioEngine.ts

@@ -142,8 +142,7 @@
                     this._connectedAnalyser.stopDebugCanvas();
                     this._connectedAnalyser.dispose();
                     this.masterGain.disconnect();
-                    // Looks Strange to me.
-                    // this.masterGain.connect(this._audioContext.destination);
+                    this.masterGain.connect(this._audioContext.destination);
                     this._connectedAnalyser = null;
                 }
                 this.masterGain.gain.value = 1;