]> code.delx.au - pulseaudio/commit
bluetooth: Create pa_bluetooth_transport for BlueZ 5 support
authorJoão Paulo Rechi Vita <jprvita@openbossa.org>
Tue, 24 Sep 2013 22:45:22 +0000 (19:45 -0300)
committerTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Sun, 29 Sep 2013 13:54:37 +0000 (16:54 +0300)
commite78e7e698ce0f127b4415e854e2db3e66775bf57
tree32553bece945c6ce859b0bf47594027f9c7a4e4c
parentc3efb24aa75993a8c97cbcb4d1a8184142d17e64
bluetooth: Create pa_bluetooth_transport for BlueZ 5 support

Create the pa_bluetooth_transport structure to store information about
the bluetooth transport and utility functions to manipulate this
structure. The acquire() and release() operations are function pointers
in the pa_bluetooth_transport structure to make possible for different
transport backends to provide different implementations of these
operations. Thre is also a userdata field for the transport backend
provide data for the acquire/release functions.

This commit also creates a new function
pa_bluetooth_device_any_transport_connected() to check if there is any
audio connection between the host and a remote device.
src/modules/bluetooth/bluez5-util.c
src/modules/bluetooth/bluez5-util.h