mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
node: also IDLE when not active
Inactive nodes can be set to IDLE
This commit is contained in:
parent
972b843851
commit
7b13ba202b
1 changed files with 1 additions and 1 deletions
|
|
@ -1822,7 +1822,7 @@ int pw_impl_node_set_state(struct pw_impl_node *node, enum pw_node_state state)
|
|||
break;
|
||||
|
||||
case PW_NODE_STATE_IDLE:
|
||||
if (node->active && impl->pause_on_idle)
|
||||
if (impl->pause_on_idle)
|
||||
res = pause_node(node);
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue