PipeWire 1.6.8

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#include <spa/utils/enum-types.h>
9#include <spa/param/param-types.h>
10#include <spa/param/tag.h>
11
12#ifdef __cplusplus
13 extern "C" {
14#endif
15
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
24 static 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
31/**
32 * \}
33 */
34
35#ifdef __cplusplus
36} /* extern "C" */
37#endif
38
39#endif /* SPA_PARAM_TAG_TYPES_H */
enum-types.h
spa/utils/enum-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_direction
static const struct spa_type_info spa_type_direction[]
Definition enum-types.h:30
SPA_TYPE_Id
@ SPA_TYPE_Id
Definition type.h:44
SPA_TYPE_Struct
@ SPA_TYPE_Struct
Definition type.h:55
param-types.h
spa/param/param-types.h
spa_type_info
Definition type.h:156
tag.h
spa/param/tag.h