diff options
author | Luiz Augusto von Dentz <luiz.dentz-von@nokia.com> | 2010-12-02 14:11:13 +0200 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.dentz-von@nokia.com> | 2011-03-14 13:36:55 -0300 |
commit | 8c982a4afece524fec5d928425477f3e7a56b817 (patch) | |
tree | 6040913f80d46e290b4083bd25f713b2ef6e7957 /src/modules/bluetooth/bluetooth-util.h | |
parent | dda564f50b55340ff4bfbaa8d6d6fc6427f764f4 (diff) |
bluetooth: handle Acquire API change
Acquire now return input and output MTU of the file descriptor so it is
no longer necessary to get those after acquiring the fd, which less round
trips and faster response time when switching profiles.
Diffstat (limited to 'src/modules/bluetooth/bluetooth-util.h')
-rw-r--r-- | src/modules/bluetooth/bluetooth-util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/bluetooth/bluetooth-util.h b/src/modules/bluetooth/bluetooth-util.h index f141209d..b471c34d 100644 --- a/src/modules/bluetooth/bluetooth-util.h +++ b/src/modules/bluetooth/bluetooth-util.h @@ -126,7 +126,7 @@ const pa_bluetooth_device* pa_bluetooth_discovery_get_by_address(pa_bluetooth_di const pa_bluetooth_transport* pa_bluetooth_discovery_get_transport(pa_bluetooth_discovery *y, const char *path); const pa_bluetooth_transport* pa_bluetooth_device_get_transport(const pa_bluetooth_device *d, enum profile profile); -int pa_bluetooth_transport_acquire(const pa_bluetooth_transport *t, const char *accesstype); +int pa_bluetooth_transport_acquire(const pa_bluetooth_transport *t, const char *accesstype, size_t *imtu, size_t *omtu); void pa_bluetooth_transport_release(const pa_bluetooth_transport *t, const char *accesstype); pa_hook* pa_bluetooth_discovery_hook(pa_bluetooth_discovery *d); |