diff --git a/src/chimer95.c b/src/chimer95.c index b7acaef..5c14c3b 100644 --- a/src/chimer95.c +++ b/src/chimer95.c @@ -7,8 +7,8 @@ #include "../inih/ini.h" #define DEFAULT_CONFIG_PATH "/etc/chimer95.conf" -#define buffer_maxlength 1024 -#define buffer_tlength_fragsize 1024 +#define buffer_maxlength 2048 +#define buffer_tlength_fragsize 2048 #define buffer_prebuf 0 #include "../dsp/oscillator.h" diff --git a/src/fm95.c b/src/fm95.c index 897ed38..c8feef7 100644 --- a/src/fm95.c +++ b/src/fm95.c @@ -14,7 +14,7 @@ #include "../filter/bs412.h" #include "../filter/gain_control.h" -#define BUFFER_SIZE 8192 // 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 4096 // 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" diff --git a/src/sca95.c b/src/sca95.c index 8fcfe5a..2c10322 100644 --- a/src/sca95.c +++ b/src/sca95.c @@ -16,7 +16,7 @@ #define INPUT_DEVICE "SCA.monitor" #define OUTPUT_DEVICE "FM_MPX" -#define BUFFER_SIZE 3072 +#define BUFFER_SIZE 2048 #include "../io/audio.h"