PipeWire 0.3.65
port-config-types.h
Go to the documentation of this file.
1/* Simple Plugin API
2 *
3 * Copyright © 2018 Wim Taymans
4 *
5 * Permission is hereby granted, free of charge, to any person obtaining a
6 * copy of this software and associated documentation files (the "Software"),
7 * to deal in the Software without restriction, including without limitation
8 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
9 * and/or sell copies of the Software, and to permit persons to whom the
10 * Software is furnished to do so, subject to the following conditions:
11 *
12 * The above copyright notice and this permission notice (including the next
13 * paragraph) shall be included in all copies or substantial portions of the
14 * Software.
15 *
16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 * DEALINGS IN THE SOFTWARE.
23 */
24
25#ifndef SPA_PARAM_PORT_CONFIG_TYPES_H
26#define SPA_PARAM_PORT_CONFIG_TYPES_H
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
37#include <spa/utils/enum-types.h>
40
41#define SPA_TYPE_INFO_ParamPortConfigMode SPA_TYPE_INFO_ENUM_BASE "ParamPortConfigMode"
42#define SPA_TYPE_INFO_PARAM_PORT_CONFIG_MODE_BASE SPA_TYPE_INFO_ParamPortConfigMode ":"
43
44static const struct spa_type_info spa_type_param_port_config_mode[] = {
49 { 0, 0, NULL, NULL },
50};
52#define SPA_TYPE_INFO_PARAM_PortConfig SPA_TYPE_INFO_PARAM_BASE "PortConfig"
53#define SPA_TYPE_INFO_PARAM_PORT_CONFIG_BASE SPA_TYPE_INFO_PARAM_PortConfig ":"
54
55static const struct spa_type_info spa_type_param_port_config[] = {
62 { 0, 0, NULL, NULL },
63};
69#ifdef __cplusplus
70} /* extern "C" */
71#endif
72
73#endif /* SPA_PARAM_PORT_CONFIG_TYPES_H */
static const struct spa_type_info spa_type_param_port_config_mode[]
Definition: port-config-types.h:51
static const struct spa_type_info spa_type_param_port_config[]
Definition: port-config-types.h:64
#define SPA_TYPE_INFO_PARAM_PORT_CONFIG_MODE_BASE
Definition: port-config-types.h:49
#define SPA_TYPE_INFO_PARAM_PORT_CONFIG_BASE
Definition: port-config-types.h:62
static const struct spa_type_info spa_type_param[]
Definition: param-types.h:52
@ SPA_PARAM_PORT_CONFIG_MODE_convert
convert configuration
Definition: port-config.h:47
@ SPA_PARAM_PORT_CONFIG_MODE_none
no configuration
Definition: port-config.h:45
@ SPA_PARAM_PORT_CONFIG_MODE_dsp
dsp configuration, depending on the external format.
Definition: port-config.h:48
@ SPA_PARAM_PORT_CONFIG_MODE_passthrough
passthrough configuration
Definition: port-config.h:46
@ SPA_PARAM_PORT_CONFIG_mode
(Id enum spa_param_port_config_mode) mode
Definition: port-config.h:57
@ SPA_PARAM_PORT_CONFIG_format
(Object) format filter
Definition: port-config.h:60
@ SPA_PARAM_PORT_CONFIG_monitor
(Bool) enable monitor output ports on input ports
Definition: port-config.h:58
@ SPA_PARAM_PORT_CONFIG_control
(Bool) enable control ports
Definition: port-config.h:59
@ SPA_PARAM_PORT_CONFIG_direction
direction, input/output (Id enum spa_direction)
Definition: port-config.h:56
@ SPA_PARAM_PORT_CONFIG_START
Definition: port-config.h:55
@ SPA_TYPE_Int
Definition: spa/include/spa/utils/type.h:54
@ SPA_TYPE_Bool
Definition: spa/include/spa/utils/type.h:52
@ SPA_TYPE_Id
Definition: spa/include/spa/utils/type.h:53
@ SPA_TYPE_OBJECT_Format
Definition: spa/include/spa/utils/type.h:96
spa/param/param-types.h
spa/param/port-config.h
Definition: spa/include/spa/utils/type.h:162