From e32c8dcd38b8e2282559a325c59fd6b7fa187d2f Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Fri, 24 Oct 2008 12:19:47 +0300 Subject: Limit the amount of connected HSP/HFP devices and make it configurable It's very tricky to get the multiple connected HSP/HFP devices use case right. E.g. in the case of in-band ringtone the specification mandates us to open SCO to the HFP before sending RING indications. So, in the case of multiple connected devices we would have to open multimple simultaneous SCO connections which simply isn't a wise thing to do. --- audio/manager.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'audio/manager.h') diff --git a/audio/manager.h b/audio/manager.h index 6dfd7ef3..e56ec3b3 100644 --- a/audio/manager.h +++ b/audio/manager.h @@ -41,3 +41,5 @@ struct audio_device *manager_find_device(const bdaddr_t *bda, const char *interf struct audio_device *manager_get_device(const bdaddr_t *src, const bdaddr_t *dst); + +gboolean manager_allow_headset_connection(bdaddr_t *src); -- cgit