btav_interface_t Struct Reference
btav_interface_t Struct Reference
#include <
bt_av.h
>
Data Fields |
|
size_t | size |
bt_status_t (* | init )( btav_callbacks_t *callbacks) |
bt_status_t (* | connect )(bt_bdaddr_t *bd_addr) |
bt_status_t (* | disconnect )(bt_bdaddr_t *bd_addr) |
void(* | cleanup )(void) |
void(* | set_audio_focus_state )(int focus_state) |
void(* | set_audio_track_gain )(float gain) |
Detailed Description
NOTE:
- AVRCP 1.0 shall be supported initially. AVRCP passthrough commands shall be handled internally via uinput
- A2DP data path shall be handled via a socket pipe between the AudioFlinger android_audio_hw library and the Bluetooth stack.Represents the standard BT-AV interface. Used for both the A2DP source and sink interfaces.
Field Documentation
bt_status_t (* connect)(bt_bdaddr_t *bd_addr) |
bt_status_t (* disconnect)(bt_bdaddr_t *bd_addr) |
bt_status_t (* init)( btav_callbacks_t *callbacks) |
void(* set_audio_focus_state)(int focus_state) |
void(* set_audio_track_gain)(float gain) |
The documentation for this struct was generated from the following file:
- hardware/libhardware/include/hardware/ bt_av.h