Re: [pulseaudio-discuss] [PATCH] protocol-native: Fix srbchannel double-freeing

2014-09-16 Thread David Henningsson
On 2014-09-14 21:06, Tanu Kaskinen wrote: I was able to trigger a crash with some unfinished code that caused a protocol error. The error was handled while pa_pstream_set_srbchannel() had not yet finished, so pa_native_connection.srbpending and pa_pstream.srbpending were both non-NULL. During

Re: [pulseaudio-discuss] who will trigger pa__init() function in pulseaudio

2014-09-16 Thread David Henningsson
On 2014-09-16 07:21, Vinod Rayapudi wrote: Hi, I would like to know some details like, who will trigger pa--Init() function in pulseaudio ? This function will present in each and every module in pulseaudio. Can anyone help me, how this pa__init() will be triggered ? It is called from

Re: [pulseaudio-discuss] [PATCH 0/3] Use a new way to get notifications for Jack and ELD changes

2014-09-16 Thread David Henningsson
On 2014-09-01 16:08, David Henningsson wrote: This began as an investigation of this memleak bug: https://bugs.freedesktop.org/show_bug.cgi?id=74213 Pushed now (no reviews, but no controversial changes). Let me know if it, contrary to expectation, would cause any jack detection or ELD

Re: [pulseaudio-discuss] Pulseaudio's RAOP2 support

2014-09-16 Thread Colin Leroy
On Tue, 16 Sep 2014 00:30:21 -0500, Hajime Fujita crisp.fuj...@nifty.com wrote: Hello Colin and Martin, Hi, (Changing the recipient to the mailing-list so everyone interested can chime in if necessary) I'm really sorry to say that I've been blocking all the progress on this project. If I

Re: [pulseaudio-discuss] who will trigger pa__init() function in pulseaudio

2014-09-16 Thread Vinod Rayapudi
Hi David, Thanks for your input. Before, I would like to request you for any other input, I want to explain the issue which I have been facing. I have connected a phone with both A2DP and Handsfree profiles. During a call, I am invoking source and sink by using pulse audio but I can't hear any

Re: [pulseaudio-discuss] Pulseaudio's RAOP2 support

2014-09-16 Thread Martin Blanchard
On Tue, 2014-09-16 at 09:40 +0200, Colin Leroy wrote: On Tue, 16 Sep 2014 00:30:21 -0500, Hajime Fujita crisp.fuj...@nifty.com wrote: Hello Colin and Martin, Hi, (Changing the recipient to the mailing-list so everyone interested can chime in if necessary) I'm really sorry to say

Re: [pulseaudio-discuss] [PATCH] daemon: Stop session-started PA daemon when exiting X session

2014-09-16 Thread Tanu Kaskinen
On Mon, 2014-09-15 at 12:09 -0300, Felipe Sateler wrote: On Mon, Sep 15, 2014 at 5:50 AM, Tanu Kaskinen tanu.kaski...@linux.intel.com wrote: On Wed, 2014-09-10 at 09:51 -0300, Felipe Sateler wrote: On Wed, Sep 10, 2014 at 6:18 AM, David Henningsson david.hennings...@canonical.com wrote:

Re: [pulseaudio-discuss] [PATCH] protocol-native: Fix srbchannel double-freeing

2014-09-16 Thread Tanu Kaskinen
On Tue, 2014-09-16 at 08:34 +0200, David Henningsson wrote: On 2014-09-14 21:06, Tanu Kaskinen wrote: I was able to trigger a crash with some unfinished code that caused a protocol error. The error was handled while pa_pstream_set_srbchannel() had not yet finished, so

Re: [pulseaudio-discuss] Resampler quality evaluation results

2014-09-16 Thread Laurențiu Nicola
Thanks a lot. For the record, it seems that: 1. Resampling from closer rates yields less distortion that from rates that are far apart. 2. Upsampling distorts more than downsampling. 3. speex-float-3 gives audible distortion even for close rates. I suppose I these results were to

