Skip to content

fix(ui): latch the DSP percentage readout at ~2 Hz - #90

Merged
robmorgan merged 1 commit into
mainfrom
fix/dsp-readout-latch
Aug 2, 2026
Merged

fix(ui): latch the DSP percentage readout at ~2 Hz#90
robmorgan merged 1 commit into
mainfrom
fix/dsp-readout-latch

Conversation

@robmorgan

Copy link
Copy Markdown
Owner

The DSP percentage in the toolbar re-rendered the audio callback's live load figure at frame rate, so the digits flickered unreadably — while the CPU % next to it (sampled once a second) reads fine, and the bar's 64 px fill hides small changes.

Fix: latch the displayed DSP value on the existing update_cpu slow path, refreshed every 0.5 s, and use it for the text and the green/amber/red threshold color. The bar fill still tracks the live per-block value, so transient spikes remain visible.

🤖 Generated with Claude Code

The DSP number re-rendered the audio callback's live load figure every
UI frame, making it unreadable; the CPU percentage next to it is
sampled once a second and reads fine. Latch the displayed DSP value
(and its threshold color) on the same slow path, updated every 0.5 s.
The bar fill keeps tracking the live value.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@robmorgan
robmorgan merged commit f63115b into main Aug 2, 2026
2 checks passed
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