/* USBH_AUDIO_Process The function is for managing state machine for Audio data transfers.  */
static USBH_StatusTypeDef USBH_AUDIO_Process(USBH_HandleTypeDef *phost)
/* USBH_AUDIO_Process The function is for managing state machine for Audio data transfers.  */
static USBH_StatusTypeDef USBH_AUDIO_Process(USBH_HandleTypeDef *phost)
{
  USBH_StatusTypeDef status = USBH_BUSY;
  AUDIO_HandleTypeDef *AUDIO_Handle = (AUDIO_HandleTypeDef *)  phost->pActiveClass->pData;
  if (AUDIO_Handle->headphone.supported == 1U)
  {
    (void)USBH_AUDIO_OutputStream(phost);
  }
  if (AUDIO_Handle->microphone.supported == 1U)
  {
    (void)USBH_AUDIO_InputStream(phost);
  }
  return status;
}