Re: [pulseaudio-discuss] [PATCH v4 15/41] bluetooth: Parse BlueZ 5 adapter properties

2013-09-28 Thread Tanu Kaskinen
On Thu, 2013-09-26 at 14:11 -0300, João Paulo Rechi Vita wrote: On Wed, Sep 25, 2013 at 7:33 AM, Tanu Kaskinen tanu.kaski...@linux.intel.com wrote: On Tue, 2013-09-24 at 19:19 -0300, João Paulo Rechi Vita wrote: On Sun, Sep 22, 2013 at 2:38 AM, Tanu Kaskinen tanu.kaski...@linux.intel.com

Re: [pulseaudio-discuss] [PATCH v5 09/39] bluetooth: Create a function to remove only one adapter object

2013-09-28 Thread Tanu Kaskinen
On Tue, 2013-09-24 at 19:45 -0300, jprv...@gmail.com wrote: @@ -371,11 +398,8 @@ static void adapter_remove_all(pa_bluetooth_discovery *y) { /* When this function is called all devices have already been freed */ -while ((a = pa_hashmap_steal_first(y-adapters))) { -

Re: [pulseaudio-discuss] [PATCH v5 12/39] bluetooth: Parse BlueZ 5 adapter properties

2013-09-28 Thread Tanu Kaskinen
On Tue, 2013-09-24 at 19:45 -0300, jprv...@gmail.com wrote: +static void parse_adapter_properties(pa_bluetooth_adapter *a, DBusMessageIter *i, bool is_property_change) { +DBusMessageIter element_i; + +pa_assert(a); + +dbus_message_iter_recurse(i, element_i); + +while