From db170462f297bd8ef0a2a2c7707355f24aced377 Mon Sep 17 00:00:00 2001 From: KubaPro010 Date: Thu, 27 Mar 2025 19:03:23 +0100 Subject: [PATCH] changes --- lib/filters.h | 4 ++-- src/fm95.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/filters.h b/lib/filters.h index 6712be8..0d585fc 100644 --- a/lib/filters.h +++ b/lib/filters.h @@ -5,7 +5,7 @@ #include "constants.h" #include "oscillator.h" -#define LPF_ORDER 5 +#define LPF_ORDER 7 typedef struct { @@ -29,4 +29,4 @@ typedef struct float w2[LPF_ORDER]; } LPFFilter; void init_lpf(LPFFilter *filter, float cutoff, int sample_rate); -float process_lpf(LPFFilter *filter, float x); \ No newline at end of file +float process_lpf(LPFFilter *filter, float x); diff --git a/src/fm95.c b/src/fm95.c index c5db697..83fcb35 100644 --- a/src/fm95.c +++ b/src/fm95.c @@ -24,7 +24,7 @@ #define INPUT_DEVICE "FM_Audio.monitor" #define OUTPUT_DEVICE "alsa_output.platform-soc_sound.stereo-fallback" #define RDS_DEVICE "RDS.monitor" -// #define MPX_DEVICE "FM_MPX.monitor" +#define MPX_DEVICE "FM_MPX.monitor" // #define SCA_DEVICE "" #define BUFFER_SIZE 2048