[pulseaudio-discuss] Controlling alsa and pulseaudio buffer size?

Raymond Toy rtoy at google.com
Thu Sep 15 10:51:27 PDT 2011


On Wed, Sep 14, 2011 at 5:21 PM, <pierre-louis.bossart at linux.intel.com>wrote:

>
> >> In my application, I'm using alsa to set a particular buffer size.  Alsa
> >> usually complies, but from everything that I can tell, pulse audio is
> >> using
> >> some other fragment size.  This other fragment size also seems to be the
> >> time betwen interrupts which my application sees.  This messes up my
> >> application because it wants the interrupts at regular intervals based
> >> on
> >> the buffer size I set.
> >>
> >> Is there some way to make alsa and pulseaudio agree on the size?
> >>
> >
> > It is possible to turn off the ALSA period wakes in tschedule mode on
> some
> > hardware. This would allow pulseaudio to manage it.
> >
> > See this thread:
> >
> http://lists.freedesktop.org/archives/pulseaudio-discuss/2011-January/008638.html
>
> Have you played with the ADJUST_LATENCY flag? If it is not set, then the
> total latency will not match the buffer size you configure.
>

I'm using ALSA, so I don't know how to set the ADJUST_LATENCY flag.

Any hints appreciated!

Ray
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20110915/e19a0368/attachment.htm>


More information about the pulseaudio-discuss mailing list