al_ews_monitor.h 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /**
  2. * Copyright(c) 2011 Sunmedia Technologies - All Rights Reserved.
  3. *
  4. * @file al_ews_monitor.h
  5. *
  6. * @brief this file defines ews monitor function.
  7. *
  8. * The file supports the ews monitor functions by used for app layer.
  9. * The ews monitor monitor Announcement support descriptor and Adaptation field data descriptor,
  10. * notify special audio monitor af flag to change audio or service
  11. *
  12. */
  13. #ifndef __AL_EWS_MONITOR_H__
  14. #define __AL_EWS_MONITOR_H__
  15. #include "al_basictypes.h"
  16. #include "dvb_dr_dvb.h"
  17. #ifdef __cplusplus
  18. extern "C"{
  19. #endif
  20. /**
  21. * @brief get anouncement data.
  22. *
  23. * Get anouncement data for change audio.
  24. *
  25. * @ param pAncmData[output] anouncement data.
  26. *
  27. * @return AL_SUCCESS is successful, AL_FAILURE otherwise.
  28. */
  29. AL_Return_t AL_EWS_Monitor_GetData(dvbpsi_anouncement_t *pAncmData);
  30. /**
  31. * @brief reset anouncement data.
  32. *
  33. * Reset anouncement data for change channel and so on.
  34. *
  35. * @ param None.
  36. *
  37. * @return AL_SUCCESS is successful, AL_FAILURE otherwise.
  38. */
  39. AL_Return_t AL_EWS_Monitor_ResetData(al_void);
  40. #ifdef __cplusplus
  41. }
  42. #endif
  43. #endif