XilinxProcessorIPLib/drivers/v_sdirxss/examples/vck190_av_pt/xuhdsdi_example.c
void XSdiEnableAESAudioCapture(void)
{
	XSdiVid_Transport *RxTransport;
	XSdiAud_Emb_Vid_Props AudEmbVidProps;

	/* Enable interrupt to detect change in channel status (to re-config sample rate in audio embed*/
	XSdiAud_IntrEnable(&SdiEmbed, XSDIAUD_INT_ST_AES_CS_CHANGE_MASK);

	/* Enable 2-Channel SDI Audio Embed */
	RxTransport = XV_SdiRxSs_GetTransport(&SdiRxSs);
	AudEmbVidProps.XSdiAud_TFamily = RxTransport->TFamily;
	AudEmbVidProps.XSdiAud_TRate = RxTransport->TRate;
	AudEmbVidProps.XSdiAud_TScan = RxTransport->TScan;
	XSdiAud_Emb_SetVidProps(&SdiEmbed, &AudEmbVidProps);
	XSdiAud_Emb_SetAsx(&SdiEmbed, 1);
	XSdiAud_Emb_SetSmpSize(&SdiEmbed, 1);
	XSdiAud_Emb_SetSmpRate(&SdiEmbed, XSDIAUD_SMPLRATE_48);
	XSdiAud_SetCh(&SdiEmbed, 0x3);
	XSdiAud_Enable(&SdiEmbed, 1);
}
/*****************************************************************************/
/**
 *
 * This function configures the AES Audio Capture Path (Audio captured from
 * SPDIF RX is embedded on to SDI TX)
 *
 * @return	None.
 *
 * @note	None.
 *
 ******************************************************************************/
This function configures the AES Audio Capture Path (Audio captured from
SPDIF RX is embedded on to SDI TX)

@return      None.

@note        None.
This function configures the AES Audio Capture Path ( Audio captured from SPDIF RX is embedded on to SDI TX ) @return None . @note None .
void XSdiEnableAESAudioCapture(void)
{
	XSdiVid_Transport *RxTransport;
	XSdiAud_Emb_Vid_Props AudEmbVidProps;
	XSdiAud_IntrEnable(&SdiEmbed, XSDIAUD_INT_ST_AES_CS_CHANGE_MASK);
	RxTransport = XV_SdiRxSs_GetTransport(&SdiRxSs);
	AudEmbVidProps.XSdiAud_TFamily = RxTransport->TFamily;
	AudEmbVidProps.XSdiAud_TRate = RxTransport->TRate;
	AudEmbVidProps.XSdiAud_TScan = RxTransport->TScan;
	XSdiAud_Emb_SetVidProps(&SdiEmbed, &AudEmbVidProps);
	XSdiAud_Emb_SetAsx(&SdiEmbed, 1);
	XSdiAud_Emb_SetSmpSize(&SdiEmbed, 1);
	XSdiAud_Emb_SetSmpRate(&SdiEmbed, XSDIAUD_SMPLRATE_48);
	XSdiAud_SetCh(&SdiEmbed, 0x3);
	XSdiAud_Enable(&SdiEmbed, 1);
}
void XSdiEnableAESAudioCapture ( void ) { XSdiVid_Transport * RxTransport ; XSdiAud_Emb_Vid_Props AudEmbVidProps ; XSdiAud_IntrEnable ( & SdiEmbed , XSDIAUD_INT_ST_AES_CS_CHANGE_MASK ) ; RxTransport = XV_SdiRxSs_GetTransport ( & SdiRxSs ) ; AudEmbVidProps . XSdiAud_TFamily = RxTransport -> TFamily ; AudEmbVidProps . XSdiAud_TRate = RxTransport -> TRate ; AudEmbVidProps . XSdiAud_TScan = RxTransport -> TScan ; XSdiAud_Emb_SetVidProps ( & SdiEmbed , & AudEmbVidProps ) ; XSdiAud_Emb_SetAsx ( & SdiEmbed , 1 ) ; XSdiAud_Emb_SetSmpSize ( & SdiEmbed , 1 ) ; XSdiAud_Emb_SetSmpRate ( & SdiEmbed , XSDIAUD_SMPLRATE_48 ) ; XSdiAud_SetCh ( & SdiEmbed , 0x3 ) ; XSdiAud_Enable ( & SdiEmbed , 1 ) ; }
This function configures the AES Audio Capture Path (Audio captured from
 SPDIF RX is embedded on to SDI TX)
This function configures the AES Audio Capture Path ( Audio captured from SPDIF RX is embedded on to SDI TX )
/* Enable interrupt to detect change in channel status (to re-config sample rate in audio embed*/ /* Enable 2-Channel SDI Audio Embed */