XilinxProcessorIPLib/drivers/v_hdmirxss/src/xv_hdmirxss.c
static void XV_HdmiRxSs_ReportAudio(XV_HdmiRxSs *InstancePtr)
{
  xil_printf("Format   : ");
  switch (XV_HdmiRxSs_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");
		break;
	  default:
		break;
  }
  xil_printf("Channels : %d\r\n",
  XV_HdmiRx_GetAudioChannels(InstancePtr->HdmiRxPtr));
  xil_printf("ACR CTS  : %d\r\n", XV_HdmiRx_GetAcrCts(InstancePtr->HdmiRxPtr));
  xil_printf("ACR N    : %d\r\n", XV_HdmiRx_GetAcrN(InstancePtr->HdmiRxPtr));
}
/*****************************************************************************/
/**
*
* 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
static void XV_HdmiRxSs_ReportAudio(XV_HdmiRxSs *InstancePtr)
{
  xil_printf("Format   : ");
  switch (XV_HdmiRxSs_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");
		break;
	  default:
		break;
  }
  xil_printf("Channels : %d\r\n",
  XV_HdmiRx_GetAudioChannels(InstancePtr->HdmiRxPtr));
  xil_printf("ACR CTS  : %d\r\n", XV_HdmiRx_GetAcrCts(InstancePtr->HdmiRxPtr));
  xil_printf("ACR N    : %d\r\n", XV_HdmiRx_GetAcrN(InstancePtr->HdmiRxPtr));
}
static void XV_HdmiRxSs_ReportAudio ( XV_HdmiRxSs * InstancePtr ) { xil_printf ( " " ) ; switch ( XV_HdmiRxSs_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 " ) ; break ; default : break ; } xil_printf ( " \r \n " , XV_HdmiRx_GetAudioChannels ( InstancePtr -> HdmiRxPtr ) ) ; xil_printf ( " \r \n " , XV_HdmiRx_GetAcrCts ( InstancePtr -> HdmiRxPtr ) ) ; xil_printf ( " \r \n " , XV_HdmiRx_GetAcrN ( InstancePtr -> HdmiRxPtr ) ) ; }
This function prints the HDMI RX SS audio information
This function prints the HDMI RX SS audio information