PipeWire  1.0.0
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
9 extern "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 
24 static const struct spa_type_info spa_type_param_tag[] = {
26  { SPA_PARAM_TAG_direction, SPA_TYPE_Id, SPA_TYPE_INFO_PARAM_TAG_BASE "direction", spa_type_direction, },
28  { 0, 0, NULL, NULL },
29 };
30 
35 #ifdef __cplusplus
36 } /* extern "C" */
37 #endif
38 
39 #endif /* SPA_PARAM_TAG_TYPES_H */
static const struct spa_type_info spa_type_param_tag[]
Definition: tag-types.h:31
#define SPA_TYPE_INFO_PARAM_TAG_BASE
Definition: tag-types.h:29
static const struct spa_type_info spa_type_param[]
Definition: param-types.h:32
@ SPA_PARAM_TAG_direction
direction, input/output (Id enum spa_direction)
Definition: tag.h:27
@ SPA_PARAM_TAG_info
Struct( Int: n_items (String: key String: value)* )
Definition: tag.h:28
@ SPA_PARAM_TAG_START
Definition: tag.h:26
@ SPA_TYPE_Id
Definition: type.h:33
@ SPA_TYPE_Struct
Definition: type.h:44
spa/param/param-types.h
Definition: type.h:143
spa/param/tag.h