mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
io: add graph version of graph in position io
This will make it possible to select the right graph before we start processing. The idea is that graph updates happen in a new version and that the switch will to the new updated graph is done when the period starts.
This commit is contained in:
parent
8a9c1129a2
commit
87033894c5
1 changed files with 1 additions and 0 deletions
|
|
@ -130,6 +130,7 @@ struct spa_io_position_video {
|
|||
struct spa_io_position {
|
||||
struct spa_io_clock clock; /**< clock position of driver, always valid and
|
||||
* read only */
|
||||
uint32_t version; /**< current graph version */
|
||||
uint32_t size; /**< size of current cycle expressed in clock.rate */
|
||||
struct spa_fraction rate; /**< overal rate of the graph */
|
||||
#define SPA_IO_POSITION_FLAG_BAR (1<<0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue