summaryrefslogtreecommitdiff
path: root/src/app
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-02-15 12:38:48 +0100
committerskal <pascal.massimino@gmail.com>2026-02-15 12:38:48 +0100
commit8cababb75f17c420518cc5e84b66f48a1a1b82d3 (patch)
treef9deda74a1e76fb114f7bda4e1eb664e78ae1f2d /src/app
parent5709bf56225894016281fbc6646bae0942468299 (diff)
investigating audio-drive bug
Diffstat (limited to 'src/app')
-rw-r--r--src/app/test_demo.cc3
1 files changed, 1 insertions, 2 deletions
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)