summaryrefslogtreecommitdiffstats
path: root/include/hardware/bluetooth.h
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@google.com>2014-06-07 14:05:22 -0700
committerMike Lockwood <lockwood@google.com>2014-06-13 09:09:58 -0700
commit21e50b1898db68f9fdeb355b86f717ff342795bd (patch)
tree65ad98621bfe902aba7dcff249ff4fcb112c5971 /include/hardware/bluetooth.h
parent7da4cb8b6f9e99b1c003d8aada8a36c1ce977313 (diff)
downloadhardware_libhardware-21e50b1898db68f9fdeb355b86f717ff342795bd.zip
hardware_libhardware-21e50b1898db68f9fdeb355b86f717ff342795bd.tar.gz
hardware_libhardware-21e50b1898db68f9fdeb355b86f717ff342795bd.tar.bz2
Use separate HAL interfaces for A2DP source and sink roles.
Both use the same structs for APIs and callbacks, but now source and sink mode can operate independently with separate Bluetooth profile services in the framework. An extra callback btav_audio_config_callback is used for reporting audio configuration for A2DP sink role Change-Id: I6e8172b66ff95e61721d1c35790609b7ae2be030
Diffstat (limited to 'include/hardware/bluetooth.h')
-rw-r--r--include/hardware/bluetooth.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hardware/bluetooth.h b/include/hardware/bluetooth.h
index 90f457b..19c3410 100644
--- a/include/hardware/bluetooth.h
+++ b/include/hardware/bluetooth.h
@@ -40,6 +40,7 @@ __BEGIN_DECLS
#define BT_PROFILE_HANDSFREE_ID "handsfree"
#define BT_PROFILE_HANDSFREE_CLIENT_ID "handsfree_client"
#define BT_PROFILE_ADVANCED_AUDIO_ID "a2dp"
+#define BT_PROFILE_ADVANCED_AUDIO_SINK_ID "a2dp_sink"
#define BT_PROFILE_HEALTH_ID "health"
#define BT_PROFILE_SOCKETS_ID "socket"
#define BT_PROFILE_HIDHOST_ID "hidhost"