mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
pw-mon: debug param id names
This commit is contained in:
parent
6160711723
commit
6495199a7a
1 changed files with 2 additions and 1 deletions
|
|
@ -158,7 +158,8 @@ static void print_params(struct proxy_data *data, char mark)
|
||||||
|
|
||||||
printf("%c\tparams:\n", mark);
|
printf("%c\tparams:\n", mark);
|
||||||
spa_list_for_each(p, &data->param_list, link) {
|
spa_list_for_each(p, &data->param_list, link) {
|
||||||
printf("%c\t id:%u\n", p->changed ? mark : ' ', p->id);
|
printf("%c\t id:%u (%s)\n", p->changed ? mark : ' ', p->id,
|
||||||
|
spa_debug_type_find_name(spa_type_param, p->id));
|
||||||
if (spa_pod_is_object_type(p->param, SPA_TYPE_OBJECT_Format))
|
if (spa_pod_is_object_type(p->param, SPA_TYPE_OBJECT_Format))
|
||||||
spa_debug_format(10, NULL, p->param);
|
spa_debug_format(10, NULL, p->param);
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue