[pulseaudio-discuss] [RFC v2 0/3] bluetooth: Replace deprecated BlueZ API

Mikel Astiz mikel.astiz.oss at gmail.com
Fri Jul 27 08:20:36 PDT 2012


From: Mikel Astiz <mikel.astiz at bmw-carit.de>

This third version integrates the optimization suggested by Luiz, checking the property name before calling dbus_message_iter_recurse().

I personally prefer v1 since the code is more consistent with the way properties are handled in this file. However the difference is minimal.

>From original cover letter:

PulseAudio is using functions in BlueZ's API that were deprecated in version 4.61. Upstream BlueZ has recently removed these deprecated functions (no release was made yet), and thus clients will need to migrate to the new API (added in BlueZ 4.22), consisting of properties enumerating adapters and devices.

This patchset is sent as RFC because no BlueZ release has removed yet the old API, and chances are that further API changes will be adopted for upcoming release BlueZ 5.0. This means the patches could actually be pointless.

However, it might be useful for developers using PulseAudio with the latest upstream version of BlueZ.

Mikel Astiz (3):
  bluetooth: Replace deprecated ListAdapters()
  bluetooth: Replace deprecated ListDevices()
  bluetooth: Remove minor unnecessary check

 src/modules/bluetooth/bluetooth-util.c |  212 ++++++++++++++++----------------
 1 files changed, 106 insertions(+), 106 deletions(-)

-- 
1.7.7.6



More information about the pulseaudio-discuss mailing list