XilinxProcessorIPLib/drivers/v_hdmitxss/examples/xhdmi_example/I2S/xhdmi_example.c
void TxStreamDownCallback(void *CallbackRef) {
#ifdef XPAR_XI2SRX_NUM_INSTANCES
	tx_is_up = 0;
#endif
	/* If the system in the Pass-through
	 * reset the AUX FIFO
	 */
	if (IsPassThrough) {
		ResetAuxFifo();
#ifdef XPAR_XV_HDMIRXSS_NUM_INSTANCES
		/* Mute/Stop the HDMI RX SS Output
		 * Enable only when the downstream is ready
		 * (TPG & HDMI TX)
		 */
		XV_HdmiRxSs_VRST(&HdmiRxSs,TRUE);
#endif
	}

	xil_printf("TX stream is down\r\n");

#ifdef USE_HDCP
	/* Call HDCP stream-down callback */
	XHdcp_StreamDownCallback(&HdcpRepeater);
#endif
}
/*****************************************************************************/
/**
*
* This function is called when the TX stream is down.
*
* @param  None.
*
* @return None.
*
* @note   None.
*
******************************************************************************/
This function is called when the TX stream is down.
This function is called when the TX stream is down .
void TxStreamDownCallback(void *CallbackRef) {
#ifdef XPAR_XI2SRX_NUM_INSTANCES
	tx_is_up = 0;
#endif
	if (IsPassThrough) {
		ResetAuxFifo();
#ifdef XPAR_XV_HDMIRXSS_NUM_INSTANCES
		XV_HdmiRxSs_VRST(&HdmiRxSs,TRUE);
#endif
	}
	xil_printf("TX stream is down\r\n");
#ifdef USE_HDCP
	XHdcp_StreamDownCallback(&HdcpRepeater);
#endif
}
void TxStreamDownCallback ( void * CallbackRef ) { #ifdef XPAR_XI2SRX_NUM_INSTANCES tx_is_up = 0 ; #endif if ( IsPassThrough ) { ResetAuxFifo ( ) ; #ifdef XPAR_XV_HDMIRXSS_NUM_INSTANCES XV_HdmiRxSs_VRST ( & HdmiRxSs , TRUE ) ; #endif } xil_printf ( " \r \n " ) ; #ifdef USE_HDCP XHdcp_StreamDownCallback ( & HdcpRepeater ) ; #endif }
This function is called when the TX stream is down.
This function is called when the TX stream is down .
/* If the system in the Pass-through
	 * reset the AUX FIFO
	 */ /* Mute/Stop the HDMI RX SS Output
		 * Enable only when the downstream is ready
		 * (TPG & HDMI TX)
		 */ /* Call HDCP stream-down callback */