From f22027564d5bc1787114546bda03b9b1976e0e8c Mon Sep 17 00:00:00 2001 From: Michael Banther Date: Mon, 25 Nov 2019 12:10:26 +0000 Subject: [PATCH] Use the XUA-specific microphone frame size constant instead of directly overriding the microphone frame size constant from lib_mic_array. Multiple constants may be derived from XUA_MIC_FRAME_SIZE. The override of MIC_ARRAY_FRAME_SIZE occurs in mic_array_conf.h. --- tests/app_test_i2s_loopback/xua_conf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/app_test_i2s_loopback/xua_conf.h b/tests/app_test_i2s_loopback/xua_conf.h index 29316351..70298c70 100644 --- a/tests/app_test_i2s_loopback/xua_conf.h +++ b/tests/app_test_i2s_loopback/xua_conf.h @@ -23,6 +23,6 @@ #define BCD_DEVICE 0x1234 #define XUA_DFU_EN 0 #define MIC_DUAL_ENABLED 1 //Use single thread, dual PDM mic -#define MIC_ARRAY_FRAME_SIZE 240 +#define XUA_MIC_FRAME_SIZE 240 #endif // __custom_defines_h__