Re: [pulseaudio-discuss] Resampler quality evaluation results

2014-09-16 Thread Alexander E. Patrakov
16.09.2014 17:36, Laurențiu Nicola wrote: Thanks a lot. For the record, it seems that: 1. Resampling from closer rates yields less distortion that from rates that are far apart. 2. Upsampling distorts more than downsampling. 3. speex-float-3 gives audible distortion even for

Re: [pulseaudio-discuss] [PATCH 2/3] bluetooth: Suspend the source/sink the HFP-oFono stream fd HUP

2014-09-16 Thread Tanu Kaskinen
On Mon, 2014-09-15 at 13:02 +0300, Luiz Augusto von Dentz wrote: From: João Paulo Rechi Vita jprv...@openbossa.org --- src/modules/bluetooth/module-bluez5-device.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/src/modules/bluetooth/module-bluez5-device.c

Re: [pulseaudio-discuss] [PATCH 1/3] bluetooth: Implement org.ofono.HandsfreeAudioAgent.NewConnection()

2014-09-16 Thread Tanu Kaskinen
On Mon, 2014-09-15 at 13:02 +0300, Luiz Augusto von Dentz wrote: From: João Paulo Rechi Vita jprv...@openbossa.org --- src/modules/bluetooth/backend-ofono.c | 32 ++-- 1 file changed, 30 insertions(+), 2 deletions(-) Thanks, looks good. Applied. -- Tanu

Re: [pulseaudio-discuss] [PATCH] daemon: Stop session-started PA daemon when exiting X session

2014-09-16 Thread David Henningsson
On 2014-09-15 17:09, Felipe Sateler wrote: On Mon, Sep 15, 2014 at 5:50 AM, Tanu Kaskinen tanu.kaski...@linux.intel.com wrote: On Wed, 2014-09-10 at 09:51 -0300, Felipe Sateler wrote: On Wed, Sep 10, 2014 at 6:18 AM, David Henningsson david.hennings...@canonical.com wrote: On 2014-04-13

Re: [pulseaudio-discuss] [PATCH 3/3] bluetooth: Allow policy module to pick 'off' profile

