[vlc-devel] [PATCH] aout: pulse: use jitter delay
Rémi Denis-Courmont
remi at remlab.net
Tue Feb 5 17:21:51 CET 2019
Le tiistaina 5. helmikuuta 2019, 15.04.07 EET Thomas Guillem a écrit :
> Yes, it's better to use the period as an IN/OUT parameter and let the core
> calculate the jitter from it.
I don't think that messing with audio buffering before the input clock rework
is good or even workable idea. The current values constitute a tradeoff that
mostly works with the current input buffering - it's unlikely that changing it
will do any good at this point.
But in any case, there is no way that the aout can return a jitter value.
Typically, audio works with a period time (or period sample count) and a buffer
time or buffer size. But that's just how hardware most commonly works - I don't
think you can assume and expose that in the abstraction.
And to compute the correct buffering values, the aout needs to know the
packetization time, the maximum buffer duration (if any) and what to optimize
for (low latency or high reliability and low power).
--
Реми Дёни-Курмон
http://www.remlab.net/
More information about the vlc-devel
mailing list