Loading...
Searching...
No Matches
tag.h
Go to the documentation of this file.
/* Simple Plugin API */
/* SPDX-FileCopyrightText: Copyright © 2023 Wim Taymans */
/* SPDX-License-Identifier: MIT */
#ifndef SPA_PARAM_TAG_H
#define SPA_PARAM_TAG_H
#ifdef __cplusplus
extern "C" {
#endif
#include <spa/param/param.h>
enum spa_param_tag {
SPA_PARAM_TAG_START,
SPA_PARAM_TAG_direction,
SPA_PARAM_TAG_info,
};
struct spa_tag_info {
enum spa_direction direction;
const struct spa_pod *info;
};
#define SPA_TAG_INFO(dir,...) ((struct spa_tag_info) { .direction = (dir), ## __VA_ARGS__ })
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif /* SPA_PARAM_TAG_H */
spa_param_tag
spa_param_tag
properties for SPA_TYPE_OBJECT_ParamTag
Definition tag.h:25
SPA_PARAM_TAG_direction
@ SPA_PARAM_TAG_direction
direction, input/output (Id enum spa_direction)
Definition tag.h:27
SPA_PARAM_TAG_info
@ SPA_PARAM_TAG_info
Struct( Int: n_items (String: key ...
Definition tag.h:28
SPA_PARAM_TAG_START
@ SPA_PARAM_TAG_START
Definition tag.h:26
spa_direction
spa_direction
Definition defs.h:92
param.h
spa/param/param.h
spa_pod
Definition pod.h:43
spa_tag_info
helper structure for managing tag objects
Definition tag.h:36
spa_tag_info::direction
enum spa_direction direction
Definition tag.h:37
spa_tag_info::info
const struct spa_pod * info
Definition tag.h:38