refactor: WaitForAlignment coroutine use BeatClock.cs insted of calculate independently.

This commit is contained in:
2026-04-21 15:01:55 +08:00
parent 15f220a4c7
commit e46c324ac5
4 changed files with 30 additions and 36 deletions
@@ -46,6 +46,13 @@ namespace OCES.Audio
Bar,
}
public enum CallbackFlags
{
MusicSyncBeat = 1,
MusicSyncBar = 2,
MusicSyncGrid = 3,
}
public enum ActiveSoundState
{
Pending, // 已进入调度,但还没真正播放
@@ -91,11 +98,4 @@ namespace OCES.Audio
public partial class MusicPath : IPathEntry { }
public partial class AmbiencePath : IPathEntry { }
public enum CallbackFlags
{
MusicSyncBeat = 1,
MusicSyncBar = 2,
MusicSyncGrid = 3,
}
}