[pulseaudio-discuss] [PATCH v1 0/6] Bluetooth: Late UUID support

Tanu Kaskinen tanuk at iki.fi
Thu Oct 25 03:24:45 PDT 2012


On Tue, 2012-10-23 at 16:41 +0200, Mikel Astiz wrote:
> From: Mikel Astiz <mikel.astiz at bmw-carit.de>
> 
> v1 proposal with the changes suggested by Tanu, most significantly:
> - Assertions used to detect duplicated card profiles instead of errors.
> - Hashmap memory freed in callers-side after pa_card_add_ports().
> - Added core hooks to report added profiles and ports.
> - Subscription mechanism used to report card changes.
> - New UUID hook renamed to _HOOK_UUID_ADDED.
> - D-Bus API extended with signal NewProfile (patch v1 4/6).
> 
> From original cover-letter:
> 
> PulseAudio does not currently support creating card profiles dynamically. This patchset proposes such feature in order to be used by the Bluetooth modules.
> 
> Mikel Astiz (6):
>   card: Support adding profiles dynamically
>   card: Support adding ports dynamically
>   dbus: Support dynamically created card profiles
>   dbus: Add signal org.PulseAudio.Core1.Card.NewProfile
>   bluetooth: Add hook to announce late UUIDs
>   bluetooth: Handle UUIDs announced later
> 
>  src/modules/bluetooth/bluetooth-util.c          |  8 ++++
>  src/modules/bluetooth/bluetooth-util.h          |  1 +
>  src/modules/bluetooth/module-bluetooth-device.c | 39 +++++++++++++++++++
>  src/modules/dbus/iface-card.c                   | 52 +++++++++++++++++++++++++
>  src/pulsecore/card.c                            | 29 ++++++++++++++
>  src/pulsecore/card.h                            |  3 ++
>  src/pulsecore/core.h                            |  2 +
>  7 files changed, 134 insertions(+)

I have pushed patches 1, 2 and 5. I had complaints about patch 3, and
patch 4 wouldn't apply without patch 3. Patch 6 looks good, but I want
the D-Bus interface to be ready before pushing it.

-- 
Tanu



More information about the pulseaudio-discuss mailing list