PipeWire: spa/param/tag.h Source File

PipeWire 1.6.5

Loading...
Searching...
No Matches
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#include <spa/param/param.h>
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
18
20enum spa_param_tag {
21 SPA_PARAM_TAG_START,
22 SPA_PARAM_TAG_direction,
23 SPA_PARAM_TAG_info,
25 * (String: key
26 * String: value)*
27 * ) */
28};
29
31struct 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
40
41
42#ifdef __cplusplus
43} /* extern "C" */
44#endif
45
46#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:106
param.h
spa/param/param.h
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