]> code.delx.au - pulseaudio/commit
bluetooth: Update to new BlueZ 5 transport acquire/release API
authorMikel Astiz <mikel.astiz@bmw-carit.de>
Fri, 10 May 2013 08:30:46 +0000 (10:30 +0200)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Mon, 3 Jun 2013 19:08:42 +0000 (00:38 +0530)
commit9615def4b96f0bab365ddc03f6c003f382a54752
tree37ea907f1870f2a1667658173c8afd9edaae3d68
parent6fdf2b05b8867d4597c497243b469ecd0d8c2426
bluetooth: Update to new BlueZ 5 transport acquire/release API

The new D-Bus API doesn't support access rights, which weren't used by
PulseAudio anyway, but it does solve a race condition: now optional
acquires can be implemented by bluetooth-util atomically using the D-Bus
TryAcquire() method.
src/modules/bluetooth/bluetooth-util.c
src/modules/bluetooth/module-bluetooth-device.c