From f9c21789dcfd84330ef740709c3bc8370276976c Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 22 Aug 2023 13:21:16 +0200 Subject: [PATCH] stream: improve docs a little more --- src/pipewire/stream.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/pipewire/stream.h b/src/pipewire/stream.h index 2f447a378..31793fa91 100644 --- a/src/pipewire/stream.h +++ b/src/pipewire/stream.h @@ -261,12 +261,15 @@ struct pw_stream_control { * (pw_time.buffered * 1000 / stream.samplerate) + * (pw_time.queued * 1000 / app.rate) + * ((pw_time.delay - elapsed) * 1000 * pw_time.rate.num / pw_time.rate.denom) + *\endcode * * The current extrapolated time (in ms) in the source or sink can be calculated as: * + *\code{.unparsed} * (pw_time.ticks + elapsed) * 1000 * pw_time.rate.num / pw_time.rate.denom *\endcode * + * Below is an overview of the different timing values: * *\code{.unparsed} * stream time domain graph time domain