mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
media-session: improve debug
This commit is contained in:
parent
e68624fe7b
commit
f5cf90ccd1
1 changed files with 2 additions and 6 deletions
|
|
@ -511,8 +511,8 @@ static int handle_autoconnect(struct impl *impl, struct pw_node *node,
|
||||||
else
|
else
|
||||||
find.path_id = SPA_ID_INVALID;
|
find.path_id = SPA_ID_INVALID;
|
||||||
|
|
||||||
|
pw_log_info("module %p: '%s' '%s' '%s' exclusive:%d target %d", impl,
|
||||||
pw_log_debug("module %p: try to find and link to node '%d'", impl, find.path_id);
|
media, category, role, exclusive, find.path_id);
|
||||||
|
|
||||||
find.impl = impl;
|
find.impl = impl;
|
||||||
find.sess = NULL;
|
find.sess = NULL;
|
||||||
|
|
@ -536,10 +536,6 @@ static int handle_autoconnect(struct impl *impl, struct pw_node *node,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pw_log_info("module %p: '%s' '%s' '%s' exclusive:%d quantum:%d/%d", impl,
|
|
||||||
media, category, role, exclusive,
|
|
||||||
sample_rate, buffer_size);
|
|
||||||
|
|
||||||
if (strcmp(category, "Capture") == 0)
|
if (strcmp(category, "Capture") == 0)
|
||||||
direction = PW_DIRECTION_OUTPUT;
|
direction = PW_DIRECTION_OUTPUT;
|
||||||
else if (strcmp(category, "Playback") == 0)
|
else if (strcmp(category, "Playback") == 0)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue