feat: 未配置bpm时不启动回调

This commit is contained in:
2026-04-27 20:08:36 +08:00
parent 5bd0135f7b
commit 61414b2fef
2 changed files with 2 additions and 1 deletions
@@ -28,6 +28,7 @@ namespace OCES.Audio
internal void Restart(MusicContainer container, float inheritedBpm, double dspTime)
{
//Debug.Log($"[BeatClock] Restarting {container.Id}, inheritedBpm = {inheritedBpm}, dspTime = {dspTime}");
StopAll();
this.m_blendError = this.m_stopped = false;
this.m_containerId = container.Id;