PipeWire  1.0.7
port-config-types.h
1 /* Simple Plugin API */
2 /* SPDX-FileCopyrightText: Copyright © 2018 Wim Taymans */
3 /* SPDX-License-Identifier: MIT */
4 
5 #ifndef SPA_PARAM_PORT_CONFIG_TYPES_H
6 #define SPA_PARAM_PORT_CONFIG_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/port-config.h>
20 
21 #define SPA_TYPE_INFO_ParamPortConfigMode SPA_TYPE_INFO_ENUM_BASE "ParamPortConfigMode"
22 #define SPA_TYPE_INFO_PARAM_PORT_CONFIG_MODE_BASE SPA_TYPE_INFO_ParamPortConfigMode ":"
23 
24 static const struct spa_type_info spa_type_param_port_config_mode[] = {
29  { 0, 0, NULL, NULL },
30 };
31 
32 #define SPA_TYPE_INFO_PARAM_PortConfig SPA_TYPE_INFO_PARAM_BASE "PortConfig"
33 #define SPA_TYPE_INFO_PARAM_PORT_CONFIG_BASE SPA_TYPE_INFO_PARAM_PortConfig ":"
34 
35 static const struct spa_type_info spa_type_param_port_config[] = {
38  { SPA_PARAM_PORT_CONFIG_mode, SPA_TYPE_Id, SPA_TYPE_INFO_PARAM_PORT_CONFIG_BASE "mode", spa_type_param_port_config_mode },
42  { 0, 0, NULL, NULL },
43 };
44 
49 #ifdef __cplusplus
50 } /* extern "C" */
51 #endif
52 
53 #endif /* SPA_PARAM_PORT_CONFIG_TYPES_H */
#define SPA_TYPE_INFO_PARAM_PORT_CONFIG_MODE_BASE
Definition: port-config-types.h:29
(Id enum spa_direction) direction
Definition: port-config.h:36
(Object) format filter
Definition: port-config.h:40
static const struct spa_type_info spa_type_param_port_config_mode[]
Definition: port-config-types.h:31
#define SPA_TYPE_INFO_PARAM_PORT_CONFIG_BASE
Definition: port-config-types.h:42
convert configuration
Definition: port-config.h:27
Definition: type.h:143
dsp configuration, depending on the external format.
Definition: port-config.h:28
Definition: type.h:32
(Bool) enable monitor output ports on input ports
Definition: port-config.h:38
Definition: port-config.h:35
Definition: type.h:76
Definition: type.h:33
(Id enum spa_param_port_config_mode) mode
Definition: port-config.h:37
Definition: type.h:34
static const struct spa_type_info spa_type_param[]
Definition: param-types.h:32
(Bool) enable control ports
Definition: port-config.h:39
static const struct spa_type_info spa_type_param_port_config[]
Definition: port-config-types.h:44
no configuration
Definition: port-config.h:25
passthrough configuration
Definition: port-config.h:26