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:
Wim Taymans 2018-06-07 11:01:20 +02:00
parent 3d25e254ef
commit e5629b23f3
6 changed files with 34 additions and 31 deletions

View file

@ -225,7 +225,7 @@ struct pw_module {
};
struct pw_driver_quantum {
uint64_t time; /**< time in nanoseconds */
uint64_t nsec; /**< time in nanoseconds */
struct spa_fraction rate; /**< rate */
uint32_t position; /**< current position expressed in rate */
uint32_t size; /**< size of one period expressed in rate */