]> code.delx.au - pulseaudio/commit
bluetooth: Add state to transport objects
authorMikel Astiz <mikel.astiz@bmw-carit.de>
Mon, 10 Dec 2012 07:30:38 +0000 (08:30 +0100)
committerTanu Kaskinen <tanuk@iki.fi>
Wed, 19 Dec 2012 10:31:48 +0000 (12:31 +0200)
commit439745505a338afc7936abf77111e030b734b805
treedc518e6f1bae88849de5f8e94e84104ed5a85ad6
parentab26cafaf4a61f1a6d2ed13324784f5119451f92
bluetooth: Add state to transport objects

Transport objects have an associated state even though it's not
explicitly exposed in BlueZ's D-Bus API (prior to 5.0). Instead, the
state is implicitly represented in the profile-specific D-Bus interface
(i.e. org.bluez.Headset, org.bluez.AudioSink, etc.) but it can be
convenient that bluetooth-util would abstract this separation.
src/modules/bluetooth/bluetooth-util.c
src/modules/bluetooth/bluetooth-util.h