[pulseaudio-discuss] [PATCH next v0 00/11] bluetooth: Refactor hooks

Mikel Astiz mikel.astiz.oss at gmail.com
Thu Dec 6 06:55:25 PST 2012

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

During the 3.0-release discussion, it was pointed out that bluetooth hooks should be put together in a single list, in a similar way that the PA core does.

This patchset proposes such a refactoring, along with other related changes.

Some of these are oriented towards a bigger goal: bluetooth-util should abstract all the D-Bus communication, making the modules D-Bus-agnostic. Furthermore, this work considers the decisions made for BlueZ 5, so a future transition to the new API would be painless.

Such a full abstraction of D-Bus is not achieved in this patchset but it's already implemented and pending for submission until this first part is agreed on.

Mikel Astiz (11):
  bluetooth: Extend discovery to support multiple hooks
  bluetooth: Move device hooks into pa_bluetooth_hook_t
  bluetooth: Use array to store profile states
  bluetooth: Refactor parse_audio_property() to support more properties
  bluetooth: Add state to transport objects
  bluetooth: Add transport hooks into pa_bluetooth_hook_t
  bluetooth: Remove deprecated transport hooks
  bluetooth: Connect all hooks during module load/unload

 src/modules/bluetooth/bluetooth-util.c            | 181 ++++++++++++--------
 src/modules/bluetooth/bluetooth-util.h            |  53 +++---
 src/modules/bluetooth/module-bluetooth-device.c   | 191 +++++++++-------------
 src/modules/bluetooth/module-bluetooth-discover.c |   3 +-
 4 files changed, 212 insertions(+), 216 deletions(-)


More information about the pulseaudio-discuss mailing list