[pulseaudio-discuss] [PATCH] BlueZ Media API

Luiz Augusto von Dentz luiz.dentz at gmail.com
Fri Sep 24 06:32:39 PDT 2010

From: Luiz Augusto von Dentz <luiz.dentz-von at nokia.com>


Now that DBus 1.4 has finally been released I guess it is time to integrate
the Media API that I've been working since the beginning of the year. For
those not aware of what it is about the discussion can be found here:


For now it is disabled by default to avoid a build dependency on DBus 1.4 on.
To enable it just add the following to /etc/bluetooth/audio.conf
(won't work if DBus is < 1.3 but better use 1.3.1 or latter):


It can be used together with old unix socket, but I also add the possibility to
complete disable it by doing:


We plan to drop the unix socket support on BlueZ 5.x, so by then we should have
this pretty stable and be able to remove old code also from PA modules. I also
plan to redesign the discover module quite a bit since most of its code are not
really necessary when registering endpoints, maybe we will be to have a single
module to handle this all.

Note: This probably conflicts with Bossart's patches so we probably need to
rebase once we find out which one should get in first.

Luiz Augusto von Dentz (1):
  bluetooth: Add support for Media API

 src/modules/bluetooth/bluetooth-util.c          |  619 ++++++++++++++++++++++-
 src/modules/bluetooth/bluetooth-util.h          |   21 +
 src/modules/bluetooth/ipc.h                     |   28 +
 src/modules/bluetooth/module-bluetooth-device.c |  470 +++++++++++++++--
 4 files changed, 1065 insertions(+), 73 deletions(-)

More information about the pulseaudio-discuss mailing list