Re: [pulseaudio-discuss] Recording lag

2009-08-27 Thread Andrew McNabb
You cannot pass that flag in the simple API. In recent versions of PA it is enabled by default in the simple API. (not sure when exactly i changed that, might be 0.9.15 or .16) It must be 0.9.16 because I have .15. :) I'll try grabbing a newer RPM from Rawhide. Thanks. -- Andrew McNabb

Re: [pulseaudio-discuss] Recording lag

2009-08-27 Thread Colin Guthrie
'Twas brillig, and Andrew McNabb at 27/08/09 18:08 did gyre and gimble: You cannot pass that flag in the simple API. In recent versions of PA it is enabled by default in the simple API. (not sure when exactly i changed that, might be 0.9.15 or .16) It must be 0.9.16 because I have .15. :)

Re: [pulseaudio-discuss] Recording lag

2009-08-27 Thread Andrew McNabb
I'll try grabbing a newer RPM from Rawhide. Thanks. Be careful there! .16 needs new kernel and new udev too. Ouch. Yum said that it would need to install 42 packages and update 180 packages (248 M download size). I guess I'm not doing that. :) I made and tested a patch to the 0.9.15

[pulseaudio-discuss] Recording lag

2009-08-26 Thread Andrew McNabb
I've recently started using the PulseAudio Simple API. Overall I've been very happy, but I'm having a minor problem. I'm sure it's my fault, but I can't figure out what I'm doing wrong. I'm using the Simple API to record audio samples. My problem is that the data seem to come in bursts instead

Re: [pulseaudio-discuss] Recording lag

2009-08-26 Thread Lennart Poettering
On Wed, 26.08.09 10:12, Andrew McNabb (amcn...@mcnabbs.org) wrote: I've recently started using the PulseAudio Simple API. Overall I've been very happy, but I'm having a minor problem. I'm sure it's my fault, but I can't figure out what I'm doing wrong. I'm using the Simple API to record

Re: [pulseaudio-discuss] Recording lag

2009-08-26 Thread Andrew McNabb
Lennart, thank you for explaining pa_buffer_attr. Since I'm doing recording, I assume that I should be setting fragsize instead of tlength. Is that right? I've tried setting fragsize, and I'm still seeing the same latency behavior. From the documentation[1], it appears that I need to set the

Re: [pulseaudio-discuss] Recording lag

2009-08-26 Thread Lennart Poettering
On Wed, 26.08.09 16:06, Andrew McNabb (amcn...@mcnabbs.org) wrote: Lennart, thank you for explaining pa_buffer_attr. Since I'm doing recording, I assume that I should be setting fragsize instead of tlength. Is that right? Yes, you are right. I've tried setting fragsize, and I'm still