mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-19 08:57:14 -05:00
improve state change
This commit is contained in:
parent
f86b50d202
commit
36bcdaa4bc
4 changed files with 84 additions and 65 deletions
|
|
@ -276,6 +276,8 @@ pause_node (PinosNode *this)
|
|||
g_debug ("node %p: pause node", this);
|
||||
|
||||
cmd.type = SPA_NODE_COMMAND_PAUSE;
|
||||
cmd.data = NULL;
|
||||
cmd.size = 0;
|
||||
if ((res = spa_node_send_command (this->node, &cmd)) < 0)
|
||||
g_debug ("got error %d", res);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue