diff options
author | Wim Taymans <wtaymans@redhat.com> | 2018-08-25 12:08:29 +0200 |
---|---|---|
committer | Wim Taymans <wtaymans@redhat.com> | 2018-08-25 12:08:29 +0200 |
commit | d26aecfef253756a5adc16c9c2b56c193241500f (patch) | |
tree | 437a6052b12ebca38ccea228b0d00bb0e00be539 /src/modules/module-client-node/client-node.c | |
parent | 93a8747a4434764815142756a856316e0628324d (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 'src/modules/module-client-node/client-node.c')
-rw-r--r-- | src/modules/module-client-node/client-node.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/module-client-node/client-node.c b/src/modules/module-client-node/client-node.c index 3bf344e6..a351b74f 100644 --- a/src/modules/module-client-node/client-node.c +++ b/src/modules/module-client-node/client-node.c @@ -502,7 +502,7 @@ do_update_port(struct node *this, for (i = 0; i < port->n_params; i++) { port->params[i] = pw_spa_pod_copy(params[i]); - if (spa_pod_is_object_id(port->params[i], SPA_ID_PARAM_Format)) + if (spa_pod_is_object_id(port->params[i], SPA_PARAM_Format)) port->have_format = true; } } @@ -1279,7 +1279,7 @@ static void node_initialized(void *data) pw_log_debug("client-node %p: io areas %p", node, impl->io_areas->ptr); pw_client_node_resource_set_io(this->resource, - PW_ID_IO_ClientNodePosition, + PW_IO_ClientNodePosition, m->id, area_size, sizeof(struct pw_client_node_position)); @@ -1434,7 +1434,7 @@ static int impl_mix_port_set_io(struct spa_node *node, if (mix == NULL) return -EIO; - if (id == SPA_ID_IO_Buffers) { + if (id == SPA_IO_Buffers) { if (data && size >= sizeof(struct spa_io_buffers)) mix->io = data; else |