forked from PAWPAW-Mirror/lib_xua
Disable single-threaded mic array processing for these examples. Remove the unnecessary definition of MIC_ARRAY_FRAME_SIZE.
This commit is contained in:
@@ -21,7 +21,6 @@
|
|||||||
#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 1 // Use single-threaded design with dual PDM microphones
|
#define MIC_DUAL_ENABLED 0 // Use multi-threaded design
|
||||||
#define MIC_ARRAY_FRAME_SIZE 240
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -26,7 +26,6 @@
|
|||||||
#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 1 // Use single-threaded design with dual PDM microphones
|
#define MIC_DUAL_ENABLED 0 // Use multi-threaded design
|
||||||
#define MIC_ARRAY_FRAME_SIZE 240
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -25,7 +25,6 @@
|
|||||||
#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 1 // Use single-threaded design with dual PDM microphones
|
#define MIC_DUAL_ENABLED 0 // Use multi-threaded design
|
||||||
#define MIC_ARRAY_FRAME_SIZE 240
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user