[pulseaudio-tickets] [Bug 84878] protocol-native: I get endless underruns when I playback when alsa buffer size is small

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Oct 10 17:52:08 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=84878

--- Comment #1 from Raymond <superquad.vortex2 at gmail.com> ---
seem your sound card support DMA_RESIDUE_GRANULARITY_SEGMENT if the residue
Residue is updated after each successfully completed segment of the transfer

as your sound card does not have hardware register to count the number of dma
transfer

https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/tree/include/linux/dmaengine.h


@DMA_RESIDUE_GRANULARITY_SEGMENT: Residue is updated after each successfully
 *  completed segment of the transfer (For cyclic transfers this is after each
 *  period). This is typically implemented by having the hardware generate an
 *  interrupt after each transferred segment and then the drivers updates the
 *  outstanding residue by the size of the segment. Another possibility is if
 *  the hardware supports scatter-gather and the segment descriptor has a field
 *  which gets set after the segment has been completed. The driver then counts
 *  the number of segments without the flag set to compute the residue.
 * @DMA_RESIDUE_GRANULARITY_BURST: Residue is updated after each transferred
 *  burst. This is typically only supported if the hardware has a progress
 *  register of some sort (E.g. a register with the current read/write address
 *  or a register with the amount of bursts/beats/bytes that have been
 *  transferred or still need to be transferred).

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20141011/49eb93f4/attachment.html>


More information about the pulseaudio-bugs mailing list