From bfea907591757b9c3fa750caa8d1db08cf3d0509 Mon Sep 17 00:00:00 2001 From: KubaPro010 Date: Sun, 12 Jul 2026 10:01:13 +0200 Subject: [PATCH] move the clock thing back --- src/fm95.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fm95.c b/src/fm95.c index fb10088..eef3e74 100644 --- a/src/fm95.c +++ b/src/fm95.c @@ -258,11 +258,11 @@ int run_fm95(FM95_Config* config, FM95_Runtime* runtime, FM95_RunResult* result) if (osc_stream >= 13) osc_stream++; float shaped = 0.0f; - iirfilt_rrrf_execute(runtime->rds_filter[stream], runtime->rds_symbol[stream], &shaped); + iirfilt_rrrf_execute(runtime->rds_filter[stream], clock * runtime->rds_symbol[stream], &shaped); float carrier = get_oscillator_cos_multiplier_ni(&runtime->osc, osc_stream * 4.0f); if (config->stereo_ssb) carrier = delay_line(&runtime->rds_delays[stream], carrier); - mpx += clock * shaped * carrier * config->volumes.rds; + mpx += shaped * carrier * config->volumes.rds; } }