Loading include/system/radio.h +4 −1 Original line number Diff line number Diff line Loading @@ -94,6 +94,7 @@ typedef struct radio_hal_fm_band_config { radio_rds_t rds; /* RDS variants supported */ bool ta; /* Traffic Announcement supported */ bool af; /* Alternate Frequency supported */ bool ea; /* Emergency announcements supported */ } radio_hal_fm_band_config_t; /* Additional attributes for an AM band configuration */ Loading Loading @@ -184,6 +185,7 @@ enum { RADIO_EVENT_METADATA = 4, /* New meta data received */ RADIO_EVENT_TA = 5, /* Traffic announcement start or stop */ RADIO_EVENT_AF_SWITCH = 6, /* Switch to Alternate Frequency */ RADIO_EVENT_EA = 7, /* Emergency announcement start or stop */ // begin framework only events RADIO_EVENT_CONTROL = 100, /* loss/gain of tuner control */ RADIO_EVENT_SERVER_DIED = 101, /* radio service died */ Loading @@ -195,7 +197,8 @@ typedef struct radio_hal_event { radio_event_type_t type; /* event type */ int status; /* used by RADIO_EVENT_CONFIG, RADIO_EVENT_TUNED */ union { bool on; /* RADIO_EVENT_ANTENNA, RADIO_EVENT_TA */ /* RADIO_EVENT_ANTENNA, RADIO_EVENT_TA, RADIO_EVENT_EA */ bool on; radio_hal_band_config_t config; /* RADIO_EVENT_CONFIG */ radio_program_info_t info; /* RADIO_EVENT_TUNED, RADIO_EVENT_AF_SWITCH */ radio_metadata_t *metadata; /* RADIO_EVENT_METADATA */ Loading Loading
include/system/radio.h +4 −1 Original line number Diff line number Diff line Loading @@ -94,6 +94,7 @@ typedef struct radio_hal_fm_band_config { radio_rds_t rds; /* RDS variants supported */ bool ta; /* Traffic Announcement supported */ bool af; /* Alternate Frequency supported */ bool ea; /* Emergency announcements supported */ } radio_hal_fm_band_config_t; /* Additional attributes for an AM band configuration */ Loading Loading @@ -184,6 +185,7 @@ enum { RADIO_EVENT_METADATA = 4, /* New meta data received */ RADIO_EVENT_TA = 5, /* Traffic announcement start or stop */ RADIO_EVENT_AF_SWITCH = 6, /* Switch to Alternate Frequency */ RADIO_EVENT_EA = 7, /* Emergency announcement start or stop */ // begin framework only events RADIO_EVENT_CONTROL = 100, /* loss/gain of tuner control */ RADIO_EVENT_SERVER_DIED = 101, /* radio service died */ Loading @@ -195,7 +197,8 @@ typedef struct radio_hal_event { radio_event_type_t type; /* event type */ int status; /* used by RADIO_EVENT_CONFIG, RADIO_EVENT_TUNED */ union { bool on; /* RADIO_EVENT_ANTENNA, RADIO_EVENT_TA */ /* RADIO_EVENT_ANTENNA, RADIO_EVENT_TA, RADIO_EVENT_EA */ bool on; radio_hal_band_config_t config; /* RADIO_EVENT_CONFIG */ radio_program_info_t info; /* RADIO_EVENT_TUNED, RADIO_EVENT_AF_SWITCH */ radio_metadata_t *metadata; /* RADIO_EVENT_METADATA */ Loading