android: Add A2DP skeleton
Subsystems (2)
Luiz Augusto von Dentz
maintainerPATCH v2 1/1 android: Add A2DP skeleton
From: Luiz Augusto von Dentz <[email protected]>
This adds initial skeleton for A2DP Android HAL.
---
v2: Adds hal-av.c to Android.mk
Makefile.android | 2 ++ android/Android.mk | 1 + android/hal-av.c | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ android/hal.h | 2 ++ 4 files changed, 99 insertions(+) create mode 100644 android/hal-av.c
Makefile.android +2 -0
@@ -18,6 +18,7 @@ android_libhal_internal_la_SOURCES = android/hal.h android/hal-bluetooth.c \ android/hal-sock.c \ android/hal-hidhost.c \ android/hal-pan.c \ + android/hal-av.c \ android/hardware/bluetooth.h \ android/hardware/bt_av.h \ android/hardware/bt_gatt.h \
@@ -61,6 +62,7 @@ EXTRA_DIST += android/hal-bluetooth.c \ android/hal-sock.c \ android/hal-hidhost.c \ android/hal-pan.c \ + android/hal-av.c \ android/hal-log.h EXTRA_DIST += android/client/terminal.c \
android/Android.mk +1 -0
@@ -55,6 +55,7 @@ LOCAL_SRC_FILES := \ hal-sock.c \ hal-hidhost.c \ hal-pan.c \ + hal-av.c \ LOCAL_SHARED_LIBRARIES := \ libcutils \
android/hal-av.c new file +94 -0
94 lines not on this page · raw message
android/hal.h +2 -0
@@ -18,7 +18,9 @@#include <hardware/bt_sock.h> #include <hardware/bt_hh.h> #include <hardware/bt_pan.h> +#include <hardware/bt_av.h> btsock_interface_t *bt_get_sock_interface (void );bthh_interface_t *bt_get_hidhost_interface (void );btpan_interface_t *bt_get_pan_interface (void ); +btav_interface_t *bt_get_av_interface (void );
Signature · 1 line
1.8.3.1
Johan Hedberg
AppliedHi Luiz,
Quoted 10 lines · Luiz Augusto von Dentz
This adds initial skeleton for A2DP Android HAL.
---
v2: Addshal-av.cto Android.mkMakefile.android | 2 ++ android/Android.mk | 1 + android/hal-av.c | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ android/hal.h | 2 ++ 4 files changed, 99 insertions(+) create mode 100644 android/hal-av.c
Applied. Thanks.
Johan