mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-08 12:48:03 +02:00
module-session: debug default endpoint changes
This commit is contained in:
parent
1586d7314f
commit
56f12047ab
1 changed files with 4 additions and 1 deletions
|
|
@ -51,8 +51,11 @@ select_new_default_ep (struct module_data * data, WpDefaultEndpointType type,
|
|||
}
|
||||
|
||||
def_id = wp_session_get_default_endpoint (WP_SESSION (data->session), type);
|
||||
if (def_id != best_id)
|
||||
if (def_id != best_id) {
|
||||
g_debug ("selecting default endpoint for type %x, old:%u, new:%u",
|
||||
type, def_id, best_id);
|
||||
wp_session_set_default_endpoint (WP_SESSION (data->session), type, best_id);
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue