btrc_interface_t Struct Reference
btrc_interface_t Struct Reference
#include <
bt_rc.h
>
Data Fields |
|
size_t | size |
bt_status_t (* | init )( btrc_callbacks_t *callbacks) |
bt_status_t (* | get_play_status_rsp )( btrc_play_status_t play_status, uint32_t song_len, uint32_t song_pos) |
bt_status_t (* | list_player_app_attr_rsp )(int num_attr, btrc_player_attr_t *p_attrs) |
bt_status_t (* | list_player_app_value_rsp )(int num_val, uint8_t *p_vals) |
bt_status_t (* | get_player_app_value_rsp )( btrc_player_settings_t *p_vals) |
bt_status_t (* | get_player_app_attr_text_rsp )(int num_attr, btrc_player_setting_text_t *p_attrs) |
bt_status_t (* | get_player_app_value_text_rsp )(int num_val, btrc_player_setting_text_t *p_vals) |
bt_status_t (* | get_element_attr_rsp )(uint8_t num_attr, btrc_element_attr_val_t *p_attrs) |
bt_status_t (* | set_player_app_value_rsp )( btrc_status_t rsp_status) |
bt_status_t (* | register_notification_rsp )( btrc_event_id_t event_id, btrc_notification_type_t type, btrc_register_notification_t *p_param) |
bt_status_t (* | set_volume )(uint8_t volume) |
void(* | cleanup )(void) |
Detailed Description
Field Documentation
bt_status_t (* get_element_attr_rsp)(uint8_t num_attr, btrc_element_attr_val_t *p_attrs) |
bt_status_t (* get_play_status_rsp)( btrc_play_status_t play_status, uint32_t song_len, uint32_t song_pos) |
bt_status_t (* get_player_app_attr_text_rsp)(int num_attr, btrc_player_setting_text_t *p_attrs) |
bt_status_t (* get_player_app_value_rsp)( btrc_player_settings_t *p_vals) |
bt_status_t (* get_player_app_value_text_rsp)(int num_val, btrc_player_setting_text_t *p_vals) |
bt_status_t (* init)( btrc_callbacks_t *callbacks) |
bt_status_t (* list_player_app_attr_rsp)(int num_attr, btrc_player_attr_t *p_attrs) |
bt_status_t (* list_player_app_value_rsp)(int num_val, uint8_t *p_vals) |
bt_status_t (* register_notification_rsp)( btrc_event_id_t event_id, btrc_notification_type_t type, btrc_register_notification_t *p_param) |
bt_status_t (* set_player_app_value_rsp)( btrc_status_t rsp_status) |
bt_status_t (* set_volume)(uint8_t volume) |
Send current volume setting to remote side. Support limited to SetAbsoluteVolume This can be enhanced to support Relative Volume (AVRCP 1.0). With RelateVolume, we will send VOLUME_UP/VOLUME_DOWN opposed to absolute volume level volume: Should be in the range 0-127. bit7 is reseved and cannot be set
The documentation for this struct was generated from the following file:
- hardware/libhardware/include/hardware/ bt_rc.h