Re: [pulseaudio-discuss] pa_simple_free

2011-04-08 Thread patrick
Arun thank you very much for this! It works perfectly, it only means one thing, our program is buggy. We are using a thread also (pthread), i am not sure why, but PulseAudio stop at pa_mutex_lock. We cannot finish our thread before PulseAudio finish his. Any advice is more than welcome. Pat

Re: [pulseaudio-discuss] [PATCH] call-state-tracker: New component.

2011-04-08 Thread Jyri Sarha
On Tue, 5 Apr 2011, Maarten Bosmans wrote: What are the users of this state tracker? Is it only some out-of-tree Meego modules? Are you planning to submit those too? At least a snippet of how it should be used would be nice. Hi Maarten, To answer your question about upstreaming the meego

[pulseaudio-discuss] [PATCH 0/4] Miscellaneous patches from Meamo and Meego development

2011-04-08 Thread oku
From: Jyri Sarha jyri.sa...@nokia.com This is a collection of patches which I never got around to try to get to the upstream before. All but the last one have been in use in Maemo/Meego for several months without any problems at least in that context. Anyway, as far as I can see these patches

[pulseaudio-discuss] [PATCH 1/4] protocol-native: Stop auto timing updates if connected to suspended sink or source

2011-04-08 Thread oku
From: Jyri Sarha jyri.sa...@nokia.com This quite is an old patch. It was added to N900 to avoid unnecessary wake-ups when the phone is in power save mode (= blank screen and no user interaction). In this situation if the user had a browser window with flash animation open pulseaudio kept waking

[pulseaudio-discuss] [PATCH 2/4] suspend-on-idle: Trigger mempool vacuuming

2011-04-08 Thread oku
From: Jyri Sarha jyri.sa...@nokia.com In a setup with one or more filter sinks or sources there is always at least one stream existing. In such a situation normal mempool vacuuming never happens. This patch causes suspend-on-idle module to vacuum memory when ever it notices that all sinks and

[pulseaudio-discuss] [PATCH 3/4] core: no rewinding on volume change if the sink does not support it.

2011-04-08 Thread oku
From: Jyri Sarha jyri.sa...@nokia.com No volume is applied to a stream before pa_sink_render or some it's siblings is called. Because of this there is no use to rewind on volume change if the sink does not support it. It is just a waste of CPU. --- src/pulsecore/sink-input.c |6 --

[pulseaudio-discuss] [PATCH 4/4] alsa-mixer: Add force-hw-volume flag to alsa profile sets

2011-04-08 Thread oku
From: Jyri Sarha jyri.sa...@nokia.com Before this patch, if any of the paths in a path set do not support HW volume then the HW volume is disabled for the whole set. In some cases this is a bit drastic measure. For instance, if all but one of the paths support HW volume and dB there no problem to

Re: [pulseaudio-discuss] [PATCH 3/4] core: no rewinding on volume change if the sink does not support it.

2011-04-08 Thread Colin Guthrie
'Twas brillig, and o...@iki.fi at 08/04/11 15:18 did gyre and gimble: From: Jyri Sarha jyri.sa...@nokia.com No volume is applied to a stream before pa_sink_render or some it's siblings is called. Because of this there is no use to rewind on volume change if the sink does not support it. It

Re: [pulseaudio-discuss] [PATCH 4/4] alsa-mixer: Add force-hw-volume flag to alsa profile sets

2011-04-08 Thread Colin Guthrie
'Twas brillig, and o...@iki.fi at 08/04/11 15:18 did gyre and gimble: From: Jyri Sarha jyri.sa...@nokia.com Before this patch, if any of the paths in a path set do not support HW volume then the HW volume is disabled for the whole set. In some cases this is a bit drastic measure. For

[pulseaudio-discuss] starting multiple pulseaudio instances for the same user

2011-04-08 Thread Antoine Martin
Hi, How can I start multiple copies of pulseaudio for the same $USER, but in different contexts? This was working a while back (last year or so - not sure about version numbers).. but doesn't any more? My software starts a virtual X server (xpra, vnc..), dbus and a dedicated pulseaudio server

Re: [pulseaudio-discuss] [RFC] Pulseaudio jack sense

2011-04-08 Thread pl bossart
I've not looked specifically at the code, but I'd have expected that jack detection would somehow be built into module-alsa-card or module-alsa-source/sink rather than shipped as a separate module (tho' I'm maybe not appreciating some intricacy here)... I'll try and review the code soon