huangxiaojing 4 年之前
父節點
當前提交
047a1086d6
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      screenIos/pcm-player.js

+ 1 - 1
screenIos/pcm-player.js

@@ -47,7 +47,7 @@ PCMPlayer.prototype.createContext = function () {
     //     var unlock = () => { this.audioCtx.resume(); };
     //     document.body.addEventListener('touchstart', unlock, false);
     // }
-    // this.gainNode = this.audioCtx.createGain();
+    this.gainNode = this.audioCtx.createGain();
     this.gainNode.gain.value = 1;
     this.gainNode.connect(this.audioCtx.destination);
     this.startTime = this.audioCtx.currentTime;