PipeWire: port-config.h Source File

PipeWire 0.3.66

Loading...
Searching...
No Matches
port-config.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_H
26#define SPA_PARAM_PORT_CONFIG_H
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
37#include <spa/param/param.h>
38
39enum spa_param_port_config_mode {
40 SPA_PARAM_PORT_CONFIG_MODE_none,
41 SPA_PARAM_PORT_CONFIG_MODE_passthrough,
42 SPA_PARAM_PORT_CONFIG_MODE_convert,
43 SPA_PARAM_PORT_CONFIG_MODE_dsp,
46};
47
49enum spa_param_port_config {
50 SPA_PARAM_PORT_CONFIG_START,
51 SPA_PARAM_PORT_CONFIG_direction,
52 SPA_PARAM_PORT_CONFIG_mode,
53 SPA_PARAM_PORT_CONFIG_monitor,
54 SPA_PARAM_PORT_CONFIG_control,
55 SPA_PARAM_PORT_CONFIG_format,
56};
57
62#ifdef __cplusplus
63} /* extern "C" */
64#endif
65
66#endif /* SPA_PARAM_PORT_CONFIG_H */
spa_param_port_config_mode
spa_param_port_config_mode
Definition: port-config.h:44
spa_param_port_config
spa_param_port_config
properties for SPA_TYPE_OBJECT_ParamPortConfig
Definition: port-config.h:54
SPA_PARAM_PORT_CONFIG_MODE_convert
@ SPA_PARAM_PORT_CONFIG_MODE_convert
convert configuration
Definition: port-config.h:47
SPA_PARAM_PORT_CONFIG_MODE_none
@ SPA_PARAM_PORT_CONFIG_MODE_none
no configuration
Definition: port-config.h:45
SPA_PARAM_PORT_CONFIG_MODE_dsp
@ SPA_PARAM_PORT_CONFIG_MODE_dsp
dsp configuration, depending on the external format.
Definition: port-config.h:48
SPA_PARAM_PORT_CONFIG_MODE_passthrough
@ SPA_PARAM_PORT_CONFIG_MODE_passthrough
passthrough configuration
Definition: port-config.h:46
SPA_PARAM_PORT_CONFIG_mode
@ SPA_PARAM_PORT_CONFIG_mode
(Id enum spa_param_port_config_mode) mode
Definition: port-config.h:57
SPA_PARAM_PORT_CONFIG_format
@ SPA_PARAM_PORT_CONFIG_format
(Object) format filter
Definition: port-config.h:60
SPA_PARAM_PORT_CONFIG_monitor
@ SPA_PARAM_PORT_CONFIG_monitor
(Bool) enable monitor output ports on input ports
Definition: port-config.h:58
SPA_PARAM_PORT_CONFIG_control
@ SPA_PARAM_PORT_CONFIG_control
(Bool) enable control ports
Definition: port-config.h:59
SPA_PARAM_PORT_CONFIG_direction
@ SPA_PARAM_PORT_CONFIG_direction
(Id enum spa_direction) direction
Definition: port-config.h:56
SPA_PARAM_PORT_CONFIG_START
@ SPA_PARAM_PORT_CONFIG_START
Definition: port-config.h:55
param.h
spa/param/param.h