From 0077163813d5890715ba769ce05b5589acb46a80 Mon Sep 17 00:00:00 2001 From: laokaiyao Date: Fri, 23 Sep 2022 17:09:19 +0800 Subject: [PATCH] i2s_example: fixed i2s_adc_dac output gap Closes: https://github.com/espressif/esp-idf/issues/9389 --- examples/peripherals/i2s/i2s_adc_dac/main/app_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/peripherals/i2s/i2s_adc_dac/main/app_main.c b/examples/peripherals/i2s/i2s_adc_dac/main/app_main.c index 79606b5c37..4e21ecdf85 100644 --- a/examples/peripherals/i2s/i2s_adc_dac/main/app_main.c +++ b/examples/peripherals/i2s/i2s_adc_dac/main/app_main.c @@ -78,8 +78,8 @@ void example_i2s_init(void) .communication_format = I2S_COMM_FORMAT_STAND_MSB, .channel_format = EXAMPLE_I2S_FORMAT, .intr_alloc_flags = 0, - .dma_desc_num = 2, - .dma_frame_num = 1024, + .dma_desc_num = 6, + .dma_frame_num = 256, .use_apll = 1, }; //install and start i2s driver