From 0bb7fa35cc340a65c944e546231632379bcfa30c Mon Sep 17 00:00:00 2001 From: skal Date: Sat, 31 Jan 2026 15:44:30 +0100 Subject: feat: Add --seek command line option for fast-forward debugging This feature allows developers to jump to a specific time in the demo sequence (e.g., './demo64k --seek 10.5'). It simulates the game logic, audio state (rendering silent buffers), and visual physics (compute shaders) from t=0 up to the target time before starting real-time playback. Audio initialization is refactored to separate device init and start. --- tools/spectool.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/spectool.cc') diff --git a/tools/spectool.cc b/tools/spectool.cc index d9b58be..663056d 100644 --- a/tools/spectool.cc +++ b/tools/spectool.cc @@ -133,6 +133,7 @@ int play_spec(const char *in_path) { platform_init_window(false); audio_init(); + audio_start(); Spectrogram spec; spec.spectral_data_a = spec_data.data(); spec.spectral_data_b = -- cgit v1.2.3