PipeWire: spa/param/tag.h Source File

PipeWire 1.2.4

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#ifdef __cplusplus
9extern "C" {
10#endif
11
17#include <spa/param/param.h>
18
20enum spa_param_tag {
21 SPA_PARAM_TAG_START,
22 SPA_PARAM_TAG_direction,
23 SPA_PARAM_TAG_info,
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
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_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