[pulseaudio-discuss] [PATCH next v1 0/7] bluetooth: Refactor hooks

Tanu Kaskinen tanuk at iki.fi
Mon Dec 10 21:14:45 PST 2012


On Mon, 2012-12-10 at 08:30 +0100, Mikel Astiz wrote:
> From: Mikel Astiz <mikel.astiz at bmw-carit.de>
> 
> v1 is similar to v0 after modifying patch v0 04/11 (now v1 1/7) to
> avoid an ugly hack as pointed out by Tanu.
> 
> From original cover-letter:
> 
> 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 (7):
>   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: Avoid PA_BLUETOOTH_TRANSPORT_HOOK_REMOVED
>   bluetooth: Avoid PA_BLUETOOTH_TRANSPORT_HOOK_NREC_CHANGED
>   bluetooth: Remove deprecated transport hooks
>   bluetooth: Connect all hooks during module load/unload
> 
>  src/modules/bluetooth/bluetooth-util.c          | 99 +++++++++++++++----------
>  src/modules/bluetooth/bluetooth-util.h          | 17 +++--
>  src/modules/bluetooth/module-bluetooth-device.c | 86 +++++++++++----------
>  3 files changed, 111 insertions(+), 91 deletions(-)

Thanks, applied all except the last one.

-- 
Tanu



More information about the pulseaudio-discuss mailing list