Tidy up mic integration into deliver()

This commit is contained in:
Ross Owen
2015-10-30 11:50:59 +00:00
parent 11c43920ee
commit ca657877e9

View File

@@ -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];
} }