Increase audio buffer size.

This commit is contained in:
iabdalkader 2020-11-10 22:46:10 +02:00
parent a23fe4b889
commit 04888543a3

View File

@ -41,7 +41,7 @@ static PDM_Filter_Config_t PDM_FilterConfig[2];
#define DMA_XFER_FULL (0x04U)
static volatile uint32_t xfer_status = 0;
#define PDM_BUFFER_SIZE (4096)
#define PDM_BUFFER_SIZE (16384)
// BDMA can only access D3 SRAM4 memory.
uint8_t PDM_BUFFER[PDM_BUFFER_SIZE] __attribute__ ((aligned (32))) __attribute__((section(".d3_sram_buffer")));