626d5e2ec5
Replace per-sample sin_cos(pilot_phase) with a quadrature NCO that advances via complex rotation (4 muls + 2 adds vs transcendental). Renormalize every 1024 samples to prevent magnitude drift. Decimate stereo detection logic (pilot coherence, lock, drive, hysteresis) to run every 16 composite samples instead of every sample. Accumulate pilot_mag and pilot_abs over the window and process averaged values, scaling the IIR coefficients accordingly. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Stan Grams <sjg@haxx.space>