forked from PAWPAW-Mirror/lib_xua
NUM_PDM_MICS -> XUA_NUM_PDM_MICS
This commit is contained in:
@@ -52,7 +52,7 @@ void XUA_AudioHub(chanend ?c_aud,
|
||||
#if (XUD_TILE != 0) && (AUDIO_IO_TILE == 0) && (XUA_DFU_EN == 1)
|
||||
, server interface i_dfu ?dfuInterface
|
||||
#endif
|
||||
#if (NUM_PDM_MICS > 0)
|
||||
#if (XUA_NUM_PDM_MICS > 0)
|
||||
, chanend c_pdm_in
|
||||
#endif
|
||||
);
|
||||
|
||||
@@ -278,15 +278,15 @@
|
||||
/**
|
||||
* @brief Number of PDM microphones in the design. Default: None
|
||||
*/
|
||||
#ifndef NUM_PDM_MICS
|
||||
#define NUM_PDM_MICS (0)
|
||||
#ifndef XUA_NUM_PDM_MICS
|
||||
#define XUA_NUM_PDM_MICS (0)
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief PDM Microphone first channel index, defines which channels microphones will be input on.
|
||||
* Note, indexed from 0.
|
||||
*
|
||||
* Default: 0 (i.e. channels [0:NUM_PDM_MICS-1])
|
||||
* Default: 0 (i.e. channels [0:XUA_NUM_PDM_MICS-1])
|
||||
* */
|
||||
#ifndef PDM_MIC_INDEX
|
||||
#define PDM_MIC_INDEX (0)
|
||||
|
||||
Reference in New Issue
Block a user