mirror of
https://github.com/bluekitchen/btstack.git
synced 2024-12-29 09:26:08 +00:00
example/audio_duplex: increase audio buffer
This commit is contained in:
parent
5d94838065
commit
5cc4aee33b
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user