summaryrefslogtreecommitdiffstats
path: root/audio/headset.h
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2007-06-27 16:58:19 +0000
committerLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2007-06-27 16:58:19 +0000
commitc205cc889023e733e56365e82dfbaad2d2b46942 (patch)
tree024db00ebd72454fb25b90dc18a5ae5bfb6e5093 /audio/headset.h
parentbd0bc214372e275311872d1585180ad4604adfe4 (diff)
Make headset also connect rfcomm when it demands, remove asserts and some code cleanups.
Diffstat (limited to 'audio/headset.h')
-rw-r--r--audio/headset.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/audio/headset.h b/audio/headset.h
index 470fddc8..8ef08249 100644
--- a/audio/headset.h
+++ b/audio/headset.h
@@ -55,7 +55,7 @@ typedef enum {
struct headset;
struct headset *headset_init(void *device, sdp_record_t *record,
- uint16_t svc);
+ uint16_t svc, int channel);
void headset_free(void *device);
@@ -71,3 +71,5 @@ int headset_close_rfcomm(void *device);
headset_state_t headset_get_state(void *device);
void headset_set_state(void *device, headset_state_t state);
+
+int headset_get_channel(void *device);