refactor: 移除未使用的变量

This commit is contained in:
2026-05-08 16:40:50 +08:00
parent a29b56a65e
commit e81d6c379d
@@ -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);