mirror of
https://github.com/smittix/intercept.git
synced 2026-04-28 16:50:01 -07:00
Three bugs preventing the live SSTV pipeline from working: 1. Race condition: self._running was set AFTER starting the decode thread, so the thread checked the flag, found it False, and exited immediately without ever processing audio. 2. Ghost running state: when the decode thread exited (e.g. rtl_fm died), self._running stayed True. The decoder reported as running but was dead, and subsequent start() calls returned without doing anything - permanently stuck until app restart. 3. VIS detection fragility: unclassifiable windows at tone transition boundaries (mixed energy from two tones) caused the state machine to reset from LEADER/BREAK states back to IDLE, dropping valid VIS headers on real signals. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
11 KiB
11 KiB