Skip to content

Commit

Permalink
注释之前的音频时间同步方法
Browse files Browse the repository at this point in the history
  • Loading branch information
MisaLiu committed May 13, 2023
1 parent 60b9f0e commit fea642e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/audio/timer.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ class AudioTimer
}
else
{
this.startTime = (audioCtxCurrentTime ? (audioCtxCurrentTime * 1000) + AudioContextTimerDiff : performance.now());
// this.startTime = (audioCtxCurrentTime ? (audioCtxCurrentTime * 1000) + AudioContextTimerDiff : performance.now());
this.startTime = performance.now();
}

this.status = 1;
Expand Down

0 comments on commit fea642e

Please sign in to comment.