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

This commit is contained in:
2026-04-27 20:08:36 +08:00
parent 1fd2d2ff18
commit 65babff4bd
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;