pulse: add more debug info

This commit is contained in:
Wim Taymans 2020-10-15 16:08:25 +02:00
parent df912a9059
commit 56f84ce0e4

View file

@ -836,6 +836,8 @@ static int source_callback(pa_context *c, struct global *g, struct source_data *
else
i.name = "unknown";
pw_log_debug("source %d %s monitor:%d", g->id, i.name, monitor);
i.index = g->id;
if ((str = pa_proplist_gets(i.proplist, PW_KEY_NODE_DESCRIPTION)))
i.description = str;