From 41c30d356457c79ade986b51c777c4ef780734ef Mon Sep 17 00:00:00 2001 From: Arun Raghavan Date: Tue, 16 Jul 2024 17:37:53 -0400 Subject: [PATCH] impl-node: Document timing-related pw_node_activation fields Should make the meanings of the fields a bit clearer. --- src/pipewire/private.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/pipewire/private.h b/src/pipewire/private.h index 8c01fe8d5..dd8200649 100644 --- a/src/pipewire/private.h +++ b/src/pipewire/private.h @@ -591,10 +591,12 @@ struct pw_node_activation { struct pw_node_activation_state state[2]; /* one current state and one next state, * as version flag */ - uint64_t signal_time; - uint64_t awake_time; - uint64_t finish_time; - uint64_t prev_signal_time; + uint64_t signal_time; /* time at which the node was triggered (i.e. marked + * as ready to start processing in the current loop + * iteration) */ + uint64_t awake_time; /* time at which processing actually started */ + uint64_t finish_time; /* time at which processing was completed */ + uint64_t prev_signal_time; /* previous time at which the node was triggered */ /* updates */ struct spa_io_segment reposition; /* reposition info, used when driver reposition_owner