media-session: improve debug

This commit is contained in:
Wim Taymans 2018-07-02 12:08:03 +02:00
parent e68624fe7b
commit f5cf90ccd1

View file

@ -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)