summaryrefslogtreecommitdiff
path: root/spa
diff options
context:
space:
mode:
authorWim Taymans <wtaymans@redhat.com>2018-02-07 11:31:47 +0100
committerWim Taymans <wtaymans@redhat.com>2018-02-07 11:31:47 +0100
commit4c1dc20eac0ca1c3ea3bdf5266bd2c6b7494a0fa (patch)
tree343837656a0aafd6cf9eaf1728d925a252f86b4c /spa
parent935efffe0eacb6109226f62797e11777540283e3 (diff)
io: remove unused field
Diffstat (limited to 'spa')
-rw-r--r--spa/include/spa/param/io.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/spa/include/spa/param/io.h b/spa/include/spa/param/io.h
index f5e83360..4eeafea3 100644
--- a/spa/include/spa/param/io.h
+++ b/spa/include/spa/param/io.h
@@ -32,8 +32,6 @@ extern "C" {
#define SPA_TYPE_PARAM_IO__id SPA_TYPE_PARAM_IO_BASE "id"
/** size of the io area for a port */
#define SPA_TYPE_PARAM_IO__size SPA_TYPE_PARAM_IO_BASE "size"
-/** type of the io area for a port, this is an enum spa_pod_type */
-#define SPA_TYPE_PARAM_IO__type SPA_TYPE_PARAM_IO_BASE "type"
/** enumerate buffer io areas */
#define SPA_TYPE_PARAM_ID_IO__Buffers SPA_TYPE_PARAM_ID_IO_BASE "Buffers"
@@ -61,7 +59,6 @@ extern "C" {
struct spa_type_param_io {
uint32_t id; /**< id to configure the io area */
uint32_t size; /**< size of io area */
- uint32_t type; /**< type of io area */
uint32_t idBuffers; /**< id to enumerate buffer io */
uint32_t Buffers; /**< object type of buffer io area */
uint32_t idControl; /**< id to enumerate control io */
@@ -78,7 +75,6 @@ spa_type_param_io_map(struct spa_type_map *map,
if (type->id == 0) {
type->id = spa_type_map_get_id(map, SPA_TYPE_PARAM_IO__id);
type->size = spa_type_map_get_id(map, SPA_TYPE_PARAM_IO__size);
- type->type = spa_type_map_get_id(map, SPA_TYPE_PARAM_IO__type);
type->idBuffers = spa_type_map_get_id(map, SPA_TYPE_PARAM_ID_IO__Buffers);
type->Buffers = spa_type_map_get_id(map, SPA_TYPE_PARAM_IO__Buffers);
type->idControl = spa_type_map_get_id(map, SPA_TYPE_PARAM_ID_IO__Control);