[alsa-devel] [RFC] disabling ALSA period interrupts
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"
> > you mention glitch occur because application cannot rewind appl pointer
> > hardware ptr.
> > In another word, app ptr must be 128/256 bytes ahead of hardware ptr at
> > time to prevent glitch occur. this mean that the glitch was due to DMA
> > 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