Re: [pulseaudio-discuss] module combine not respecting requested latencies

2011-05-11 Thread Maarten Lankhorst
Hello, Maarten Bosmans wrote: Please have another look at your patch. This is setting BLOCK_USEC to 10 seconds, not ms. Moreover, I don't think BLOCK_USEC is related in any way to the default adjust_time, so if changing BLOCK_USEC, better set it to some other hardcoded value, to avoid the su

[pulseaudio-discuss] module combine not respecting requested latencies

2011-05-09 Thread Maarten Lankhorst
Hi all, I was toying around with the combine module, but it appears it adds a lot latency for no good reason, changing it from 200 ms to 10 ms makes some applications like wine happier. I wanted to see if I could fix it myself, but I must admit I don't understand what the various parts of tha

Re: [pulseaudio-discuss] underrun behavior with alsa-plugins

2011-04-20 Thread Maarten Lankhorst
Hey, Op 20-04-11 15:18, David Henningsson schreef: However if I force underruns to occur,the state will stay running and it appears there is still some data left in the buffer, so sound stalls entirely. This is nothing I've heard of. Sadly all too common here, if I feed data and it underruns,

Re: [pulseaudio-discuss] underrun behavior with alsa-plugins

2011-04-20 Thread Maarten Lankhorst
Hi David, Op 20-04-11 09:33, David Henningsson schreef: On 2011-04-19 18:12, Maarten Lankhorst wrote: Hi all, For wine I was investigating a bug with pulseaudio, it seems alsa-plugins' pulse driver ignores underruns. Hmm, doesn't wine come with a native pulse driver these days?

[pulseaudio-discuss] underrun behavior with alsa-plugins

2011-04-19 Thread Maarten Lankhorst
Hi all, For wine I was investigating a bug with pulseaudio, it seems alsa-plugins' pulse driver ignores underruns. This is probably because an underrun will force you to call snd_pcm_prepare, this will destroy the stream and set up a similar new one again. This causes more susceptibility to u

Re: [pulseaudio-discuss] [PATCH] bluetooth: Allow frame length changes when decoding a2dp

2011-03-05 Thread Maarten Lankhorst
Hey, Op 05-03-11 12:04, Colin Guthrie schreef: 'Twas brillig, and Luiz Augusto von Dentz at 04/03/11 23:24 did gyre and gimble: Hi, On Fri, Mar 4, 2011 at 10:48 AM, Maarten Lankhorst wrote: My android phone sends packets with a different frame length than the decoder initially ex

Re: [pulseaudio-discuss] [PATCH] bluetooth: Allow frame length changes when decoding a2dp

2011-03-04 Thread Maarten Lankhorst
Hey Luiz, Op 05-03-11 00:24, Luiz Augusto von Dentz schreef: Hi, On Fri, Mar 4, 2011 at 10:48 AM, Maarten Lankhorst wrote: My android phone sends packets with a different frame length than the decoder initially expects, since libsbc already allows this case, just check the current frame

[pulseaudio-discuss] [PATCH] bluetooth: Do not stop decoding because of a crc error

2011-03-04 Thread Maarten Lankhorst
7078 Mon Sep 17 00:00:00 2001 From: Maarten Lankhorst Date: Fri, 4 Mar 2011 14:43:58 +0100 Subject: [PATCH 2/2] bluetooth: Do not stop decoding because of a crc error --- src/modules/bluetooth/module-bluetooth-device.c |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --g

[pulseaudio-discuss] [PATCH] bluetooth: Allow frame length changes when decoding a2dp

2011-03-04 Thread Maarten Lankhorst
My android phone sends packets with a different frame length than the decoder initially expects, since libsbc already allows this case, just check the current frame length. --- >From d98ec65d36fad5e523703350485d323926e82bb6 Mon Sep 17 00:00:00 2001 From: Maarten Lankhorst Date: Fri, 4 Mar 2

Re: [pulseaudio-discuss] [PATCH] bluetooth: Fix rendering a2dp data

2010-12-14 Thread Maarten Lankhorst
Hi Luiz, Op 13-12-10 09:55, Luiz Augusto von Dentz schreef: Hi, On Sat, Dec 11, 2010 at 1:05 AM, Maarten Lankhorst wrote: makes my android phone slightly happier --- src/modules/bluetooth/module-bluetooth-device.c | 11 --- 1 files changed, 8 insertions(+), 3 deletions

[pulseaudio-discuss] RFC: changes to bluetooth

2010-12-11 Thread Maarten Lankhorst
Hi all, I've been working on bluetooth for the fun of it, using my pc as a media player for my phone. However one thing not handled well currently is underruns. They can occur because the phone is not in range, or some packets fail to decode. How should I respond to underruns? The delta calc

[pulseaudio-discuss] [PATCH] module-loopback: Prevent an infinite loop when rate adjusting is disabled

2010-12-11 Thread Maarten Lankhorst
--- src/modules/module-loopback.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/modules/module-loopback.c b/src/modules/module-loopback.c index d94ea93..fee17f4 100644 --- a/src/modules/module-loopback.c +++ b/src/modules/module-loopback.c @@ -503,7 +503,8 @@ stati

[pulseaudio-discuss] [PATCH] bluetooth: Fix rendering a2dp data

2010-12-10 Thread Maarten Lankhorst
makes my android phone slightly happier --- src/modules/bluetooth/module-bluetooth-device.c | 11 --- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/modules/bluetooth/module-bluetooth-device.c b/src/modules/bluetooth/module-bluetooth-device.c index 6d31c1e..8664001 1

[pulseaudio-discuss] [PATCH] bluetooth: Fix a2dp processing

2010-12-10 Thread Maarten Lankhorst
--- src/modules/bluetooth/module-bluetooth-device.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/modules/bluetooth/module-bluetooth-device.c b/src/modules/bluetooth/module-bluetooth-device.c index c7ac7fa..6d31c1e 100644 --- a/src/modules/bluetooth/module-bluetoot

Re: [pulseaudio-discuss] rtkit: add pid as argument

2010-05-08 Thread Maarten Lankhorst
Hello, 2010/5/7 David Henningsson : > > On 2010-04-25 22:11, Lennart Poettering wrote: >> On Sun, 25.04.10 21:41, David Henningsson (launchpad@epost.diwic.se) >> wrote: >> >>> which handle corresponds to the thread, or even if that handle is local or not. Wineserver controls this in

Re: [pulseaudio-discuss] rtkit: add pid as argument

2010-05-04 Thread Maarten Lankhorst
:00 2001 From: Maarten Lankhorst Date: Wed, 5 May 2010 00:50:08 +0200 Subject: [PATCH] rtkit: Add WithPID functions to allow setting scheduler remotely --- rtkit-daemon.c | 70 +-- 1 files changed, 52 insertions(+), 18 deletions(-) diff --gi

Re: [pulseaudio-discuss] rtkit: add pid as argument

2010-04-24 Thread Maarten Lankhorst
Hello Lennart, On 25-04-10 01:42, Lennart Poettering wrote: On Sat, 24.04.10 01:18, Maarten Lankhorst (m.b.lankho...@gmail.com) wrote: I'm not sure if I have the right mailing list, since there doesn't appear to be a a mailing list for rtkit. This is a patch that would allow

[pulseaudio-discuss] rtkit: add pid as argument

2010-04-24 Thread Maarten Lankhorst
I'm not sure if I have the right mailing list, since there doesn't appear to be a a mailing list for rtkit. This is a patch that would allow you to set the realtime priority for another process then the one calling rtkit over dbus. This can be useful for a 'setsched' like utility, or for wine.