Skip to content

Conversation

@dgruss
Copy link
Contributor

@dgruss dgruss commented Dec 2, 2025

  1. Introduced Worker threads for Audio Analysis and decoupled them from the GUI drawing (in the main thread)
  2. UDraw.pas and UGraphicClasses.pas refactored to use the new threaded audio worker, per-player shared state, renderer copies data instead of locking, and particle effects protected with locks
  3. Added a flag in the config.ini: in [Record]: WorkerInterval with default 5 (meaning 5ms). This is a trade-off between lag and CPU load. take into account that so far the interval was basically 16.67ms. 5ms is a significantly lower latency

Copilot was used for parts of the the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant