mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
alsa-endpoint: set param on node
This commit is contained in:
parent
ddd185e749
commit
7bce1762de
1 changed files with 5 additions and 1 deletions
|
|
@ -95,7 +95,11 @@ static int client_endpoint_set_session_id(void *object, uint32_t id)
|
||||||
static int client_endpoint_set_param(void *object,
|
static int client_endpoint_set_param(void *object,
|
||||||
uint32_t id, uint32_t flags, const struct spa_pod *param)
|
uint32_t id, uint32_t flags, const struct spa_pod *param)
|
||||||
{
|
{
|
||||||
return -ENOTSUP;
|
struct endpoint *endpoint = object;
|
||||||
|
struct impl *impl = endpoint->obj->monitor->impl;
|
||||||
|
pw_log_debug(NAME " %p: endpoint %p set param %d", impl, endpoint, id);
|
||||||
|
return pw_node_proxy_set_param((struct pw_node_proxy*)endpoint->obj->proxy,
|
||||||
|
id, flags, param);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue