audioadapter: return error code from set_param

This commit is contained in:
Wim Taymans 2025-03-14 13:26:21 +01:00
parent f1ed12fc8d
commit 4e421e0012

View file

@ -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_control, SPA_POD_Bool(control),
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)