Skip to contentSkip to conversation

android: Add A2DP skeleton

PATCH Applied Luiz Augusto von Dentz 2 participants 2 messages Oct 21, 2013

Subsystems (2)
lore
Share & tools
lore

Luiz Augusto von Dentz

author maintainer
#0 lore raw

PATCH 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
index 8196583..f5a5834 100644
@@ -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
index 30b2169..87445ed 100644
@@ -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
index a548e48..d984336 100644
@@ -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
#1 lore raw

Hi Luiz,

Quoted 10 lines · Luiz Augusto von Dentz

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

Applied. Thanks.

Johan