mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
client-stream: enum_params works to the client node
This commit is contained in:
parent
8de1d03feb
commit
8f1ebe0c7e
1 changed files with 14 additions and 1 deletions
|
|
@ -107,7 +107,20 @@ static int impl_node_enum_params(struct spa_node *node,
|
||||||
struct spa_pod **result,
|
struct spa_pod **result,
|
||||||
struct spa_pod_builder *builder)
|
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,
|
static int impl_node_set_param(struct spa_node *node, uint32_t id, uint32_t flags,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue