PipeWire
1.2.5
tag.h
Go to the documentation of this file.
1
/* Simple Plugin API */
2
/* SPDX-FileCopyrightText: Copyright © 2023 Wim Taymans */
3
/* SPDX-License-Identifier: MIT */
4
5
#ifndef SPA_PARAM_TAG_H
6
#define SPA_PARAM_TAG_H
7
8
#ifdef __cplusplus
9
extern
"C"
{
10
#endif
11
17
#include <
spa/param/param.h
>
18
20
enum
spa_param_tag
{
21
SPA_PARAM_TAG_START
,
22
SPA_PARAM_TAG_direction
,
23
SPA_PARAM_TAG_info
,
28
};
29
31
struct
spa_tag_info
{
32
enum
spa_direction
direction
;
33
const
struct
spa_pod
*
info
;
34
};
35
36
#define SPA_TAG_INFO(dir,...) ((struct spa_tag_info) { .direction = (dir), ## __VA_ARGS__ })
37
42
#ifdef __cplusplus
43
}
/* extern "C" */
44
#endif
45
46
#endif
/* SPA_PARAM_TAG_H */
SPA_PARAM_TAG_START
@ SPA_PARAM_TAG_START
Definition:
tag.h:26
SPA_PARAM_TAG_info
@ SPA_PARAM_TAG_info
Struct( Int: n_items (String: key String: value)* )
Definition:
tag.h:28
spa_pod
Definition:
pod.h:43
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
param.h
spa/param/param.h
SPA_PARAM_TAG_direction
@ SPA_PARAM_TAG_direction
direction, input/output (Id enum spa_direction)
Definition:
tag.h:27
spa_param_tag
spa_param_tag
properties for SPA_TYPE_OBJECT_ParamTag
Definition:
tag.h:25
spa_direction
spa_direction
Definition:
defs.h:106
spa_tag_info
helper structure for managing tag objects
Definition:
tag.h:36
spa
param
tag.h
Generated by
1.8.20