XilinxProcessorIPLib/drivers/v_sdirxss/examples/vck190_av_pt/xuhdsdi_example.c
void XSdiEnableSDIAudioPassThrough(XSdiAud_SampRate SampleRate, u32 Asx)
{
	XSdiVid_Transport *RxTransport;
	XSdiAud_Emb_Vid_Props AudEmbVidProps;

	/* Enable 32-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, Asx);
	XSdiAud_Emb_SetSmpSize(&SdiEmbed, 1);
	XSdiAud_Emb_SetSmpRate(&SdiEmbed, SampleRate);
	XSdiAud_SetCh(&SdiEmbed, 0xFFFFFFFF);
	XSdiAud_Enable(&SdiEmbed, 1);

	/* Enable 32-Channel SDI Audio Extract */
	XSdiAud_SetCh(&SdiExtract, 0xFFFFFFFF);
	XSdiAud_Enable(&SdiExtract, 1);
}
/*****************************************************************************/
/**
 *
 * This function enables the SDI Audio Pass-Through Path (Audio extracted
 * from SDI RX is embedded back on to SDI TX)
 *
 * @return	None.
 *
 * @note	None.
 *
 ******************************************************************************/
This function enables the SDI Audio Pass-Through Path (Audio extracted
from SDI RX is embedded back on to SDI TX)

@return      None.

@note        None.
This function enables the SDI Audio Pass - Through Path ( Audio extracted from SDI RX is embedded back on to SDI TX ) @return None . @note None .
void XSdiEnableSDIAudioPassThrough(XSdiAud_SampRate SampleRate, u32 Asx)
{
	XSdiVid_Transport *RxTransport;
	XSdiAud_Emb_Vid_Props AudEmbVidProps;
	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, Asx);
	XSdiAud_Emb_SetSmpSize(&SdiEmbed, 1);
	XSdiAud_Emb_SetSmpRate(&SdiEmbed, SampleRate);
	XSdiAud_SetCh(&SdiEmbed, 0xFFFFFFFF);
	XSdiAud_Enable(&SdiEmbed, 1);
	XSdiAud_SetCh(&SdiExtract, 0xFFFFFFFF);
	XSdiAud_Enable(&SdiExtract, 1);
}
void XSdiEnableSDIAudioPassThrough ( XSdiAud_SampRate SampleRate , u32 Asx ) { XSdiVid_Transport * RxTransport ; XSdiAud_Emb_Vid_Props AudEmbVidProps ; 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 , Asx ) ; XSdiAud_Emb_SetSmpSize ( & SdiEmbed , 1 ) ; XSdiAud_Emb_SetSmpRate ( & SdiEmbed , SampleRate ) ; XSdiAud_SetCh ( & SdiEmbed , 0xFFFFFFFF ) ; XSdiAud_Enable ( & SdiEmbed , 1 ) ; XSdiAud_SetCh ( & SdiExtract , 0xFFFFFFFF ) ; XSdiAud_Enable ( & SdiExtract , 1 ) ; }
This function enables the SDI Audio Pass-Through Path (Audio extracted
 from SDI RX is embedded back on to SDI TX)
This function enables the SDI Audio Pass - Through Path ( Audio extracted from SDI RX is embedded back on to SDI TX )
/* Enable 32-Channel SDI Audio Embed */ /* Enable 32-Channel SDI Audio Extract */