From 4688484a6d3b617bfc42a71e7930fcce99e8f2b0 Mon Sep 17 00:00:00 2001 From: Oliver Wong Date: Fri, 8 May 2026 16:40:50 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E7=A7=BB=E9=99=A4=E6=9C=AA?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=E7=9A=84=E5=8F=98=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Scripts/OCES/Audio/HandWritten/LongAudio/BeatClock.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/Scripts/OCES/Audio/HandWritten/LongAudio/BeatClock.cs b/Assets/Scripts/OCES/Audio/HandWritten/LongAudio/BeatClock.cs index 56638cf..9994cb7 100644 --- a/Assets/Scripts/OCES/Audio/HandWritten/LongAudio/BeatClock.cs +++ b/Assets/Scripts/OCES/Audio/HandWritten/LongAudio/BeatClock.cs @@ -61,7 +61,7 @@ namespace OCES.Audio double delay = this.m_startDspTime - AudioSettings.dspTime; if (delay > 0) { - this.m_delayCoroutine = this.m_host.StartCoroutine(DelayedStart(delay, hasTimeSig, hasGrid)); + this.m_delayCoroutine = this.m_host.StartCoroutine(DelayedStart(hasTimeSig, hasGrid)); } else { @@ -69,7 +69,7 @@ namespace OCES.Audio } } - IEnumerator DelayedStart(double delay, bool hasTimeSig, bool hasGrid) + IEnumerator DelayedStart(bool hasTimeSig, bool hasGrid) { yield return new WaitUntil(() => AudioSettings.dspTime >= this.m_startDspTime - 0.02);