increase buffer size

This commit is contained in:
2025-12-31 20:06:32 +01:00
parent 427383de75
commit 253f09b309
+3 -3
View File
@@ -5,8 +5,8 @@
#define DEFAULT_INI_PATH "/etc/fm95.conf"
#define buffer_maxlength 12288
#define buffer_tlength_fragsize 12288
#define buffer_maxlength 24576
#define buffer_tlength_fragsize 24576
#include "../dsp/oscillator.h"
#include "../filter/iir.h"
@@ -14,7 +14,7 @@
#include "../filter/bs412.h"
#include "../filter/gain_control.h"
#define BUFFER_SIZE 1024 // 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"