more async improvements

Make the sequence number an int.

Keep track of the last received seq number and pass it in error
replies.

Pass seq in for_each methods.
This commit is contained in:
Wim Taymans 2019-02-25 16:25:27 +01:00
parent d2c18c7b1a
commit f2ff6f393b
34 changed files with 377 additions and 347 deletions

View file

@ -168,10 +168,10 @@ int pw_node_for_each_port(struct pw_node *node,
void *data);
int pw_node_for_each_param(struct pw_node *node,
uint32_t param_id,
uint32_t seq, uint32_t param_id,
uint32_t index, uint32_t max,
const struct spa_pod *filter,
int (*callback) (void *data,
int (*callback) (void *data, uint32_t seq,
uint32_t id, uint32_t index, uint32_t next,
struct spa_pod *param),
void *data);