2014-09-16 Thread Tanu Kaskinen
On Mon, 2014-09-15 at 13:02 +0300, Luiz Augusto von Dentz wrote: @@ -170,6 +167,8 @@ static pa_hook_result_t profile_available_hook_callback(pa_core *c, pa_card_prof pa_assert(profile); pa_assert_se((card = profile-card)); +pa_log_debug(Card '%s' profile '%s' available '%u',

Re: [pulseaudio-discuss] [PATCH] daemon: Stop session-started PA daemon when exiting X session

2014-09-16 Thread Tanu Kaskinen
On Tue, 2014-09-16 at 14:27 +0200, David Henningsson wrote: On 2014-09-15 17:09, Felipe Sateler wrote: On Mon, Sep 15, 2014 at 5:50 AM, Tanu Kaskinen tanu.kaski...@linux.intel.com wrote: On Wed, 2014-09-10 at 09:51 -0300, Felipe Sateler wrote: I would think the daemon is per-session,

[pulseaudio-discuss] [PATCH 3/3] backend-native: add a new native headset backend

2014-09-16 Thread Wim Taymans
Add a simple native headset backend that implements support for the blutooth HSP profile. This allows pulseaudio to output audio to a Headset using the HSP profile. Make the native backend the default. --- configure.ac | 6 +- src/modules/bluetooth/backend-native.c |

[pulseaudio-discuss] [PATCH 0/3] Add simple HSP support in new native backend

2014-09-16 Thread Wim Taymans
This set of patches adds a simple handler for the HSP profile to bluez and makes a new card for each connected device. This makes it possible to send audio to a Headset. The profile is implemented in a new native headset backend. The first 2 patches are mostly some very small cleanups and little

[pulseaudio-discuss] [PATCH 1/3] bluez5-device: use get_profile_direction

2014-09-16 Thread Wim Taymans
Use the get_profile_direction() helper function to decide when to add a source and a sink instead of enumerating profiles. --- src/modules/bluetooth/module-bluez5-device.c | 32 +--- 1 file changed, 15 insertions(+), 17 deletions(-) diff --git

[pulseaudio-discuss] [PATCH 2/3] bluez5-util: add dispose function

2014-09-16 Thread Wim Taymans
Add a dispose function to the transport that is called before freeing the transport. Useful for cleaning up extra userdata. --- src/modules/bluetooth/bluez5-util.c | 2 ++ src/modules/bluetooth/bluez5-util.h | 2 ++ 2 files changed, 4 insertions(+) diff --git

Re: [pulseaudio-discuss] Next pulseaudio release?

2014-09-16 Thread Felipe Sateler
On Thu, Sep 4, 2014 at 10:48 AM, Felipe Sateler fsate...@debian.org wrote: On Thu, Sep 4, 2014 at 5:39 AM, Tanu Kaskinen tanu.kaski...@linux.intel.com wrote: On Tue, 2014-09-02 at 11:17 -0400, Felipe Sateler wrote: On Tue, Sep 2, 2014 at 5:20 AM, Tanu Kaskinen tanu.kaski...@linux.intel.com

Re: [pulseaudio-discuss] [PATCH 2/3] bluetooth: Suspend the source/sink the HFP-oFono stream fd HUP

2014-09-16 Thread Luiz Augusto von Dentz
Hi Tanu, On Tue, Sep 16, 2014 at 3:16 PM, Tanu Kaskinen tanu.kaski...@linux.intel.com wrote: On Mon, 2014-09-15 at 13:02 +0300, Luiz Augusto von Dentz wrote: From: João Paulo Rechi Vita jprv...@openbossa.org --- src/modules/bluetooth/module-bluez5-device.c | 6 ++ 1 file changed, 6

Re: [pulseaudio-discuss] [PATCH 3/3] bluetooth: Allow policy module to pick 'off' profile

2014-09-16 Thread Luiz Augusto von Dentz
Hi Tanu, On Tue, Sep 16, 2014 at 3:35 PM, Tanu Kaskinen tanu.kaski...@linux.intel.com wrote: On Mon, 2014-09-15 at 13:02 +0300, Luiz Augusto von Dentz wrote: @@ -170,6 +167,8 @@ static pa_hook_result_t profile_available_hook_callback(pa_core *c, pa_card_prof pa_assert(profile);

Re: [pulseaudio-discuss] [PATCH 0/5] Add simple HSP support in new native backend

2014-09-16 Thread Luiz Augusto von Dentz
Hi Tanu, On Tue, Sep 16, 2014 at 4:30 PM, Tanu Kaskinen tanu.kaski...@linux.intel.com wrote: On Mon, 2014-09-15 at 14:05 +0200, Georg Chini wrote: Hi, The idea for the native HSP backend is to have a simple implementation without any extra dependencies. It's hard to make ofono work on

Re: [pulseaudio-discuss] [PATCH] daemon: Stop session-started PA daemon when exiting X session

2014-09-16 Thread David Henningsson
On 2014-09-16 15:09, Tanu Kaskinen wrote: On Tue, 2014-09-16 at 14:27 +0200, David Henningsson wrote: On 2014-09-15 17:09, Felipe Sateler wrote: On Mon, Sep 15, 2014 at 5:50 AM, Tanu Kaskinen tanu.kaski...@linux.intel.com wrote: On Wed, 2014-09-10 at 09:51 -0300, Felipe Sateler wrote: I

Re: [pulseaudio-discuss] [PATCH] protocol-native: Fix srbchannel double-freeing

2014-09-16 Thread David Henningsson
On 2014-09-16 13:22, Tanu Kaskinen wrote: On Tue, 2014-09-16 at 08:34 +0200, David Henningsson wrote: On 2014-09-14 21:06, Tanu Kaskinen wrote: I was able to trigger a crash with some unfinished code that caused a protocol error. The error was handled while pa_pstream_set_srbchannel() had

Re: [pulseaudio-discuss] [PATCH 0/5] Add simple HSP support in new native backend

2014-09-16 Thread Georg Chini
On 16.09.2014 16:21, Luiz Augusto von Dentz wrote: Hi Tanu, On Tue, Sep 16, 2014 at 4:30 PM, Tanu Kaskinen tanu.kaski...@linux.intel.com wrote: On Mon, 2014-09-15 at 14:05 +0200, Georg Chini wrote: Hi, The idea for the native HSP backend is to have a simple implementation without any extra

Re: [pulseaudio-discuss] Pulseaudio's RAOP2 support

2014-09-16 Thread Colin Leroy
On 16 September 2014 at 12h09, Martin Blanchard wrote: Hi, I think the big items right now are: - merge Martin's patch into the tree OK, could you send it to me, Martin ? Done. Please let me know if you have difficulties rebasing this on top of 5.0. I've rebased

Re: [pulseaudio-discuss] [PATCH] daemon: Stop session-started PA daemon when exiting X session

2014-09-16 Thread Felipe Sateler
On Tue, Sep 16, 2014 at 11:32 AM, David Henningsson david.hennings...@canonical.com wrote: On 2014-09-16 15:09, Tanu Kaskinen wrote: On Tue, 2014-09-16 at 14:27 +0200, David Henningsson wrote: On 2014-09-15 17:09, Felipe Sateler wrote: On Mon, Sep 15, 2014 at 5:50 AM, Tanu Kaskinen

[pulseaudio-discuss] PulseAudio and OpenAL games: AL lib: pulseaudio.c:331: PulseAudio returned minreq tlength/2; expect break up

2014-09-16 Thread Martin Steigerwald
Hello! Any solution for this? When playing PlaneShift through Pulseaudio while PlaneShift is setup to use OpenAL as sound renderer I get: AL lib: pulseaudio.c:331: PulseAudio returned minreq tlength/2; expect break up and well badly stuttering sound. No matter whether trying with internal

Re: [pulseaudio-discuss] PulseAudio and OpenAL games: AL lib: pulseaudio.c:331: PulseAudio returned minreq tlength/2; expect break up

2014-09-16 Thread Martin Steigerwald
Am Dienstag, 16. September 2014, 22:25:14 schrieb Martin Steigerwald: Hello! Any solution for this? When playing PlaneShift through Pulseaudio while PlaneShift is setup to use OpenAL as sound renderer I get: AL lib: pulseaudio.c:331: PulseAudio returned minreq tlength/2; expect break

Re: [pulseaudio-discuss] Pulseaudio's RAOP2 support

2014-09-16 Thread Colin Leroy
On 16 September 2014 at 18h53, Colin Leroy wrote: Hi, Done. Please let me know if you have difficulties rebasing this on top of 5.0. I've rebased everything to my branch, it seems to work fine for me. Almost fine - the client's seq number, being uint16_t, wraps around 0x in less

Re: [pulseaudio-discuss] Resampler quality evaluation results

2014-09-16 Thread Weedy
On Sep 16, 2014 7:49 AM, Alexander E. Patrakov patra...@gmail.com wrote: I keep promising myself to start working on (3), and I got some high-quality recordings of typical room noise for (2). But for several days, when I come from work, I start wasting time by watching videos or chatting instead

Re: [pulseaudio-discuss] [PATCH v2] core-util: Fail if XDG_RUNTIME_DIR belongs to someone else

2014-09-16 Thread Glenn Golden
David Henningsson david.hennings...@canonical.com [2014-09-16 08:02:50 +0200]: In 5b-c, is it possible that XDG_RUNTIME_DIR was intended? Yes, I meant XDG_RUNTIME_DIR. Sorry for the typo. No problem, just wanted to be sure, thanks for clarifying. But just to prove that no good deed goes