Re: [pulseaudio-discuss] [PATCH] alsa-mixer: Get rid of a compiler warning.

2011-03-28 Thread Colin Guthrie
'Twas brillig, and Tanu Kaskinen at 27/03/11 19:35 did gyre and gimble: On 64-bit systems LONG_MAX is greater than the largest possible value of a uint32_t variable, which caused the compiler to warn about a comparison that is always false. On 32-bit systems pa_atou() can return a value that

Re: [pulseaudio-discuss] [PATCH] .gitignore: Add ChangeLog to the ignore list.

2011-03-28 Thread Colin Guthrie
'Twas brillig, and Tanu Kaskinen at 27/03/11 17:14 did gyre and gimble: --- .gitignore |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/.gitignore b/.gitignore index 85c0fe5..3a840d9 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,4 @@ libtool ltmain.sh

[pulseaudio-discuss] Any patches for stable-queue?

2011-03-28 Thread Colin Guthrie
Hi, We're gonna do a stable-queue release pretty soon just to (hopefully) wind up the 0.9.x series. Anybody have patches they want to nominate for the stable-queue branch? Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited

[pulseaudio-discuss] Race condition in threaded mainloop

2011-03-28 Thread Daniel Mack
Hi, when developing PulseAudio clients with a threaded mainloop (on OS X in my case), I came across an effect which causes my client to crash out early with a failed assertion like Assertion 'c-defer_event == e' failed at pulsecore/socket-client.c:172, function connect_defer_cb(). Aborting.

Re: [pulseaudio-discuss] Help with pulsaudio

2011-03-28 Thread Sean McNamara
Hi, I'm replying to Amgad via Daniel's quotation of Amgad's reply to Daniel: On Mon, Mar 28, 2011 at 5:54 AM, Daniel Mack zon...@gmail.com wrote: Hi Amgad, On Mon, Mar 28, 2011 at 10:26 AM, Yousif, Amgad (UK) amgad.you...@baesystems.com wrote: Sorry about that I tried to find individual

[pulseaudio-discuss] [PATCH] cork-on-phone: Handle sink-inputs with NULL sinks

2011-03-28 Thread Arun Raghavan
It's possible that by the time we receive the unlink hook, the given sink-input's sink is set to NULL. Handle this gracefully. --- src/modules/module-cork-music-on-phone.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/modules/module-cork-music-on-phone.c

Re: [pulseaudio-discuss] [PATCH] cork-on-phone: Handle sink-inputs with NULL sinks

2011-03-28 Thread Colin Guthrie
'Twas brillig, and Arun Raghavan at 28/03/11 12:09 did gyre and gimble: It's possible that by the time we receive the unlink hook, the given sink-input's sink is set to NULL. Handle this gracefully. --- src/modules/module-cork-music-on-phone.c |3 +++ 1 files changed, 3 insertions(+), 0

[pulseaudio-discuss] [PATCH 0/5] SCO over PCM fixes

