Fix non PDM mic builds

Guard initial PDM mic channel access.
This commit is contained in:
Sam Chesney
2017-02-24 13:30:24 +00:00
parent 4ed791bb04
commit df59ac2e56

View File

@@ -521,6 +521,7 @@ unsigned static deliver(chanend c_out, chanend ?c_spd_out,
#endif /* (AUD_TO_USB_RATIO > 1) */
#if (NUM_PDM_MICS > 0)
/* Get initial samples from PDM->PCM converter to avoid stalling the decimators */
c_pdm_pcm <: 1;
master
@@ -531,6 +532,7 @@ unsigned static deliver(chanend c_out, chanend ?c_spd_out,
c_pdm_pcm :> samplesIn[readBuffNo][i];
}
}
#endif // (NUM_PDM_MICS > 0)
UserBufferManagementInit(i_audMan);