forked from PAWPAW-Mirror/lib_xua
Revert "Removed 32kHz support when PDM mics enabled (lib_mic_array supports integer decimation factors only)"
This reverts commit 2ae99f11e6.
This commit is contained in:
@@ -2227,11 +2227,9 @@ const unsigned num_freqs_a1 = MAX(3, (0
|
||||
#if(MIN_FREQ <= 16000) && (MAX_FREQ_FS >= 16000)
|
||||
+1
|
||||
#endif
|
||||
#if (NUM_PDM_MICS == 0)
|
||||
#if(MIN_FREQ <= 32000) && (MAX_FREQ_FS >= 32000)
|
||||
+1
|
||||
#endif
|
||||
#endif
|
||||
#if (MIN_FREQ <= 44100) && (MAX_FREQ_FS >= 44100)
|
||||
+1
|
||||
#endif
|
||||
@@ -2457,11 +2455,9 @@ unsigned char cfgDesc_Audio1[] =
|
||||
CHARIFY_SR(16000), /* sampleFreq - 16KHz */
|
||||
#endif
|
||||
|
||||
#if (NUM_PDM_MICS == 0)
|
||||
#if(MIN_FREQ <= 32000) && (MAX_FREQ_FS >= 32000)
|
||||
CHARIFY_SR(32000), /* sampleFreq - 32KHz */
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if (MIN_FREQ <= 44100) && (MAX_FREQ_FS >= 44100)
|
||||
0x44, 0xAC, 0x00, /* sampleFreq - 44.1Khz */
|
||||
@@ -2587,11 +2583,9 @@ unsigned char cfgDesc_Audio1[] =
|
||||
CHARIFY_SR(16000), /* sampleFreq - 32KHz */
|
||||
#endif
|
||||
|
||||
#if (NUM_PDM_MICS == 0)
|
||||
#if(MIN_FREQ <= 32000) && (MAX_FREQ_FS >= 32000)
|
||||
CHARIFY_SR(32000), /* sampleFreq - 32KHz */
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if (MIN_FREQ <= 44100) && (MAX_FREQ_FS >= 44100)
|
||||
0x44, 0xAC, 0x00, /* sampleFreq - 44.1Khz */
|
||||
|
||||
Reference in New Issue
Block a user