mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-01-03 22:50:10 +01:00
modules: si-adapter: set/unser WP_SI_FLAG_CONFIGURED when adapter is configured/reset
This commit is contained in:
parent
19c91596c8
commit
4e8ae293f5
1 changed files with 4 additions and 0 deletions
|
|
@ -67,6 +67,8 @@ si_adapter_reset (WpSessionItem * item)
|
|||
WP_SESSION_ITEM_CLASS (si_adapter_parent_class)->reset (item);
|
||||
|
||||
g_clear_object (&self->node);
|
||||
|
||||
wp_session_item_clear_flag (item, WP_SI_FLAG_CONFIGURED);
|
||||
}
|
||||
|
||||
static gpointer
|
||||
|
|
@ -173,6 +175,8 @@ si_adapter_configure (WpSessionItem * item, GVariant * args)
|
|||
g_variant_lookup (args, "enable-control-port", "b", &self->control_port);
|
||||
g_variant_lookup (args, "enable-monitor", "b", &self->monitor);
|
||||
|
||||
wp_session_item_set_flag (item, WP_SI_FLAG_CONFIGURED);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue