From 0c73933f50456c9a765bfd1c7d4e89282f146672 Mon Sep 17 00:00:00 2001 From: KubaPro010 Date: Thu, 19 Feb 2026 21:16:10 +0100 Subject: [PATCH] increase buffer --- src/fm95.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/fm95.c b/src/fm95.c index 7ca8326..057439a 100644 --- a/src/fm95.c +++ b/src/fm95.c @@ -5,8 +5,8 @@ #define DEFAULT_INI_PATH "/etc/fm95.conf" -#define buffer_maxlength 79968 -#define buffer_tlength_fragsize 79968 +#define buffer_maxlength 99960 +#define buffer_tlength_fragsize 99960 #include "../dsp/oscillator.h" #include "../filter/iir.h" @@ -14,7 +14,7 @@ #include "../filter/bs412.h" #include "../filter/gain_control.h" -#define BUFFER_SIZE 3264 // This defines how many samples to process at a time, because the loop here is this: get signal -> process signal -> output signal, and when we get signal we actually get BUFFER_SIZE of them +#define BUFFER_SIZE 6664 // This defines how many samples to process at a time, because the loop here is this: get signal -> process signal -> output signal, and when we get signal we actually get BUFFER_SIZE of them #include "../io/audio.h"