From 392d03c0c05f24be3210a04d9a50cd9714d1e265 Mon Sep 17 00:00:00 2001 From: skal Date: Sun, 8 Feb 2026 11:13:53 +0100 Subject: refactor(audio): Finalize audio sync, update docs, and clean up test artifacts - Implemented sample-accurate audio-visual synchronization by using the hardware audio clock as the master time source. - Ensured tracker updates and visual rendering are slaved to the stable audio clock. - Corrected to accept and use delta time for sample-accurate event scheduling. - Updated all relevant tests (, , , , ) to use the new delta time parameter. - Added function. - Marked Task #71 as completed in . - Updated to reflect the audio system's current status. - Created a handoff document: . - Removed temporary peak log files (, ). --- src/audio/tracker.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/audio/tracker.h') diff --git a/src/audio/tracker.h b/src/audio/tracker.h index 3ef06a1..8e7a63f 100644 --- a/src/audio/tracker.h +++ b/src/audio/tracker.h @@ -42,5 +42,5 @@ extern const uint32_t g_tracker_patterns_count; extern const TrackerScore g_tracker_score; void tracker_init(); -void tracker_update(float music_time_sec); +void tracker_update(float music_time_sec, float dt_music_sec); void tracker_reset(); // Reset tracker state (for tests/seeking) -- cgit v1.2.3