From 798b5d35fb0a81c1adabaadcb614b30ff1fcd8da Mon Sep 17 00:00:00 2001 From: KubaPro010 Date: Thu, 27 Mar 2025 18:44:57 +0100 Subject: [PATCH] now? --- lib/filters.h | 2 +- src/fm95.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/filters.h b/lib/filters.h index e4e15f5..12c4281 100644 --- a/lib/filters.h +++ b/lib/filters.h @@ -5,7 +5,7 @@ #include "constants.h" #include "oscillator.h" -#define FIR_ORDER 21 +#define FIR_ORDER 13 typedef struct { diff --git a/src/fm95.c b/src/fm95.c index d86d02c..00c4512 100644 --- a/src/fm95.c +++ b/src/fm95.c @@ -415,8 +415,8 @@ int main(int argc, char **argv) { init_preemphasis(&preemp_r, preemphasis_tau, sample_rate); FIR lpf_l, lpf_r; - init_lpf(&lpf_l, 15000/sample_rate, sample_rate); - init_lpf(&lpf_r, 15000/sample_rate, sample_rate); + init_lpf(&lpf_l, 15000, sample_rate); + init_lpf(&lpf_r, 15000, sample_rate); signal(SIGINT, stop); signal(SIGTERM, stop);