Effective in 2026, to align with our trunk stable development model and ensure platform stability for the ecosystem, we will publish source code to AOSP in Q2 and Q4. For building and contributing to AOSP, we recommend utilizing android-latest-release instead of aosp-main. The android-latest-release manifest branch will always reference the most recent release pushed to AOSP. For more information, see Changes to AOSP.
Stay organized with collections
Save and categorize content based on your preferences.
btav_interface_t Struct Reference
#include <
bt_av.h
>
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.
Definition at line
82
of file
bt_av.h
.
Closes the interface.
Definition at line
98
of file
bt_av.h
.
connect to headset
Definition at line
92
of file
bt_av.h
.
dis-connect from headset
Definition at line
95
of file
bt_av.h
.
Register the BtAv callbacks
Definition at line
89
of file
bt_av.h
.
|
void(* set_audio_focus_state)(int focus_state)
|
Sends Audio Focus State.
Definition at line
101
of file
bt_av.h
.
|
void(* set_audio_track_gain)(float gain)
|
Sets the audio track gain.
Definition at line
104
of file
bt_av.h
.
set to sizeof(btav_interface_t)
Definition at line
85
of file
bt_av.h
.
The documentation for this struct was generated from the following file:
-
hardware/libhardware/include/hardware/
bt_av.h
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2019-10-02 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2019-10-02 UTC."],[],[]]