example/audio_duplex: increase audio buffer

This commit is contained in:
Matthias Ringwald 2024-04-19 12:11:15 +02:00
parent 5d94838065
commit 5cc4aee33b

View File

@ -62,7 +62,7 @@ static btstack_timer_source_t start_stop_timer;
const uint32_t samplerate = 16000; const uint32_t samplerate = 16000;
// ring buffer for audio // ring buffer for audio
#define BUFFER_SAMPLES 1024 #define BUFFER_SAMPLES 2048
static uint16_t audio_buffer_storage[BUFFER_SAMPLES * NUM_INPUT_CHANNELS]; static uint16_t audio_buffer_storage[BUFFER_SAMPLES * NUM_INPUT_CHANNELS];
static btstack_ring_buffer_t audio_buffer; static btstack_ring_buffer_t audio_buffer;