diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-08 11:23:03 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-08 11:23:03 +0100 |
| commit | 47d738f36a3eb262456082e35369cb26485df575 (patch) | |
| tree | d83d8259f0d87df20861030f4fa544195e61d358 /tools/tracker_compiler.cc | |
| parent | 392d03c0c05f24be3210a04d9a50cd9714d1e265 (diff) | |
feat(timing): Decouple graphics loop from audio clock for smooth performance
This commit addresses the choppy graphics issue reported after the audio synchronization fixes. The graphics rendering loop is now driven by the platform's independent clock () to ensure a consistent frame rate, while still using audio playback time for synchronization cues like beat detection and visual peak indicators.
Key changes include:
- In and :
- Introduced derived from for the main loop.
- Main loop exit conditions and calls now use .
- Audio timing (, ) remains separate and is used for audio processing and synchronization events.
- Debug output clarifies between graphics and audio time sources.
- Corrected scope issues for and in .
Diffstat (limited to 'tools/tracker_compiler.cc')
0 files changed, 0 insertions, 0 deletions
