From 6763ebb3c231740c66a235f94d56e8d8cc213d90 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Sat, 11 Aug 2007 11:05:24 +0000 Subject: Integrate A2DP work from Johan's and Luiz's GIT trees --- audio/manager.h | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'audio/manager.h') diff --git a/audio/manager.h b/audio/manager.h index 79fe9090..9fbc4940 100644 --- a/audio/manager.h +++ b/audio/manager.h @@ -29,10 +29,25 @@ #define AUDIO_MANAGER_PATH "/org/bluez/audio" #define AUDIO_MANAGER_INTERFACE "org.bluez.audio.Manager" -int audio_init(DBusConnection *conn, gboolean no_hfp, gboolean sco_hci); +struct enabled_interfaces { + gboolean headset; + gboolean gateway; + gboolean sink; + gboolean source; + gboolean control; + gboolean target; +}; + +int audio_init(DBusConnection *conn, struct enabled_interfaces *enabled, + gboolean no_hfp, gboolean sco_hci); void audio_exit(void); +uint32_t add_service_record(DBusConnection *conn, sdp_buf_t *buf); +int remove_service_record(DBusConnection *conn, uint32_t rec_id); + struct device *manager_device_connected(bdaddr_t *bda); struct device *manager_default_device(); + +struct device *manager_get_connected_device(void); -- cgit