PipeWire: tag-types.h Source File

PipeWire 0.3.80

Loading...
Searching...
No Matches
tag-types.h
Go to the documentation of this file.
1/* Simple Plugin API */
2/* SPDX-FileCopyrightText: Copyright © 2018 Wim Taymans */
3/* SPDX-License-Identifier: MIT */
4
5#ifndef SPA_PARAM_TAG_TYPES_H
6#define SPA_PARAM_TAG_TYPES_H
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
17#include <spa/utils/enum-types.h>
18#include <spa/param/param-types.h>
19#include <spa/param/tag.h>
20
21#define SPA_TYPE_INFO_PARAM_Tag SPA_TYPE_INFO_PARAM_BASE "Tag"
22#define SPA_TYPE_INFO_PARAM_TAG_BASE SPA_TYPE_INFO_PARAM_Tag ":"
23
24static const struct spa_type_info spa_type_param_tag[] = {
25 { SPA_PARAM_TAG_START, SPA_TYPE_Id, SPA_TYPE_INFO_PARAM_TAG_BASE, spa_type_param, },
26 { SPA_PARAM_TAG_direction, SPA_TYPE_Id, SPA_TYPE_INFO_PARAM_TAG_BASE "direction", spa_type_direction, },
27 { SPA_PARAM_TAG_info, SPA_TYPE_Struct, SPA_TYPE_INFO_PARAM_TAG_BASE "info", NULL, },
28 { 0, 0, NULL, NULL },
29};
30
35#ifdef __cplusplus
36} /* extern "C" */
37#endif
38
39#endif /* SPA_PARAM_TAG_TYPES_H */
spa_type_param_tag
static const struct spa_type_info spa_type_param_tag[]
Definition tag-types.h:31
SPA_TYPE_INFO_PARAM_TAG_BASE
#define SPA_TYPE_INFO_PARAM_TAG_BASE
Definition tag-types.h:29
spa_type_param
static const struct spa_type_info spa_type_param[]
Definition param-types.h:32
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_TYPE_Id
@ SPA_TYPE_Id
Definition spa/include/spa/utils/type.h:33
SPA_TYPE_Struct
@ SPA_TYPE_Struct
Definition spa/include/spa/utils/type.h:44
param-types.h
spa/param/param-types.h
spa_type_info
Definition spa/include/spa/utils/type.h:143
tag.h
spa/param/tag.h