mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-09 13:30:06 -05:00
client-node: pass position around
Pass the position from server to clients Implement current time in stream.c using the position info
This commit is contained in:
parent
3d25e254ef
commit
e5629b23f3
6 changed files with 34 additions and 31 deletions
|
|
@ -48,10 +48,7 @@ struct pw_client_node_position {
|
|||
#define PW_VERSION_CLIENT_NODE_POSITION 0
|
||||
uint32_t version;
|
||||
uint32_t seq1, seq2; /**< valid contents when equal */
|
||||
uint64_t nsec; /**< time in nanoseconds */
|
||||
struct spa_fraction rate; /**< rate of the clock */
|
||||
uint32_t position; /**< current position expressed in rate */
|
||||
uint32_t duration; /**< duration of cycle expressed in rate */
|
||||
/* position info follows */
|
||||
};
|
||||
|
||||
#define PW_CLIENT_NODE_PROXY_METHOD_DONE 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue