Re: [pulseaudio-discuss] [PATCH v4 08/41] bluetooth: Implement org.bluez.MediaEndpoint1.SetConfiguration()

2013-09-21 Thread Tanu Kaskinen
On Wed, 2013-09-18 at 16:17 -0500, jprv...@gmail.com wrote: From: João Paulo Rechi Vita jprv...@openbossa.org --- src/modules/bluetooth/bluez5-util.c | 176 +++- src/modules/bluetooth/bluez5-util.h | 5 + 2 files changed, 179 insertions(+), 2

Re: [pulseaudio-discuss] [PATCH v4 09/41] bluetooth: Implement org.bluez.MediaEndpoint1.SelectConfiguration()

2013-09-21 Thread Tanu Kaskinen
On Wed, 2013-09-18 at 16:17 -0500, jprv...@gmail.com wrote: static DBusMessage *endpoint_select_configuration(DBusConnection *conn, DBusMessage *m, void *userdata) { +pa_bluetooth_discovery *y = userdata; +a2dp_sbc_t *cap, config; +uint8_t *pconf = (uint8_t *) config; +int

Re: [pulseaudio-discuss] [PATCH v4 13/41] bluetooth: Handle InterfacesAdded and InterfacesRemoved

2013-09-21 Thread Tanu Kaskinen
On Wed, 2013-09-18 at 16:17 -0500, jprv...@gmail.com wrote: From: João Paulo Rechi Vita jprv...@openbossa.org This code is based on previous work by Mikel Astiz. --- src/modules/bluetooth/bluez5-util.c | 55 + 1 file changed, 55 insertions(+) diff

Re: [pulseaudio-discuss] [PATCH v4 14/41] bluetooth: Parse BlueZ 5 D-Bus interfaces

2013-09-21 Thread Tanu Kaskinen
On Wed, 2013-09-18 at 16:17 -0500, jprv...@gmail.com wrote: From: João Paulo Rechi Vita jprv...@openbossa.org Parse the arguments of the InterfacesAdded signal and the GetManagedObjects() reply. This code is based on previous work by Mikel Astiz. --- src/modules/bluetooth/bluez5-util.c

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

2013-09-21 Thread Tanu Kaskinen
On Wed, 2013-09-18 at 16:17 -0500, jprv...@gmail.com wrote: static void parse_interfaces_and_properties(pa_bluetooth_discovery *y, DBusMessageIter *dict_i) { DBusMessageIter element_i; const char *path; @@ -415,7 +474,8 @@ static void

Re: [pulseaudio-discuss] [PATCH 1/4] alsa: Add extcon (Android switch) jack detection

2013-09-21 Thread poljar
On Thu, Sep 19, 2013 at 11:53:52PM +0200, David Henningsson wrote: On 09/19/2013 01:17 PM, Damir Jelić wrote: Sorry if I'm a little bit annoying here but I'd like to keep our from now on with as little style inconsistency as possible. I haven't done any proper review/testing on this, just a

Re: [pulseaudio-discuss] Suggested coding style change for functions

2013-09-21 Thread Damir Jelić
On Fri, Sep 20, 2013 at 09:50:27AM -0500, João Paulo Rechi Vita wrote: On Fri, Sep 20, 2013 at 4:23 AM, Peter Meerwald pme...@pmeerw.net wrote: Having coding style similar to other projects allow people such as myself to easier move between projects and focus on what's important:

Re: [pulseaudio-discuss] [PATCH v4 16/41] bluetooth: Register endpoints with BlueZ 5 adapter

2013-09-21 Thread Tanu Kaskinen
On Wed, 2013-09-18 at 16:17 -0500, jprv...@gmail.com wrote: From: João Paulo Rechi Vita jprv...@openbossa.org --- src/modules/bluetooth/bluez5-util.c | 82 - 1 file changed, 81 insertions(+), 1 deletion(-) diff --git

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

2013-09-21 Thread Tanu Kaskinen
On Wed, 2013-09-18 at 16:17 -0500, jprv...@gmail.com wrote: +static int 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

Re: [pulseaudio-discuss] [PATCH v4 14/41] bluetooth: Parse BlueZ 5 D-Bus interfaces

2013-09-21 Thread Tanu Kaskinen
On Sat, 2013-09-21 at 14:02 +0300, Tanu Kaskinen wrote: On Wed, 2013-09-18 at 16:17 -0500, jprv...@gmail.com wrote: From: João Paulo Rechi Vita jprv...@openbossa.org Parse the arguments of the InterfacesAdded signal and the GetManagedObjects() reply. This code is based on previous

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

2013-09-21 Thread Tanu Kaskinen
On Wed, 2013-09-18 at 16:17 -0500, jprv...@gmail.com wrote: From: João Paulo Rechi Vita jprv...@openbossa.org This code is based on previous work by Mikel Astiz. --- src/modules/bluetooth/bluez5-util.c | 164 ++-- src/modules/bluetooth/bluez5-util.h | 6

Re: [pulseaudio-discuss] [PATCH v4 34/41] bluetooth: Process sink messages for BlueZ 5 cards

2013-09-21 Thread Tanu Kaskinen
On Wed, 2013-09-18 at 16:17 -0500, jprv...@gmail.com wrote: From: João Paulo Rechi Vita jprv...@openbossa.org --- src/modules/bluetooth/module-bluez5-device.c | 75 1 file changed, 75 insertions(+) diff --git a/src/modules/bluetooth/module-bluez5-device.c

Re: [pulseaudio-discuss] [PATCH v4 35/41] bluetooth: Process source messages for BlueZ 5 cards

2013-09-21 Thread Tanu Kaskinen
On Wed, 2013-09-18 at 16:17 -0500, jprv...@gmail.com wrote: From: João Paulo Rechi Vita jprv...@openbossa.org --- src/modules/bluetooth/module-bluez5-device.c | 77 1 file changed, 77 insertions(+) diff --git a/src/modules/bluetooth/module-bluez5-device.c

Re: [pulseaudio-discuss] [PATCH v4 36/41] bluetooth: Handle changes to BlueZ 5 transports state

2013-09-21 Thread Tanu Kaskinen
On Wed, 2013-09-18 at 16:17 -0500, jprv...@gmail.com wrote: From: João Paulo Rechi Vita jprv...@openbossa.org --- src/modules/bluetooth/module-bluez5-device.c | 78 1 file changed, 78 insertions(+) diff --git a/src/modules/bluetooth/module-bluez5-device.c

Re: [pulseaudio-discuss] [PATCH v4 38/41] bluetooth: Fail to load driver is discovery module is not loaded

2013-09-21 Thread Tanu Kaskinen
On Wed, 2013-09-18 at 16:17 -0500, jprv...@gmail.com wrote: From: João Paulo Rechi Vita jprv...@openbossa.org For quite some time now the device driver module doesn't work well without the discovery module, so for the BlueZ 5 support we'll prevent the device driver module to be loaded if the

Re: [pulseaudio-discuss] [PATCH v4 39/41] module: Create pa_module_exists()

2013-09-21 Thread Tanu Kaskinen
On Wed, 2013-09-18 at 16:17 -0500, jprv...@gmail.com wrote: From: João Paulo Rechi Vita jprv...@openbossa.org This new function checks if a certain module name is available in the system. --- src/pulsecore/module.c | 49 +

Re: [pulseaudio-discuss] [PATCH v4 39/41] module: Create pa_module_exists()

2013-09-21 Thread Tanu Kaskinen
On Wed, 2013-09-18 at 16:17 -0500, jprv...@gmail.com wrote: From: João Paulo Rechi Vita jprv...@openbossa.org This new function checks if a certain module name is available in the system. --- src/pulsecore/module.c | 49 +

Re: [pulseaudio-discuss] Best Case Latency

2013-09-21 Thread Tanu Kaskinen
On Thu, 2013-09-19 at 23:54 +1000, Patrick Shirkey wrote: On Thu, September 19, 2013 6:52 pm, Patrick Shirkey wrote: On Thu, September 19, 2013 6:42 pm, Tanu Kaskinen wrote: On Wed, 2013-09-18 at 04:28 +1000, Patrick Shirkey wrote: Hi, Can someone shed some light on the best case and

Re: [pulseaudio-discuss] Best Case Latency

2013-09-21 Thread Patrick Shirkey
On Sun, September 22, 2013 1:55 am, Tanu Kaskinen wrote: On Thu, 2013-09-19 at 23:54 +1000, Patrick Shirkey wrote: On Thu, September 19, 2013 6:52 pm, Patrick Shirkey wrote: On Thu, September 19, 2013 6:42 pm, Tanu Kaskinen wrote: On Wed, 2013-09-18 at 04:28 +1000, Patrick Shirkey wrote:

Re: [pulseaudio-discuss] [PATCH v4 08/41] bluetooth: Implement org.bluez.MediaEndpoint1.SetConfiguration()

2013-09-21 Thread João Paulo Rechi Vita
On Sat, Sep 21, 2013 at 5:08 AM, Tanu Kaskinen tanu.kaski...@linux.intel.com wrote: On Wed, 2013-09-18 at 16:17 -0500, jprv...@gmail.com wrote: From: João Paulo Rechi Vita jprv...@openbossa.org --- src/modules/bluetooth/bluez5-util.c | 176 +++-

[pulseaudio-discuss] [PATCH v4.1 08/41] bluetooth: Implement org.bluez.MediaEndpoint1.SetConfiguration()

2013-09-21 Thread jprvita
From: João Paulo Rechi Vita jprv...@openbossa.org --- src/modules/bluetooth/bluez5-util.c | 176 +++- src/modules/bluetooth/bluez5-util.h | 5 + 2 files changed, 179 insertions(+), 2 deletions(-) diff --git a/src/modules/bluetooth/bluez5-util.c

Re: [pulseaudio-discuss] [PATCH v4 09/41] bluetooth: Implement org.bluez.MediaEndpoint1.SelectConfiguration()

2013-09-21 Thread João Paulo Rechi Vita
On Sat, Sep 21, 2013 at 5:16 AM, Tanu Kaskinen tanu.kaski...@linux.intel.com wrote: On Wed, 2013-09-18 at 16:17 -0500, jprv...@gmail.com wrote: static DBusMessage *endpoint_select_configuration(DBusConnection *conn, DBusMessage *m, void *userdata) { +pa_bluetooth_discovery *y = userdata;

Re: [pulseaudio-discuss] [PATCH v4 05/41] bluetooth: Remove all devices when org.bluez goes away

2013-09-21 Thread João Paulo Rechi Vita
On Fri, Sep 20, 2013 at 6:51 AM, Tanu Kaskinen tanu.kaski...@linux.intel.com wrote: On Wed, 2013-09-18 at 16:16 -0500, jprv...@gmail.com wrote: From: João Paulo Rechi Vita jprv...@openbossa.org --- src/modules/bluetooth/bluez5-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [pulseaudio-discuss] [PATCH v4 13/41] bluetooth: Handle InterfacesAdded and InterfacesRemoved

2013-09-21 Thread João Paulo Rechi Vita
On Sat, Sep 21, 2013 at 5:37 AM, Tanu Kaskinen tanu.kaski...@linux.intel.com wrote: On Wed, 2013-09-18 at 16:17 -0500, jprv...@gmail.com wrote: From: João Paulo Rechi Vita jprv...@openbossa.org This code is based on previous work by Mikel Astiz. --- src/modules/bluetooth/bluez5-util.c | 55

Re: [pulseaudio-discuss] [PATCH v4 16/41] bluetooth: Register endpoints with BlueZ 5 adapter

2013-09-21 Thread João Paulo Rechi Vita
On Sat, Sep 21, 2013 at 7:44 AM, Tanu Kaskinen tanu.kaski...@linux.intel.com wrote: On Wed, 2013-09-18 at 16:17 -0500, jprv...@gmail.com wrote: From: João Paulo Rechi Vita jprv...@openbossa.org --- src/modules/bluetooth/bluez5-util.c | 82 - 1 file

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

2013-09-21 Thread João Paulo Rechi Vita
On Sat, Sep 21, 2013 at 7:51 AM, Tanu Kaskinen tanu.kaski...@linux.intel.com wrote: On Wed, 2013-09-18 at 16:17 -0500, jprv...@gmail.com wrote: +static int parse_adapter_properties(pa_bluetooth_adapter *a, DBusMessageIter *i, bool is_property_change) { +DBusMessageIter element_i; + +

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

2013-09-21 Thread João Paulo Rechi Vita
On Sat, Sep 21, 2013 at 6:12 AM, Tanu Kaskinen tanu.kaski...@linux.intel.com wrote: On Wed, 2013-09-18 at 16:17 -0500, jprv...@gmail.com wrote: static void parse_interfaces_and_properties(pa_bluetooth_discovery *y, DBusMessageIter *dict_i) { DBusMessageIter element_i; const char

Re: [pulseaudio-discuss] [PATCH v4 14/41] bluetooth: Parse BlueZ 5 D-Bus interfaces

2013-09-21 Thread João Paulo Rechi Vita
On Sat, Sep 21, 2013 at 8:15 AM, Tanu Kaskinen tanu.kaski...@linux.intel.com wrote: On Sat, 2013-09-21 at 14:02 +0300, Tanu Kaskinen wrote: On Wed, 2013-09-18 at 16:17 -0500, jprv...@gmail.com wrote: From: João Paulo Rechi Vita jprv...@openbossa.org Parse the arguments of the

[pulseaudio-discuss] Pulseaudio for Network Streaming without Virtual Soundcard Hardware ?

2013-09-21 Thread Patrick Rynhart
Is it possible to use Pulseaudio for Network Streaming without Virtual Soundcard Hardware ? I've got Debian installed as a VM on ESXi 3 and I'm wanting to Stream audio from this as a Server to an ESD sink. The problem is that this hypervisor doesn't support audio hardware. In particular:

Re: [pulseaudio-discuss] Pulseaudio for Network Streaming without Virtual Soundcard Hardware ?

2013-09-21 Thread Patrick Rynhart
On 22/09/2013 11:49 a.m., Patrick Rynhart wrote: Is it possible to use Pulseaudio for Network Streaming without Virtual Soundcard Hardware ? I've got Debian installed as a VM on ESXi 3 and I'm wanting to Stream audio from this as a Server to an ESD sink. The problem is that this hypervisor

Re: [pulseaudio-discuss] [PATCH v4 09/41] bluetooth: Implement org.bluez.MediaEndpoint1.SelectConfiguration()

2013-09-21 Thread Tanu Kaskinen
On Sat, 2013-09-21 at 13:30 -0500, João Paulo Rechi Vita wrote: On Sat, Sep 21, 2013 at 5:16 AM, Tanu Kaskinen tanu.kaski...@linux.intel.com wrote: On Wed, 2013-09-18 at 16:17 -0500, jprv...@gmail.com wrote: static DBusMessage *endpoint_select_configuration(DBusConnection *conn,

Re: [pulseaudio-discuss] [PATCH v4 16/41] bluetooth: Register endpoints with BlueZ 5 adapter

2013-09-21 Thread Tanu Kaskinen
On Sat, 2013-09-21 at 14:17 -0500, João Paulo Rechi Vita wrote: On Sat, Sep 21, 2013 at 7:44 AM, Tanu Kaskinen tanu.kaski...@linux.intel.com wrote: On Wed, 2013-09-18 at 16:17 -0500, jprv...@gmail.com wrote: From: João Paulo Rechi Vita jprv...@openbossa.org ---

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

2013-09-21 Thread Tanu Kaskinen
On Sat, 2013-09-21 at 15:56 -0500, João Paulo Rechi Vita wrote: On Sat, Sep 21, 2013 at 7:51 AM, Tanu Kaskinen tanu.kaski...@linux.intel.com wrote: On Wed, 2013-09-18 at 16:17 -0500, jprv...@gmail.com wrote: +static int parse_adapter_properties(pa_bluetooth_adapter *a, DBusMessageIter *i,