node: add a cycle counter to the position

So that we can count the number of times the graph is scheduled.
This commit is contained in:
Wim Taymans 2024-04-04 20:47:43 +02:00
parent f366167278
commit 0633be3c12
2 changed files with 5 additions and 3 deletions

View file

@ -148,7 +148,7 @@ struct spa_io_clock {
uint64_t target_duration; /**< Target duration of next cycle */
uint32_t target_seq; /**< Seq counter. must be equal at start and
* end of read and lower bit must be 0 */
uint32_t padding;
uint32_t cycle; /**< incremented each time the graph is started */
uint64_t xrun; /**< Estimated accumulated xrun duration */
};