Fixed issue with TDM and S/PDIF Tx

This commit is contained in:
Ross Owen
2014-12-02 14:07:50 +00:00
parent ee0c69c50f
commit 7ac0e87e0b

View File

@@ -585,6 +585,8 @@ chanend ?c_adc)
} }
#endif #endif
if(frameCount == 0)
{
#if defined(SPDIF_RX) || defined(ADAT_RX) #if defined(SPDIF_RX) || defined(ADAT_RX)
/* Sync with clockgen */ /* Sync with clockgen */
@@ -617,8 +619,7 @@ chanend ?c_adc)
sample = samplesOut[SPDIF_TX_INDEX + 1]; sample = samplesOut[SPDIF_TX_INDEX + 1];
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
}
#ifndef CODEC_MASTER #ifndef CODEC_MASTER
#ifdef I2S_MODE_TDM #ifdef I2S_MODE_TDM