From 04efa14f48878cd1c1a31afc106f782fc97277a0 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Thu, 31 May 2007 09:23:17 +0000 Subject: Bring the audio code up-to-date with the current API spec --- audio/headset.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'audio/headset.h') diff --git a/audio/headset.h b/audio/headset.h index 3ccbf8b2..c02f36a3 100644 --- a/audio/headset.h +++ b/audio/headset.h @@ -33,11 +33,16 @@ typedef struct headset headset_t; -headset_t *headset_init(const char *object_path, sdp_record_t *record); +headset_t *headset_init(const char *object_path, sdp_record_t *record, + uint16_t svc); + +void headset_free(const char *object_path); + +void headset_update(headset_t *headset, sdp_record_t *record, uint16_t svc); gboolean headset_is_connected(headset_t *headset); -int headset_server_init(DBusConnection *conn); +int headset_server_init(DBusConnection *conn, gboolean disable_hfp); void headset_exit(void); -- cgit