Add missing #define and switch to using the single-threaded, dual PDM microphone design.
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
#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 0 // Use multiple thread
|
||||
#define MIC_DUAL_ENABLED 1 // Use single-threaded design with dual PDM microphones
|
||||
#define MIC_ARRAY_FRAME_SIZE 240
|
||||
|
||||
#endif
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#define AUDIO_CLASS_FALLBACK 0
|
||||
#define BCD_DEVICE 0x1234
|
||||
#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
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
#define AUDIO_CLASS_FALLBACK 0
|
||||
#define BCD_DEVICE 0x1234
|
||||
#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
|
||||
|
||||
Reference in New Issue
Block a user