summaryrefslogtreecommitdiffstats
path: root/audio/manager.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-10-08 14:44:54 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2008-10-08 14:44:54 +0200
commit3161f96838b8f79574ee93b0525942d7c732535e (patch)
tree37c932f0185a0ee8a69a585850c6e20ef0851230 /audio/manager.h
parent586fd91a6c1a18e7e324fe39c20786be357c3576 (diff)
Create audio device objects on incoming connections if necessary
If we haven't done SDP yet the data structures will be uninitialized. This patch makes sure that the structures are properly initialized if we get an incoming connection before service discovery has been done.
Diffstat (limited to 'audio/manager.h')
-rw-r--r--audio/manager.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/audio/manager.h b/audio/manager.h
index 7feaf83c..3d712f41 100644
--- a/audio/manager.h
+++ b/audio/manager.h
@@ -38,5 +38,6 @@ gboolean server_is_enabled(bdaddr_t *src, uint16_t svc);
struct audio_device *manager_find_device(const bdaddr_t *bda, const char *interface,
gboolean connected);
-struct audio_device *manager_get_device(bdaddr_t *sba, bdaddr_t *dba,
- const char *path, gboolean *created);
+struct audio_device *manager_get_device(const bdaddr_t *src,
+ const bdaddr_t *dst,
+ const char *path);