forked from PAWPAW-Mirror/lib_xua
Removed 32kHz support when PDM mics enabled (lib_mic_array supports integer decimation factors only)
This commit is contained in:
@@ -874,7 +874,11 @@ int AudioClassRequests_2(XUD_ep ep0_out, XUD_ep ep0_in, USB_SetupPacket_t &sp, c
|
||||
}
|
||||
#endif
|
||||
/* Special case for some low sample rates */
|
||||
unsigned lowSampleRateList[] = {8000, 11025, 12000, 16000, 32000};
|
||||
unsigned lowSampleRateList[] = {8000, 11025, 12000, 16000,
|
||||
#if (NUM_PDM_MICS == 0)
|
||||
32000
|
||||
#endif
|
||||
};
|
||||
|
||||
for (int k = 0; k < sizeof(lowSampleRateList)/sizeof(unsigned); k++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user