mirror of
https://git.vladimir.cc/vladimir/ewsdr.git
synced 2026-08-25 20:37:33 +00:00
8be98b72e1ca3fc08fd8b48d9ad3c3842cf3c45f
TRadioController now owns its engines: CreateEngines(ASampleRate) builds FNetwork/FDSPEngine/FAudioOut/FAudioIn (and the constructor now owns FSettings), FreeEngines closes and frees them, and Destroy calls FreeEngines + frees FSettings. FormCreate replaces the four inline T...Create calls with a single FController.CreateEngines (after the startup sample rate is loaded, so FDSPEngine is still born at the right rate) and keeps wiring the MainForm callbacks. FormDestroy keeps the graceful Run=0 stop + Disconnect but drops the per-engine Close/Free and FSettings.Free, which now happen in the controller's destructor. This is a behaviour-preserving ownership move toward headless/daemon operation. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Languages
Pascal
96.4%
Python
2.9%
Shell
0.6%