From f9e6c136bc4063f86b59a15b263051a91e093ca4 Mon Sep 17 00:00:00 2001 From: KubaPro010 Date: Sat, 11 Jul 2026 14:18:35 +0200 Subject: [PATCH] what the hell is wrong with this --- src/fm95.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fm95.c b/src/fm95.c index c9d05f4..859725d 100644 --- a/src/fm95.c +++ b/src/fm95.c @@ -452,7 +452,7 @@ void init_runtime(FM95_Runtime* runtime, const FM95_Config config) { runtime->rds_symbol[i] = -1.0f; runtime->rds_last_bit[i] = 0; - runtime->rds_filter[i] = iirfilt_rrrf_create_prototype(LIQUID_IIRDES_CHEBY2, LIQUID_IIRDES_LOWPASS, LIQUID_IIRDES_SOS, 8, (4750/config.sample_rate), 0.0f, 1.0f, 40.0f); + runtime->rds_filter[i] = iirfilt_rrrf_create_prototype(LIQUID_IIRDES_CHEBY2, LIQUID_IIRDES_LOWPASS, LIQUID_IIRDES_SOS, 8, (4750.0f/config.sample_rate), 0.0f, 1.0f, 40.0f); } }