mirror of
https://git.vladimir.cc/vladimir/ewsdr.git
synced 2026-08-25 20:37:33 +00:00
8fd45bc266e4b75d8f2ca768258cf6af0893d2a5
Three runtime fixes found testing the daemon on real hardware: - WDSP opened in ~47s (vs <1s GUI): WDSPEngine.Open never imports FFTW wisdom; the GUI does it separately in EnsureWDSPWisdom before Open. Daemon now calls WDSPwisdom(GetAppCfgDir) before Open (imports the existing wdspWisdom00 in ms; builds it once if absent). Verified: open is now instant. - Web waterfall/spectrum filled only the left ~6%: the analyzer's pixel width defaults to DISPLAY_BLOCK_SIZE (64). The GUI calls SetSpectrumWidth(panel) every tick; headless never did, so only 64 of the 1024 web buffer points had data. Daemon now calls SetSpectrumWidth(1024) after Open (== SPECTRUM_PIXELS / web buffer). FLastSpectrumW survives channel recreation. - SIGINT during the (blocking) autostart connect was lost because Run set FRunning:=True *after* the connect, overwriting RequestStop. Set FRunning:=True before autostart so a stop during connect exits the loop. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Languages
Pascal
96.4%
Python
2.9%
Shell
0.6%