2011-03-28 Thread Tanu Kaskinen
Here are some fixes for the bluetooth SCO over PCM functionality. The patches are old (except the one that removes the #ifdefs), so they should be pretty well tested in Maemo. Rebasing on top of new upstream code isn't tested, though, because I don't have a good setup for that. Marc-André Lureau

[pulseaudio-discuss] [PATCH 1/5] bluetooth: Drop all #ifdef NOKIA directives.

2011-03-28 Thread Tanu Kaskinen
The #ifdefs only added clutter. I don't see any reason to not compile the SCO over PCM support in all the time. --- src/modules/bluetooth/module-bluetooth-device.c | 57 +++--- 1 files changed, 8 insertions(+), 49 deletions(-) diff --git

[pulseaudio-discuss] [PATCH 2/5] bluetooth: use sco_sink/source to start with right state

2011-03-28 Thread Tanu Kaskinen
From: Marc-André Lureau marc-andre.lur...@nokia.com Note from Tanu Kaskinen: I resolved some conflicts with newer upstream code, so if this patch is broken, blame me.. --- src/modules/bluetooth/module-bluetooth-device.c | 39 +- 1 files changed, 23 insertions(+), 16

[pulseaudio-discuss] [PATCH 4/5] bluetooth: restore original sco_{sink, src}-set_volume when unloading

2011-03-28 Thread Tanu Kaskinen
From: Marc-André Lureau marc-andre.lur...@nokia.com --- src/modules/bluetooth/module-bluetooth-device.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/modules/bluetooth/module-bluetooth-device.c b/src/modules/bluetooth/module-bluetooth-device.c index

[pulseaudio-discuss] [PATCH 3/5] bluetooth: fix set_volume_cb on sco over pcm

2011-03-28 Thread Tanu Kaskinen
From: Marc-André Lureau marc-andre.lur...@nokia.com The current implementation is totally bogus, it cast the over_sink userdata to the bluetooth-device userdata... It was failing nicely because the previous code had a gentle safe-guard in u-profile == PROFILE_HSP, and u-profile was just random.

[pulseaudio-discuss] [PATCH 5/5] bluetooth: Refuse to use the HSP profile if there is some other HSP device active.

2011-03-28 Thread Tanu Kaskinen
From: Tanu Kaskinen ext-tanu.kaski...@nokia.com --- src/modules/bluetooth/module-bluetooth-device.c | 126 +-- 1 files changed, 93 insertions(+), 33 deletions(-) diff --git a/src/modules/bluetooth/module-bluetooth-device.c b/src/modules/bluetooth/module-bluetooth-device.c

[pulseaudio-discuss] [PATCH] module-jack-sink/source: protect against null return in jack_get_ports

2011-03-28 Thread David Henningsson
Just picking up a crash report from Ubuntu, here's the result. -- David Henningsson, Canonical Ltd. http://launchpad.net/~diwic From 934c52c79bb6faed56a64d6e15f9b285f687afee Mon Sep 17 00:00:00 2001 From: David Henningsson david.hennings...@canonical.com Date: Mon, 28 Mar 2011 14:30:44 +0200

Re: [pulseaudio-discuss] [PATCH] module-jack-sink/source: protect against null return in jack_get_ports

2011-03-28 Thread Colin Guthrie
'Twas brillig, and David Henningsson at 28/03/11 14:16 did gyre and gimble: Just picking up a crash report from Ubuntu, here's the result. Thanks. In my tree now. Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited [http://www.tribalogic.net/]

Re: [pulseaudio-discuss] [PATCH 5/5] bluetooth: Refuse to use the HSP profile if there is some other HSP device active.

2011-03-28 Thread Luiz Augusto von Dentz
Hi Tanu, On Mon, Mar 28, 2011 at 3:35 PM, Tanu Kaskinen tanu.kaski...@digia.com wrote: From: Tanu Kaskinen ext-tanu.kaski...@nokia.com ---  src/modules/bluetooth/module-bluetooth-device.c |  126 +--  1 files changed, 93 insertions(+), 33 deletions(-) diff --git

Re: [pulseaudio-discuss] [PATCH] sbc_math.h: add explicit check for ARMv6 instructions

2011-03-28 Thread Luiz Augusto von Dentz
Hi, On Fri, Mar 25, 2011 at 1:34 PM, Paul Menzel paulepan...@users.sourceforge.net wrote: Dear Arun, Am Samstag, den 19.03.2011, 16:14 +0530 schrieb Arun Raghavan: On Wed, 2011-02-23 at 01:07 +0530, Arun Raghavan wrote: [...] The correct fix for this, imo, is in bluez (there is a new

Re: [pulseaudio-discuss] Help with pulsaudio

2011-03-28 Thread Maarten Bosmans
Please reply to the list. 2011/3/28 Yousif, Amgad (UK) amgad.you...@baesystems.com: Hi Maarten, I already looked at the networking page very well and couldn't see how any section on that could help with what im trying to do!. I am trying to build a Ubuntu 10.10 server which I can remotely

Re: [pulseaudio-discuss] [PATCH] sbc_math.h: add explicit check for ARMv6 instructions

2011-03-28 Thread Paul Menzel
Dear BlueZ folks, Am Montag, den 28.03.2011, 18:41 +0300 schrieb Luiz Augusto von Dentz: On Fri, Mar 25, 2011 at 1:34 PM, Paul Menzel wrote: Am Samstag, den 19.03.2011, 16:14 +0530 schrieb Arun Raghavan: On Wed, 2011-02-23 at 01:07 +0530, Arun Raghavan wrote: [...] The correct fix

[pulseaudio-discuss] 2 sound devices, one mostly won't play, but works

2011-03-28 Thread Doug
Hello, group--I'm a newbie here. Running PCLOS with KDE 4.6.1. I recently decided that I wanted to be able to try out SKYPE, and I don't want to move cables around, so, since I had an old sound card, I plugged it in. Up til then, sound was on MOBO and worked fine. Now sound only comes out p/i

Re: [pulseaudio-discuss] 2 sound devices, one mostly won't play, but works

2011-03-28 Thread Patrick Shirkey
On 03/29/2011 12:52 PM, Doug wrote: Hello, group--I'm a newbie here. Running PCLOS with KDE 4.6.1. I recently decided that I wanted to be able to try out SKYPE, and I don't want to move cables around, so, since I had an old sound card, I plugged it in. Up til then, sound was on MOBO and

Re: [pulseaudio-discuss] 2 sound devices, one mostly won't play, but works

2011-03-28 Thread Doug
On 03/28/2011 11:09 PM, Patrick Shirkey wrote: On 03/29/2011 12:52 PM, Doug wrote: Hello, group--I'm a newbie here. Running PCLOS with KDE 4.6.1. I recently decided that I wanted to be able to try out SKYPE, and I don't want to move cables around, so, since I had an old sound card, I plugged

Re: [pulseaudio-discuss] 2 sound devices, one mostly won't play, but works

2011-03-28 Thread Doug
On 03/29/2011 01:26 AM, Doug wrote: /snip/ The only way I get any kind of sound out of the top port is when I move the volume sliders, and the speakers go bong every time I do it. /snip/ I have to modify the above statement a little. I get sound out of the top port speakers--the bong

Re: [pulseaudio-discuss] 2 sound devices, one mostly won't play, but works

2011-03-28 Thread Doug
On 03/29/2011 01:26 AM, Doug wrote: Here I am again: Now the top sliders control the volume on the bottom port. I don't know shat I did. I still can't get any sound out of the speaker connected to the top port, but I can get the bonging noise on the headphones of the second port. Actually,