From 8f1ebe0c7e0bc96f2dd0fe95d671686b17cc52fe Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 4 Oct 2018 16:32:42 +0200 Subject: [PATCH] client-stream: enum_params works to the client node --- src/modules/module-client-node/client-stream.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/modules/module-client-node/client-stream.c b/src/modules/module-client-node/client-stream.c index 3a148c82f..e4e524180 100644 --- a/src/modules/module-client-node/client-stream.c +++ b/src/modules/module-client-node/client-stream.c @@ -107,7 +107,20 @@ static int impl_node_enum_params(struct spa_node *node, struct spa_pod **result, struct spa_pod_builder *builder) { - return 0; + struct node *this; + struct impl *impl; + int res; + + spa_return_val_if_fail(node != NULL, -EINVAL); + + this = SPA_CONTAINER_OF(node, struct node, node); + impl = this->impl; + + res = spa_node_port_enum_params(impl->cnode, + impl->direction, 0, + id, index, + filter, result, builder); + return res; } static int impl_node_set_param(struct spa_node *node, uint32_t id, uint32_t flags,