Disable single-threaded mic array processing for these examples. Remove the unnecessary definition of MIC_ARRAY_FRAME_SIZE.

This commit is contained in:
Michael Banther
2019-11-22 11:19:07 +00:00
parent 3a1c1b0265
commit 82d364a25d
3 changed files with 3 additions and 6 deletions

View File

@@ -21,7 +21,6 @@
#define PID_AUDIO_1 1
#define PID_AUDIO_2 2
#define XUA_DFU_EN 0 /* Disable DFU (for simplicity of example */
#define MIC_DUAL_ENABLED 1 // Use single-threaded design with dual PDM microphones
#define MIC_ARRAY_FRAME_SIZE 240
#define MIC_DUAL_ENABLED 0 // Use multi-threaded design
#endif

View File

@@ -26,7 +26,6 @@
#define AUDIO_CLASS_FALLBACK 0
#define BCD_DEVICE 0x1234
#define XUA_DFU_EN 0
#define MIC_DUAL_ENABLED 1 // Use single-threaded design with dual PDM microphones
#define MIC_ARRAY_FRAME_SIZE 240
#define MIC_DUAL_ENABLED 0 // Use multi-threaded design
#endif

View File

@@ -25,7 +25,6 @@
#define AUDIO_CLASS_FALLBACK 0
#define BCD_DEVICE 0x1234
#define XUA_DFU_EN 0
#define MIC_DUAL_ENABLED 1 // Use single-threaded design with dual PDM microphones
#define MIC_ARRAY_FRAME_SIZE 240
#define MIC_DUAL_ENABLED 0 // Use multi-threaded design
#endif