esp32: use double-buffer for audio

This commit is contained in:
Matthias Ringwald 2021-12-28 17:57:17 +01:00
parent 52a720ae15
commit 2116cb5fab

View File

@ -70,8 +70,8 @@ static void btstack_audio_esp32_source_process_buffer(void);
#define BTSTACK_AUDIO_I2S_NUM (I2S_NUM_0)
#define DRIVER_POLL_INTERVAL_MS 5
#define DMA_BUFFER_COUNT 3
#define DMA_BUFFER_SAMPLES 300
#define DMA_BUFFER_COUNT 2
#define DMA_BUFFER_SAMPLES 512
#define BYTES_PER_SAMPLE_STEREO 4