[pulseaudio-discuss] [PATCH v4 0/7] bluetooth: Fix Media Endpoint for HandsfreeGateway

2011-10-04 Thread Frédéric Dalleau
Hello, This is the latest version of patches for HandsfreeGateway. Instead of unloading module at disconnect, the profile is set to off using a message sent from IO thread to main thread according to Luiz suggestion. v4 takes into account Arun comments in patch 3! Best regards, Frédéric

[pulseaudio-discuss] [PATCH v4 2/7] bluetooth: Do not unload module-bluetooth-device on ERR or HUP

2011-10-04 Thread Frédéric Dalleau
This happens in the following scenario : An HandsfreeGateway connects RFCOMM and then SCO. A card appears in PA and can be used. If for some reason, SCO is disconnected, module-bluetooth-device is unloaded. The card will disappear, even if RFCOMM is still connected. After that, it is not possible

[pulseaudio-discuss] [PATCH v4 4/7] bluetooth: Set off profile on SCO disconnect

2011-10-04 Thread Frédéric Dalleau
Sends a message from IO thread to main thread using pa_msgobject when POLLERR or POLLHUP is received on SCO socket. --- src/modules/bluetooth/module-bluetooth-device.c | 42 +++ 1 files changed, 42 insertions(+), 0 deletions(-) diff --git

[pulseaudio-discuss] [PATCH v4 5/7] bluetooth: Set hfgw profile when HandsfreeGateway is playing

2011-10-04 Thread Frédéric Dalleau
Allow module-bluetooth-device to listens to HandsfreeGateway state changes using DBUS signals. When an handsfree connects, module-bluetooth-device is loaded and goes to playing state. When the handsfree disconnect audio, the card profile is set to off. If the headset connects audio again after

[pulseaudio-discuss] [PATCH v4 6/7] bluetooth: Use static string in DBUS signal handler description

2011-10-04 Thread Frédéric Dalleau
--- src/modules/bluetooth/module-bluetooth-device.c |7 ++- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/modules/bluetooth/module-bluetooth-device.c b/src/modules/bluetooth/module-bluetooth-device.c index 9dbfc3a..1bbf1bc 100644 ---

Re: [pulseaudio-discuss] [PATCH] doc: Add some more doxygen tags to existing comments

2011-10-04 Thread Colin Guthrie
Thanks, pushed. Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited http://www.tribalogic.net/ Open Source: Mageia Contributor http://www.mageia.org/ PulseAudio Hacker http://www.pulseaudio.org/ Trac Hacker http://trac.edgewall.org/

Re: [pulseaudio-discuss] [PATCH] tests: More useful output of 'make check'

2011-10-04 Thread Colin Guthrie
'Twas brillig, and Maarten Bosmans at 03/10/11 20:17 did gyre and gimble: Instead of spilling thousands of lines of output, make check now runs the test-suite in about 100 lines or so. Furthermore, the test suite now asserts on more failures, so that make check is more useful. Several

Re: [pulseaudio-discuss] Configuring alsa mixers in the off profile.

2011-10-04 Thread Tanu Kaskinen
On Mon, 2011-10-03 at 22:13 +0300, David Henningsson wrote: On 10/03/2011 06:12 PM, Tanu Kaskinen wrote: Hi, I have some hardware that needs some mixer configuration when selecting the off profile for the alsa card in order to save power. Now that I think about it, I'm not sure why the

Re: [pulseaudio-discuss] Configuring alsa mixers in the off profile.

2011-10-04 Thread Tanu Kaskinen
On Mon, 2011-10-03 at 22:21 +0300, Mark Brown wrote: On Mon, Oct 03, 2011 at 09:13:29PM +0200, David Henningsson wrote: On 10/03/2011 06:12 PM, Tanu Kaskinen wrote: I have some hardware that needs some mixer configuration when selecting the off profile for the alsa card in order to save

Re: [pulseaudio-discuss] [PATCH] alsa-card: Handle the profile modarg.

2011-10-04 Thread Tanu Kaskinen
On Mon, 2011-10-03 at 22:18 +0300, David Henningsson wrote: Seems simple enough. What are your thoughts about this module argument vs module-card-restore setting the profile, which one will take precedence and why? I'd say the module argument should take precedence. If I run paplay

Re: [pulseaudio-discuss] [PATCH] tests: More useful output of 'make check'

2011-10-04 Thread Maarten Bosmans
2011/10/4 Colin Guthrie gm...@colin.guthr.ie: 'Twas brillig, and Maarten Bosmans at 03/10/11 20:17 did gyre and gimble: Instead of spilling thousands of lines of output, make check now runs the test-suite in about 100 lines or so. Furthermore, the test suite now asserts on more failures, so

[pulseaudio-discuss] Phonon with strange metalic sounds

2011-10-04 Thread Spidey
Anyone have this problem? Sometimes something happens and phonon start up with some odd configuration, and all KDE system sounds sound metalized, and a little slower than usual. Is that a known phonon bug? Other applications sound ok. Just wanted to confirm the issue here with other PA users

Re: [pulseaudio-discuss] Phonon with strange metalic sounds

2011-10-04 Thread Spidey
Actually, what I thought to be kopete and window sounds, is Skype's sounds. I'll try to debug some more, restarted it a couple times and still sounding strange. Claudio Roberto França Pereira (a.k.a. Spidey) hardMOB - HTForum - @spideybr Engenharia de Computação - UFES 2006/1 On Tue, Oct 4,

Re: [pulseaudio-discuss] Phonon with strange metalic sounds

2011-10-04 Thread Arun Raghavan
On Tue, 2011-10-04 at 22:18 -0300, Spidey wrote: Actually, what I thought to be kopete and window sounds, is Skype's sounds. I'll try to debug some more, restarted it a couple times and still sounding strange. Does this happen after the initial startup. I've seen something like what you happen