Re: [pulseaudio-discuss] [PATCH] tunnel-source-new: counterpart to module-tunnel-sink-new

2013-09-13 Thread Tanu Kaskinen
On Thu, 2013-09-12 at 14:01 +0200, Alexander Couzens wrote: The old tunnel module duplicates functionality that is in libpulse, due to implementing the native protocol, and the protocol code in the old tunnel module tends to get broken every now and then, because people forget to update the

Re: [pulseaudio-discuss] [PATCH] suspend-on-idle: Allow disabling suspending for specific devices

2013-09-13 Thread Tanu Kaskinen
On Fri, 2013-09-13 at 13:20 +0530, Arun Raghavan wrote: On Fri, 2013-08-30 at 15:11 +0200, David Henningsson wrote: On 08/30/2013 09:28 AM, Tanu Kaskinen wrote: On Fri, 2013-08-30 at 08:16 +0200, David Henningsson wrote: On 08/29/2013 04:36 PM, Tanu Kaskinen wrote: Sometimes it would

[pulseaudio-discuss] [RFCv3 04/43] bluetooth: Create pa_bluetooth_device for BlueZ 5 support

2013-09-13 Thread jprvita
From: João Paulo Rechi Vita jprv...@openbossa.org Create a structure pa_bluetooth_device to store information about the bluetooth device and utility functions to manipulate this structure. --- src/modules/bluetooth/bluez5-util.c | 88 +

[pulseaudio-discuss] [RFCv3 05/43] bluetooth: Remove all devices when org.bluez goes away

2013-09-13 Thread jprvita
From: João Paulo Rechi Vita jprv...@openbossa.org --- src/modules/bluetooth/bluez5-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/bluetooth/bluez5-util.c b/src/modules/bluetooth/bluez5-util.c index d65cbb0..c78ec9e 100644 ---

[pulseaudio-discuss] [RFCv3 06/43] bluetooth: Create pa_bluetooth_transport for BlueZ 5 support

2013-09-13 Thread jprvita
From: João Paulo Rechi Vita jprv...@openbossa.org Create the pa_bluetooth_transport structure to store information about the bluetooth transport and utility functions to manipulate this structure. The acquire() and release() operations are function pointers in the pa_bluetooth_transport structure

[pulseaudio-discuss] [RFCv3 10/43] bluetooth: Implement org.bluez.MediaEndpoint1.ClearConfiguration()

2013-09-13 Thread jprvita
From: João Paulo Rechi Vita jprv...@openbossa.org --- src/modules/bluetooth/bluez5-util.c | 25 +++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/src/modules/bluetooth/bluez5-util.c b/src/modules/bluetooth/bluez5-util.c index 42ae71d..b402489 100644 ---

[pulseaudio-discuss] [RFCv3 16/43] bluetooth: Register endpoints with BlueZ 5 adapter

2013-09-13 Thread jprvita
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 a/src/modules/bluetooth/bluez5-util.c b/src/modules/bluetooth/bluez5-util.c index 4bc5967..03c73c9

[pulseaudio-discuss] [RFCv3 18/43] bluetooth: Parse BlueZ 5 device properties

2013-09-13 Thread jprvita
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 | 153 ++-- src/modules/bluetooth/bluez5-util.h | 1 + 2 files changed, 146 insertions(+), 8 deletions(-) diff --git

[pulseaudio-discuss] [RFCv3 19/43] FIXUP: Handle device information arriving before the adapter information

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

[pulseaudio-discuss] [RFCv3 20/43] FIXUP: Change parse_device_property() to return void

2013-09-13 Thread jprvita
From: João Paulo Rechi Vita jprv...@openbossa.org --- src/modules/bluetooth/bluez5-util.c | 29 +++-- 1 file changed, 11 insertions(+), 18 deletions(-) diff --git a/src/modules/bluetooth/bluez5-util.c b/src/modules/bluetooth/bluez5-util.c index 8f682c6..49d5c38 100644

[pulseaudio-discuss] [RFCv3 22/43] bluetooth: Handle PropertiesChanged for org.bluez.MediaTransport1

2013-09-13 Thread jprvita
From: João Paulo Rechi Vita jprv...@openbossa.org --- src/modules/bluetooth/bluez5-util.c | 80 + 1 file changed, 80 insertions(+) diff --git a/src/modules/bluetooth/bluez5-util.c b/src/modules/bluetooth/bluez5-util.c index b9f5932..be75deb 100644 ---

[pulseaudio-discuss] [RFCv3 23/43] bluetooth: Track devices in module-bluez5-discover

2013-09-13 Thread jprvita
From: João Paulo Rechi Vita jprv...@openbossa.org --- src/modules/bluetooth/module-bluez5-discover.c | 51 ++ 1 file changed, 51 insertions(+) diff --git a/src/modules/bluetooth/module-bluez5-discover.c b/src/modules/bluetooth/module-bluez5-discover.c index

[pulseaudio-discuss] [RFCv3 24/43] bluetooth: Create module-bluez5-device

2013-09-13 Thread jprvita
From: João Paulo Rechi Vita jprv...@openbossa.org --- src/Makefile.am | 9 +- src/modules/bluetooth/module-bluez5-device.c | 43 2 files changed, 51 insertions(+), 1 deletion(-) create mode 100644

[pulseaudio-discuss] [RFCv3 25/43] bluetooth: Get BlueZ 5 device object

2013-09-13 Thread jprvita
From: João Paulo Rechi Vita jprv...@openbossa.org Get the remote device information stored in pa_bluetooth_discovery. This also creates the mandatory parameter 'path' for module-bluez5-device, which is used to inform the object path of the remote device in BlueZ on the module load. ---

[pulseaudio-discuss] [RFCv3 26/43] bluetooth: Unload module-bluez5-device on device's disconnection

