device: pass original seq in async reply

When we get an async reply from the implementer, use the original
seq from the caller in the reply.

Fixes !287
This commit is contained in:
Wim Taymans 2020-07-31 15:19:45 +02:00
parent 5e51cbe48e
commit 5bdd65e066
2 changed files with 4 additions and 2 deletions

View file

@ -532,7 +532,7 @@ static void node_event_info(void *object, const struct pw_node_info *info)
if (info->params[i].flags & SPA_PARAM_INFO_READ) {
pw_log_debug(NAME" %p: node %d enum params %d", impl,
node->obj.id, id);
node->obj.id, id);
pw_node_enum_params((struct pw_node*)node->obj.proxy,
1, id, 0, UINT32_MAX, NULL);
}