[alsa-devel] [RFC] disabling ALSA period interrupts

Raymond Yau superquad.vortex2 at gmail.com
Fri May 14 06:03:23 CEST 2010

2010/5/14 pl bossart <bossart.nospam at gmail.com>

> > Refer to your patch "add rewind-safeguard parameter"
> >
> >
> http://git.0pointer.de/?p=pulseaudio.git;a=commit;h=4df443bbe682055a41e7c2248877dcc7682a69b8
> >
> > you mention glitch occur because application cannot rewind appl pointer
> to
> > hardware ptr.
> >
> > In another word, app ptr must be 128/256 bytes ahead of hardware ptr at
> any
> > time to prevent glitch occur. this mean that the glitch was due to DMA
> brust
> > size since "PulseAudio modilfies its watermark when underflows occur".
> Man, you are seriously confused. You ought to do some reading, look at
> the code, use your brain and figure things out instead of spamming
> this thread.

your patch are adjust the watermark before unnder occur  to prevent glitch ,
not as you said "PA adjust watermark until underrun occur"

" PulseAudio modilfies its watermark when underflows occur so that more time
is allocated to refilling the ring buffer."

This model cannot be called as "Glitch free model" ,

A "Glicth free model" have to prevent any underrun occur at any time

More information about the Alsa-devel mailing list