mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
improve debug and error handling
This commit is contained in:
parent
6c7d2d0e1e
commit
d27674722a
6 changed files with 25 additions and 19 deletions
|
|
@ -173,7 +173,8 @@ static int impl_node_set_param(struct spa_node *node, uint32_t id, uint32_t flag
|
|||
if (impl->started)
|
||||
return -EIO;
|
||||
if (impl->adapter != impl->cnode) {
|
||||
spa_node_set_param(impl->adapter, id, flags, param);
|
||||
if ((res = spa_node_set_param(impl->adapter, id, flags, param)) < 0)
|
||||
return res;
|
||||
|
||||
if (this->callbacks && this->callbacks->event)
|
||||
this->callbacks->event(this->callbacks_data,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue