From: Mikel Astiz <mikel.astiz@xxxxxxxxxxxx> There's some ongoing work by Jo?o Paulo to add oFono support to PulseAudio. This requires the adoption of some backend infrastructure in order to keep the codebase and dependencies clean, which is exactly what this patchset is proposing. For reasons already discussed in the mailing list, I would rather have these patches merged before the oFono-specific patches, which should also make the review easier. However, if some of the maintainers prefer to merge oFono first and later refactor the codebase, you can raise the point now so we focus on the other patchset and this one would have to be reworked later. Note that this patchset alone does not make much sense unless the oFono patches are going to be merged afterwards, so I submit this as WIP where Jo?o Paulo's work could be rebased on. Mikel Astiz (11): bluetooth: Add backend infrastructure with core->backend reporting bluetooth: Add basic backend->core notifications bluetooth: Add backend->core notification of new transports bluetooth: Add embedded BlueZ backend inside bluetooth-util bluetooth: Avoid using transport path in traces bluetooth: Split BlueZ backend data to separate structs bluetooth: Add device removed callback to backend bluetooth: Add transport acquire/release callbacks to backend bluetooth: Add microphone gain callback to backend bluetooth: Add speaker gain callback to backend bluetooth: Use bluez_backend_private for endpoint userdata src/modules/bluetooth/bluetooth-util.c | 462 ++++++++++++++++++------ src/modules/bluetooth/bluetooth-util.h | 48 ++- src/modules/bluetooth/module-bluetooth-device.c | 11 +- 3 files changed, 412 insertions(+), 109 deletions(-) -- 1.8.1.4