AnsweredAssumed Answered

spdif loopback example for sharc

Question asked by ThierryNolf on Dec 10, 2015
Latest reply on Dec 16, 2015 by SachinV

Dear all,

 

In the SPDIF loopback example for the sharc processor there is a problem in the spdif_loopback.c file.

 

At line 534 and 540 in the SpdifInit function the validity bit for the Tx is set to one by calling the function :

adi_spdif_Tx_SetClearValidityBitA(phTxSpdif, true).

Cfr the spec, the validity bit that is indicating if the audio samples are valid, should be zero (0) for a sample that may be used for the receiver, and the sample may not be used by the receiver if this bit is set.  I know it is confusing but it is the spec, and some receivers do take this bit into account !

So this line should be changed in :

adi_spdif_Tx_SetClearValidityBitA(phTxSpdif, false).

to be conform the spec.

 

Best regards,

 

Thierry N.

Outcomes