mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
audioadapter: return error code from set_param
This commit is contained in:
parent
f1ed12fc8d
commit
4e421e0012
1 changed files with 1 additions and 2 deletions
|
|
@ -2014,9 +2014,8 @@ static int do_auto_port_config(struct impl *this, const char *str)
|
||||||
SPA_PARAM_PORT_CONFIG_monitor, SPA_POD_Bool(monitor),
|
SPA_PARAM_PORT_CONFIG_monitor, SPA_POD_Bool(monitor),
|
||||||
SPA_PARAM_PORT_CONFIG_control, SPA_POD_Bool(control),
|
SPA_PARAM_PORT_CONFIG_control, SPA_POD_Bool(control),
|
||||||
SPA_PARAM_PORT_CONFIG_format, SPA_POD_Pod(param));
|
SPA_PARAM_PORT_CONFIG_format, SPA_POD_Pod(param));
|
||||||
impl_node_set_param(this, SPA_PARAM_PortConfig, 0, param);
|
|
||||||
|
|
||||||
return 0;
|
return impl_node_set_param(this, SPA_PARAM_PortConfig, 0, param);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int impl_get_interface(struct spa_handle *handle, const char *type, void **interface)
|
static int impl_get_interface(struct spa_handle *handle, const char *type, void **interface)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue