mirror of
https://github.com/radio95-rnt/fm95.git
synced 2026-02-26 19:23:51 +01:00
changes
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user