XilinxProcessorIPLib/drivers/v_hdmirxss1/src/xv_hdmirxss1.c
void XV_HdmiRxSs1_ReportAudio(XV_HdmiRxSs1 *InstancePtr)
{
  xil_printf("Format   : ");
  switch (XV_HdmiRxSs1_GetAudioFormat(InstancePtr)) {
	  case 0:
		  xil_printf("Unknown\r\n");
		  break;
	  case 1:
		  xil_printf("L-PCM\r\n");
		  break;
	  case 2:
		  xil_printf("HBR\r\n");
		  break;
	  case 3:
		  xil_printf("3D\r\n");
	  default:
		  break;
  }
  xil_printf("Channels : %d\r\n",
  XV_HdmiRx1_GetAudioChannels(InstancePtr->HdmiRx1Ptr));
  xil_printf("ACR CTS  : %d\r\n",
		  XV_HdmiRx1_GetAcrCts(InstancePtr->HdmiRx1Ptr));
  xil_printf("ACR N    : %d\r\n",
		  XV_HdmiRx1_GetAcrN(InstancePtr->HdmiRx1Ptr));
}
/*****************************************************************************/
/**
*
* This function prints the HDMI RX SS audio information
*
* @param  None.
*
* @return None.
*
* @note   None.
*
******************************************************************************/
This function prints the HDMI RX SS audio information
This function prints the HDMI RX SS audio information
void XV_HdmiRxSs1_ReportAudio(XV_HdmiRxSs1 *InstancePtr)
{
  xil_printf("Format   : ");
  switch (XV_HdmiRxSs1_GetAudioFormat(InstancePtr)) {
	  case 0:
		  xil_printf("Unknown\r\n");
		  break;
	  case 1:
		  xil_printf("L-PCM\r\n");
		  break;
	  case 2:
		  xil_printf("HBR\r\n");
		  break;
	  case 3:
		  xil_printf("3D\r\n");
	  default:
		  break;
  }
  xil_printf("Channels : %d\r\n",
  XV_HdmiRx1_GetAudioChannels(InstancePtr->HdmiRx1Ptr));
  xil_printf("ACR CTS  : %d\r\n",
		  XV_HdmiRx1_GetAcrCts(InstancePtr->HdmiRx1Ptr));
  xil_printf("ACR N    : %d\r\n",
		  XV_HdmiRx1_GetAcrN(InstancePtr->HdmiRx1Ptr));
}
void XV_HdmiRxSs1_ReportAudio ( XV_HdmiRxSs1 * InstancePtr ) { xil_printf ( " " ) ; switch ( XV_HdmiRxSs1_GetAudioFormat ( InstancePtr ) ) { case 0 : xil_printf ( " \r \n " ) ; break ; case 1 : xil_printf ( " \r \n " ) ; break ; case 2 : xil_printf ( " \r \n " ) ; break ; case 3 : xil_printf ( " \r \n " ) ; default : break ; } xil_printf ( " \r \n " , XV_HdmiRx1_GetAudioChannels ( InstancePtr -> HdmiRx1Ptr ) ) ; xil_printf ( " \r \n " , XV_HdmiRx1_GetAcrCts ( InstancePtr -> HdmiRx1Ptr ) ) ; xil_printf ( " \r \n " , XV_HdmiRx1_GetAcrN ( InstancePtr -> HdmiRx1Ptr ) ) ; }
This function prints the HDMI RX SS audio information
This function prints the HDMI RX SS audio information