0
1
mirror of https://github.com/radio95-rnt/fm95.git synced 2026-02-26 19:23:51 +01:00
This commit is contained in:
2025-03-27 19:03:23 +01:00
parent 3b1941038e
commit db170462f2
2 changed files with 3 additions and 3 deletions

View File

@@ -5,7 +5,7 @@
#include "constants.h" #include "constants.h"
#include "oscillator.h" #include "oscillator.h"
#define LPF_ORDER 5 #define LPF_ORDER 7
typedef struct typedef struct
{ {
@@ -29,4 +29,4 @@ typedef struct
float w2[LPF_ORDER]; float w2[LPF_ORDER];
} LPFFilter; } LPFFilter;
void init_lpf(LPFFilter *filter, float cutoff, int sample_rate); void init_lpf(LPFFilter *filter, float cutoff, int sample_rate);
float process_lpf(LPFFilter *filter, float x); float process_lpf(LPFFilter *filter, float x);

View File

@@ -24,7 +24,7 @@
#define INPUT_DEVICE "FM_Audio.monitor" #define INPUT_DEVICE "FM_Audio.monitor"
#define OUTPUT_DEVICE "alsa_output.platform-soc_sound.stereo-fallback" #define OUTPUT_DEVICE "alsa_output.platform-soc_sound.stereo-fallback"
#define RDS_DEVICE "RDS.monitor" #define RDS_DEVICE "RDS.monitor"
// #define MPX_DEVICE "FM_MPX.monitor" #define MPX_DEVICE "FM_MPX.monitor"
// #define SCA_DEVICE "" // #define SCA_DEVICE ""
#define BUFFER_SIZE 2048 #define BUFFER_SIZE 2048