mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
node: send Suspend to the node
Send suspend to the node when suspending. This is usually the same as puse for all nodes. Implement negotiation when we Start audioadapter. This makes it easier that to track the ports that are negotiated for now. Use Suspend to clear the audioadapter negotiation.
This commit is contained in:
parent
34a1a988ba
commit
3aa19dd38a
6 changed files with 237 additions and 209 deletions
|
|
@ -784,6 +784,8 @@ static int impl_node_send_command(void *object, const struct spa_command *comman
|
|||
this->started = true;
|
||||
break;
|
||||
|
||||
case SPA_NODE_COMMAND_Suspend:
|
||||
/* fallthrough */
|
||||
case SPA_NODE_COMMAND_Pause:
|
||||
this->started = false;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue