diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2009-02-04 09:39:57 -0800 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2009-02-04 09:39:57 -0800 |
commit | 8569aed5570e415a2d4361c521c0b511684e3b7e (patch) | |
tree | 878d2839e2c280dc4e4fd06a1f108ca43514c3f8 /audio/device.h | |
parent | 584fe1b71eca9a98b5a0a75e08aaa4fafc4e8d83 (diff) |
Delay AVRCP connection when remote device connects A2DP
The audio profile coexistence whitepaper recommends that the initiator
of the A2DP connection also initiates the AVRCP connection. This patch
adds a two second delay before we attempt connecting AVRCP after the
remote device has connected A2DP to us.
Diffstat (limited to 'audio/device.h')
-rw-r--r-- | audio/device.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/audio/device.h b/audio/device.h index 2f626a54..cf27f5ee 100644 --- a/audio/device.h +++ b/audio/device.h @@ -63,8 +63,13 @@ struct audio_device { struct source *source; struct control *control; struct target *target; + + guint control_timer; }; +gboolean device_set_control_timer(struct audio_device *dev); +void device_remove_control_timer(struct audio_device *dev); + struct audio_device *audio_device_register(DBusConnection *conn, const char *path, const bdaddr_t *src, const bdaddr_t *dst); |