[pulseaudio-discuss] Recording lag
Lennart Poettering
lennart at poettering.net
Wed Aug 26 15:50:03 PDT 2009
On Wed, 26.08.09 16:06, Andrew McNabb (amcnabb at 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 seeing the same latency
> behavior. From the documentation[1], it appears that I need to set the
> PA_STREAM_ADJUST_LATENCY flag ("If it is not set the source latency is
> left unmodified"). Am I understanding this correctly? How do I set
> this flag using the Simple API?
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)
Lennart
--
Lennart Poettering Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/ GnuPG 0x1A015CC4
More information about the pulseaudio-discuss
mailing list