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

Mikel Astiz mikel.astiz.oss at gmail.com
Thu Jul 26 03:36:30 PDT 2012


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

This second version integrates the changes proposed by Tanu, fixing some tabs, removing some unnecessary checks and making the code more robust against strange/broken behavior from BlueZ.

>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 |  210 ++++++++++++++++----------------
 1 files changed, 104 insertions(+), 106 deletions(-)

-- 
1.7.7.6



More information about the pulseaudio-discuss mailing list