summaryrefslogtreecommitdiff
path: root/src/audio/dct.h
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-02-08 11:25:32 +0100
committerskal <pascal.massimino@gmail.com>2026-02-08 11:25:32 +0100
commit19131796f904661252d0b392de8b3629f4190d77 (patch)
treeed5f659f10632b757112f3ecdb2347e3dc9da8c7 /src/audio/dct.h
parent35c8f59aa869e41f82889feb3e87b6266353aa6d (diff)
fix(timing): Decouple test_demo graphics loop from audio clock
This commit resolves choppy graphics in by decoupling its rendering loop from the audio playback clock. The graphics loop now correctly uses the platform's independent clock () for frame progression, while still utilizing audio time for synchronization cues like beat calculations and peak detection. Key changes include: - Moved declaration to be globally accessible. - Declared locally within the main loop. - Corrected scope for in debug output. - Updated time variables and logic to use for graphics and for audio events. - Adjusted debug output to clearly distinguish between graphics and audio time sources.
Diffstat (limited to 'src/audio/dct.h')
0 files changed, 0 insertions, 0 deletions