Add missing #define and switch to using the single-threaded, dual PDM microphone design.

This commit is contained in:
Michael Banther
2019-11-19 10:35:22 +00:00
parent e097b5dc3d
commit 4ff6815d07
3 changed files with 6 additions and 3 deletions

View File

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

View File

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

View File

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