From: Jo?o Paulo Rechi Vita <jprvita@xxxxxxxxxxxxx> This is an updated version of the same series sent before. Updates from last version is that we're now destroying and re-creating the sink/source (stashing sink-inputs/source-outputs) instead of postponing their creation, and that we're covering the case where we need to start an Audio Connection. Mikel, could you please check if patch 18 covers the use case of starting an Audio Connection well enought for you? I think the sink-input resuming the sink will be moved away to the fallback sink, since I'm not resuming the sink until the requested NewConnection call appear. Fr?d?ric Dalleau (1): bluetooth: Handle mSBC-encoded streams for HFP Jo?o Paulo Rechi Vita (19): bluetooth: Track org.ofono service bluetooth: Register Handsfree Audio Agent object path on the bus bluetooth: Register Handsfree Audio Agent with oFono bluetooth: Unregister Handsfree Audio Agent with oFono bluetooth: Implement Handsfree Audio Agent Release() bluetooth: List HF cards from oFono bluetooth: Parse HF cards properties bluetooth: Create a pa_bluetooth_transport for each HF card bluetooth: Track org.ofono.HandsfreeAudioManager.CardAdded bluetooth: Track org.ofono.HandsfreeAudioManager.CardRemoved bluetooth: Create API to get BlueZ version bluetooth: Implement Handsfree Audio Agent NewConnection() bluetooth: Only call *Acquire() if using BlueZ' Media API bluetooth: Suspend sink/source on HFP's stream HUP bluetooth: Do the socket defered setup bluetooth: Do not call Release() for oFono transports bluetooth: Do not process resume if acquire fails bluetooth: Call HandsfreeAudioCard.Connect() on non-optional acquire bluetooth: Update sink/source sample rate on HFP play src/modules/bluetooth/bluetooth-util.c | 480 +++++++++++++++++++++++- src/modules/bluetooth/bluetooth-util.h | 10 + src/modules/bluetooth/module-bluetooth-device.c | 399 +++++++++++++++++++- 3 files changed, 864 insertions(+), 25 deletions(-) -- 1.7.11.7