mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
media-session: add module to suspend nodes
This commit is contained in:
parent
9ffa9c0b08
commit
a3ddc6b744
4 changed files with 258 additions and 0 deletions
|
|
@ -250,6 +250,7 @@ handle_node(struct impl *impl, struct sm_object *object)
|
|||
static void destroy_node(struct impl *impl, struct node *node)
|
||||
{
|
||||
spa_list_remove(&node->link);
|
||||
spa_hook_remove(&node->listener);
|
||||
free(node->media);
|
||||
if (node->peer)
|
||||
node->peer->peer = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue