From 8cababb75f17c420518cc5e84b66f48a1a1b82d3 Mon Sep 17 00:00:00 2001 From: skal Date: Sun, 15 Feb 2026 12:38:48 +0100 Subject: investigating audio-drive bug --- src/app/test_demo.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/app/test_demo.cc') diff --git a/src/app/test_demo.cc b/src/app/test_demo.cc index f45916a..5775e74 100644 --- a/src/app/test_demo.cc +++ b/src/app/test_demo.cc @@ -280,10 +280,9 @@ int main(int argc, char** argv) { g_tempo_scale = 1.0f; // No tempo variation } - g_music_time += audio_dt * g_tempo_scale; - g_audio_engine.update(g_music_time, audio_dt * g_tempo_scale); audio_render_ahead(g_music_time, audio_dt * g_tempo_scale); + g_music_time += audio_dt * g_tempo_scale; }; // Pre-fill ring buffer to target lookahead (prevents startup delay) -- cgit v1.2.3