2013-09-13 Thread jprvita
From: João Paulo Rechi Vita jprv...@openbossa.org --- src/modules/bluetooth/module-bluez5-device.c | 23 +++ 1 file changed, 23 insertions(+) diff --git a/src/modules/bluetooth/module-bluez5-device.c b/src/modules/bluetooth/module-bluez5-device.c index 18f40fa..121a75d

[pulseaudio-discuss] [RFCv3 27/43] bluetooth: Create BlueZ 5 card

2013-09-13 Thread jprvita
From: João Paulo Rechi Vita jprv...@openbossa.org --- src/modules/bluetooth/module-bluez5-device.c | 182 +++ 1 file changed, 182 insertions(+) diff --git a/src/modules/bluetooth/module-bluez5-device.c b/src/modules/bluetooth/module-bluez5-device.c index

[pulseaudio-discuss] [RFCv3 28/43] bluetooth: Create BlueZ 5 card ports

2013-09-13 Thread jprvita
From: João Paulo Rechi Vita jprv...@openbossa.org --- src/modules/bluetooth/module-bluez5-device.c | 144 +++ 1 file changed, 144 insertions(+) diff --git a/src/modules/bluetooth/module-bluez5-device.c b/src/modules/bluetooth/module-bluez5-device.c index

[pulseaudio-discuss] [RFCv3 30/43] bluetooth: Initialize profiles for BlueZ 5 cards

2013-09-13 Thread jprvita
From: João Paulo Rechi Vita jprv...@openbossa.org Initialized the currently active profile, configure and acquire the transport. --- src/modules/bluetooth/module-bluez5-device.c | 208 +++ 1 file changed, 208 insertions(+) diff --git

[pulseaudio-discuss] [RFCv3 31/43] bluetooth: Create sink for BlueZ 5 cards

2013-09-13 Thread jprvita
From: João Paulo Rechi Vita jprv...@openbossa.org --- src/modules/bluetooth/module-bluez5-device.c | 65 +++- 1 file changed, 64 insertions(+), 1 deletion(-) diff --git a/src/modules/bluetooth/module-bluez5-device.c b/src/modules/bluetooth/module-bluez5-device.c index

[pulseaudio-discuss] [RFCv3 32/43] bluetooth: Create source for BlueZ 5 cards

2013-09-13 Thread jprvita
From: João Paulo Rechi Vita jprv...@openbossa.org --- src/modules/bluetooth/module-bluez5-device.c | 45 +++- 1 file changed, 44 insertions(+), 1 deletion(-) diff --git a/src/modules/bluetooth/module-bluez5-device.c b/src/modules/bluetooth/module-bluez5-device.c index

[pulseaudio-discuss] [RFCv3 35/43] bluetooth: Create I/O thread function for BlueZ 5 cards

2013-09-13 Thread jprvita
From: João Paulo Rechi Vita jprv...@openbossa.org Create the thread function, the render and push functions for A2DP, the process message function for communication between the I/O thread and the main thread, and other helper functions related to them. ---

[pulseaudio-discuss] [RFCv3 36/43] bluetooth: Process sink messages for BlueZ 5 cards

2013-09-13 Thread jprvita
From: João Paulo Rechi Vita jprv...@openbossa.org --- src/modules/bluetooth/module-bluez5-device.c | 81 1 file changed, 81 insertions(+) diff --git a/src/modules/bluetooth/module-bluez5-device.c b/src/modules/bluetooth/module-bluez5-device.c index 010e3e2..9ae9a6f

[pulseaudio-discuss] [RFCv3 37/43] bluetooth: Process source messages for BlueZ 5 cards

2013-09-13 Thread jprvita
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 b/src/modules/bluetooth/module-bluez5-device.c index 9ae9a6f..bd237b7

[pulseaudio-discuss] [RFCv3 40/43] bluetooth: Fail to load driver is discovery module is not loaded

2013-09-13 Thread jprvita
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 discovery module is not loaded. ---

[pulseaudio-discuss] [RFCv3 41/43] module: Create pa_module_exists()

2013-09-13 Thread jprvita
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 + src/pulsecore/module.h | 2 ++ 2 files changed, 51 insertions(+) diff --git

[pulseaudio-discuss] [RFCv3 43/43] bluetooth: Revive module-bluetooth-discover

2013-09-13 Thread jprvita
From: João Paulo Rechi Vita jprv...@openbossa.org Create a wrapper module called module-bluetooth-discover to avoid breaking backward-compatibility of default.pa. This wrapper may eventually be dropped altoghether with BlueZ 4 support. --- src/Makefile.am | 8

Re: [pulseaudio-discuss] An raop2 support

2013-09-13 Thread Hajime Fujita
Hi Anton, Thank you for testing and reporting several issues. Anton Lundin wrote: On 06 September, 2013 - Hajime Fujita wrote: Hi Anton, Thank you for your interest. I have switched to a new branch and several new features/fixes are integrated. Could you test this one, if you'd like?

Re: [pulseaudio-discuss] An raop2 support

2013-09-13 Thread Hajime Fujita
Hi Matthias, Thank you for investigation. I'm curious why EAGAIN actually happens. Are we sending packets faster than the network link (I doubt it)? Anyway, I also saw it in my environment while the probability is quite low. As you wrote, my suggestion is to just ignore drop the packet,

Re: [pulseaudio-discuss] [PATCH]raop2: Blocking UDP sockets

2013-09-13 Thread Hajime Fujita
Hi Matthias, Thank you for the patch. However, I don't it's a good idea to do a busy loop here, because 1) it would consume 100% of the CPU time 2) it would block the message loop (I'm not sure about the real implication of this, though) Thanks, Hajime Matthias Wabersich wrote: Hi Anton,