[pulseaudio-discuss] alsa sink latency - how to account for startup delay

Raymond Yau superquad.vortex2 at gmail.com
Wed Apr 13 15:06:09 UTC 2016


>
>> do loopback module assume sink is not running when it start source
capture?
>>
> Sink and source are started independently. Source data is discarded until
the sink-input has
> called pop() the first time.

But you cannot skip more than 9ms source data since you need 1ms( or  25ms
fragment time when not using timer schedule mode)  to capture

If you are using usb as source and hda as sink, hda fifo trigger dma
transfer whenever the fifo fill level is less than fifo threshold, you need
to fill 256 bytes at first write to avoid fifo underrun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20160413/61ba4f03/attachment.html>


More information about the pulseaudio-discuss mailing list