diff options
author | Wim Taymans <wtaymans@redhat.com> | 2018-08-30 12:01:52 +0200 |
---|---|---|
committer | Wim Taymans <wtaymans@redhat.com> | 2018-08-30 12:01:52 +0200 |
commit | 7cdb980b1a7f196f6c46e0b67a5f5cfd3d4eb0f8 (patch) | |
tree | 243c051a35931ab096daaae552e4e5db48049d94 /spa/tools | |
parent | 05d3502c84059356075cd3c6a2304cb66ab91dbf (diff) |
debug: allow custom type root
Diffstat (limited to 'spa/tools')
-rw-r--r-- | spa/tools/spa-inspect.c | 8 | ||||
-rw-r--r-- | spa/tools/spa-monitor.c | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/spa/tools/spa-inspect.c b/spa/tools/spa-inspect.c index 8a465967..0af0ce61 100644 --- a/spa/tools/spa-inspect.c +++ b/spa/tools/spa-inspect.c @@ -69,7 +69,7 @@ inspect_node_params(struct data *data, struct spa_node *node) ":", SPA_PARAM_LIST_id, "I", &id, NULL); - printf("enumerating: %s:\n", spa_debug_type_find_name(spa_debug_types, id)); + printf("enumerating: %s:\n", spa_debug_type_find_name(NULL, id)); for (idx2 = 0;;) { spa_pod_builder_init(&b, buffer, sizeof(buffer)); if ((res = spa_node_enum_params(node, @@ -79,7 +79,7 @@ inspect_node_params(struct data *data, struct spa_node *node) error(0, -res, "enum_params %d", id); break; } - spa_debug_pod(0, spa_debug_types, param); + spa_debug_pod(0, NULL, param); } } } @@ -110,7 +110,7 @@ inspect_port_params(struct data *data, struct spa_node *node, ":", SPA_PARAM_LIST_id, "I", &id, NULL); - printf("enumerating: %s:\n", spa_debug_type_find_name(spa_debug_types, id)); + printf("enumerating: %s:\n", spa_debug_type_find_name(NULL, id)); for (idx2 = 0;;) { spa_pod_builder_init(&b, buffer, sizeof(buffer)); if ((res = spa_node_port_enum_params(node, @@ -125,7 +125,7 @@ inspect_port_params(struct data *data, struct spa_node *node, if (spa_pod_is_object_id(param, SPA_TYPE_OBJECT_Format)) spa_debug_format(0, NULL, param); else - spa_debug_pod(0, spa_debug_types, param); + spa_debug_pod(0, NULL, param); } } } diff --git a/spa/tools/spa-monitor.c b/spa/tools/spa-monitor.c index 0f1e211c..0c2bcad9 100644 --- a/spa/tools/spa-monitor.c +++ b/spa/tools/spa-monitor.c @@ -53,7 +53,7 @@ struct data { static void inspect_item(struct data *data, struct spa_pod *item) { - spa_debug_pod(0, spa_types, item); + spa_debug_pod(0, NULL, item); } static void on_monitor_event(void *_data, struct spa_event *event) |