Re: [pulseaudio-discuss] [PATCH] pactl: Added unloading modules by name

2012-05-21 Thread Tanu Kaskinen
On Mon, 2012-05-21 at 15:37 +0200, poljari...@gmail.com wrote: > > > +CHECK_VALIDITY(c->pstream, name && *name && pa_utf8_valid(name) > > > && !strchr(name, '/'), tag, PA_ERR_INVALID); > > > > Is this check copied from somewhere? Especially the slash check seems > > odd here. There's a wh

Re: [pulseaudio-discuss] My attempt to reduce latency with pacat and tvtime

2012-05-21 Thread Steven Elliott
On Mon, 2012-05-21 at 18:15 -0500, Pierre-Louis Bossart wrote: > > 1) TVtime (that's what the original poster uses): doesn't handle audio > > at all (but I was told that there is a fork that does), assumes that > > there is a zero-latency analog wire coming from the TV tuner audio > > output to the

Re: [pulseaudio-discuss] My attempt to reduce latency with pacat and tvtime

2012-05-21 Thread Steven Elliott
On Mon, 2012-05-21 at 21:09 +0600, Alexander E. Patrakov wrote: > 2012/5/21 Pierre-Louis Bossart : > > I am not sure if there's really a problem. Increasing the audio latency > > doesn't necessarily result in A/V sync issues. As long as the A/V sync is > > done by querying how many samples are queu

Re: [pulseaudio-discuss] My attempt to reduce latency with pacat and tvtime

2012-05-21 Thread Pierre-Louis Bossart
1) TVtime (that's what the original poster uses): doesn't handle audio at all (but I was told that there is a fork that does), assumes that there is a zero-latency analog wire coming from the TV tuner audio output to the sound card's "TV" input. That's why the OP asks about module-loopback and/o

[pulseaudio-discuss] About My Blog Space

2012-05-21 Thread rong deng
Hi Col, According to your advice, I'm setting my blog up, to track my status and some thoughts during this GSoC project. The URL is http://zhengrong.wordpress.com I'll make everything related to PulseAudio into the category "PulseAudio", so hopefully it would only output the correct RSS. There's

Re: [pulseaudio-discuss] My attempt to reduce latency with pacat and tvtime

2012-05-21 Thread Alexander E. Patrakov
2012/5/21 Pierre-Louis Bossart : > I am not sure if there's really a problem. Increasing the audio latency > doesn't necessarily result in A/V sync issues. As long as the A/V sync is > done by querying how many samples are queued instead of using the number of > samples pushed into PulseAudio, you

Re: [pulseaudio-discuss] My attempt to reduce latency with pacat and tvtime

2012-05-21 Thread Pierre-Louis Bossart
Since I've posted the above I've refined my patch a bit, which I've attached, but I've also explored an additional cause of latency in the PulseAudio server. I've found that, if for some reason, there is an underrun the watermark or latency is increased via increase_watermark() in alsa-source