[alsa-devel] Which project to choose?

Raymond Yau superquad.vortex2 at gmail.com
Fri Jul 23 13:51:04 CEST 2010


2010/7/14 David Henningsson <launchpad.web at epost.diwic.se>

> 2010-07-14 13:13, Raymond Yau skrev:
>
> > localhost pulseaudio[24553]: alsa-util.c:   appl_ptr     : 735801008
> > localhost pulseaudio[24553]: alsa-util.c:   hw_ptr       : 735846184
> >
> > This is underrun as you can see appl_ptr is behing hw_ptr
>
> Ehm, isn't that a ring buffer? I e, there is nothing wrong with appl_ptr
> being less than hw_ptr.
>
> > However PA server had disabled the underrun detection.
>
> Please clarify. If you're talking about my patch (disable underruns in
> alsa-plugins) here, it has nothing to do with this situation (PA
> complaining about its back-end).
>
> The situation above probably isn't even an underrun.
>


The other possible reason may be PA did not handle clock drifting properly

how did PA calculate the sleeping time using 44100 or 1445100000/32768 ? ,

ens1371 's clock is running faster than the system clock

localhost pulseaudio[24553]: alsa-util.c:   rate         : 44100
localhost pulseaudio[24553]: alsa-util.c:   exact rate   : 44101
(1445100000/32768)


More information about the Alsa-devel mailing list