summaryrefslogtreecommitdiff
path: root/spa/tools
diff options
context:
space:
mode:
authorWim Taymans <wtaymans@redhat.com>2018-08-25 12:08:29 +0200
committerWim Taymans <wtaymans@redhat.com>2018-08-25 12:08:29 +0200
commitd26aecfef253756a5adc16c9c2b56c193241500f (patch)
tree437a6052b12ebca38ccea228b0d00bb0e00be539 /spa/tools
parent93a8747a4434764815142756a856316e0628324d (diff)
More type fixes
Param ids and IO ids are now simple enums. Move some type info in one place, delete some type-info files Fix type debug Make audio layout an enum Mark more enums as enums in types so they show us with their names in the debug.
Diffstat (limited to 'spa/tools')
-rw-r--r--spa/tools/spa-inspect.c4
-rw-r--r--spa/tools/spa-monitor.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/spa/tools/spa-inspect.c b/spa/tools/spa-inspect.c
index ca06192a..fc66ca1b 100644
--- a/spa/tools/spa-inspect.c
+++ b/spa/tools/spa-inspect.c
@@ -58,7 +58,7 @@ inspect_node_params(struct data *data, struct spa_node *node)
spa_pod_builder_init(&b, buffer, sizeof(buffer));
if ((res = spa_node_enum_params(node,
- SPA_ID_PARAM_List, &idx1,
+ SPA_PARAM_List, &idx1,
NULL, &param, &b)) <= 0) {
if (res != 0)
error(0, -res, "enum_params");
@@ -100,7 +100,7 @@ inspect_port_params(struct data *data, struct spa_node *node,
spa_pod_builder_init(&b, buffer, sizeof(buffer));
if ((res = spa_node_port_enum_params(node,
direction, port_id,
- SPA_ID_PARAM_List, &idx1,
+ SPA_PARAM_List, &idx1,
NULL, &param, &b)) <= 0) {
if (res != 0)
error(0, -res, "port_enum_params");
diff --git a/spa/tools/spa-monitor.c b/spa/tools/spa-monitor.c
index 4a8a5a41..5dcc2973 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_type_monitor_item, item);
+ spa_debug_pod(0, spa_types, item);
}
static void on_monitor_event(void *_data, struct spa_event *event)