0
1
mirror of https://github.com/radio95-rnt/rds95.git synced 2026-02-26 20:33:53 +01:00

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

View File

@@ -24,7 +24,7 @@
*/
#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_rds_get_frames(float *outbuf, size_t num_frames);

View File

@@ -28,9 +28,9 @@
#define GROUP_LENGTH 4
#define BITS_PER_GROUP (GROUP_LENGTH * (BLOCK_SIZE + POLY_DEG))
#define RDS_SAMPLE_RATE 190000
#define SAMPLES_PER_BIT 160
#define FILTER_SIZE 1120
#define RDS_SAMPLE_RATE 95000
#define SAMPLES_PER_BIT 80
#define FILTER_SIZE 439
#define SAMPLE_BUFFER_SIZE (SAMPLES_PER_BIT + FILTER_SIZE)
/* Text items

File diff suppressed because one or more lines are too long

View File

@@ -4,4 +4,4 @@
Released under the GNU GPL v3 license.
*/
extern float waveform_biphase[1120];
extern float waveform_biphase[439];