Trial add of PDM code

This commit is contained in:
Ross Owen
2015-09-22 11:15:05 +01:00
parent 0205adaa1d
commit be0bf0d983
4 changed files with 135 additions and 17 deletions

View File

@@ -696,6 +696,15 @@ unsigned static deliver(chanend c_out, chanend ?c_spd_out,
unsigned sample = samplesOut[SPDIF_TX_INDEX + 1];
outuint(c_spd_out, sample); /* Forward sample to S/PDIF Tx thread */
#endif
#ifdef PDM_PCM_IN
c_pdm_in <: 1;
c_pdm_in :> samplesIn_0[0];
c_pdm_in :> samplesIn_0[1];
#endif
}
@@ -1171,6 +1180,7 @@ chanend ?c_config, chanend ?c
outuint(c_spdif_out, mClk);
#endif
#ifdef ADAT_TX
// Configure ADAT parameters ...
//