try a diffrent sample rate

This commit is contained in:
2025-03-10 19:28:13 +01:00
parent dc9c3bc02c
commit 05db911ca5
4 changed files with 8 additions and 7 deletions
+1 -1
View File
@@ -24,7 +24,7 @@
*/ */
#define MPX_SAMPLE_RATE RDS_SAMPLE_RATE #define MPX_SAMPLE_RATE RDS_SAMPLE_RATE
#define OUTPUT_SAMPLE_RATE 192000 #define OUTPUT_SAMPLE_RATE 96000
extern void fm_mpx_init(uint32_t sample_rate); extern void fm_mpx_init(uint32_t sample_rate);
extern void fm_rds_get_frames(float *outbuf, size_t num_frames); extern void fm_rds_get_frames(float *outbuf, size_t num_frames);
+3 -3
View File
@@ -28,9 +28,9 @@
#define GROUP_LENGTH 4 #define GROUP_LENGTH 4
#define BITS_PER_GROUP (GROUP_LENGTH * (BLOCK_SIZE + POLY_DEG)) #define BITS_PER_GROUP (GROUP_LENGTH * (BLOCK_SIZE + POLY_DEG))
#define RDS_SAMPLE_RATE 190000 #define RDS_SAMPLE_RATE 95000
#define SAMPLES_PER_BIT 160 #define SAMPLES_PER_BIT 80
#define FILTER_SIZE 1120 #define FILTER_SIZE 439
#define SAMPLE_BUFFER_SIZE (SAMPLES_PER_BIT + FILTER_SIZE) #define SAMPLE_BUFFER_SIZE (SAMPLES_PER_BIT + FILTER_SIZE)
/* Text items /* Text items
+3 -2
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -4,4 +4,4 @@
Released under the GNU GPL v3 license. Released under the GNU GPL v3 license.
*/ */
extern float waveform_biphase[1120]; extern float waveform_biphase[439];