mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
port to meson
This commit is contained in:
parent
924824d0a3
commit
67dd3adb87
69 changed files with 1056 additions and 999 deletions
|
|
@ -554,11 +554,17 @@ do_start (PinosLink *this, SpaNodeState in_state, SpaNodeState out_state)
|
|||
} else {
|
||||
pinos_link_update_state (this, PINOS_LINK_STATE_PAUSED);
|
||||
|
||||
if (in_state == SPA_NODE_STATE_PAUSED)
|
||||
if (in_state == SPA_NODE_STATE_PAUSED) {
|
||||
pinos_node_set_state (this->input_node, PINOS_NODE_STATE_RUNNING);
|
||||
if (pinos_node_get_state (this->input_node) != PINOS_NODE_STATE_RUNNING)
|
||||
res = SPA_RESULT_RETURN_ASYNC (0);
|
||||
}
|
||||
|
||||
if (out_state == SPA_NODE_STATE_PAUSED)
|
||||
if (out_state == SPA_NODE_STATE_PAUSED) {
|
||||
pinos_node_set_state (this->output_node, PINOS_NODE_STATE_RUNNING);
|
||||
if (pinos_node_get_state (this->output_node) != PINOS_NODE_STATE_RUNNING)
|
||||
res = SPA_RESULT_RETURN_ASYNC (0);
|
||||
}
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue