forked from PAWPAW-Mirror/lib_xua
Tidy up mic integration into deliver()
This commit is contained in:
@@ -698,12 +698,10 @@ unsigned static deliver(chanend c_out, chanend ?c_spd_out,
|
|||||||
outuint(c_spd_out, sample); /* Forward sample to S/PDIF Tx thread */
|
outuint(c_spd_out, sample); /* Forward sample to S/PDIF Tx thread */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef PDM_PCM_IN
|
#if (NUM_PDM_MICS > 0)
|
||||||
/* Request samples from PDM->PCM comverter */
|
/* Get samples from PDM->PCM comverter */
|
||||||
//c_pdm_pcm <: 1;
|
|
||||||
|
|
||||||
#pragma loop unroll
|
#pragma loop unroll
|
||||||
for(int i = 0; i < 8 /*NUM_PDM_MICS*/; i++)
|
for(int i = 0; i < NUM_PDM_MICS; i++)
|
||||||
{
|
{
|
||||||
c_pdm_pcm :> samplesIn_0[i];
|
c_pdm_pcm :> samplesIn_0[i];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user