PipeWire 1.6.8

Loading...
Searching...
No Matches
port-config.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_PORT_CONFIG_H
6#define SPA_PARAM_PORT_CONFIG_H
7
8#include <spa/param/param.h>
9
10#ifdef __cplusplus
11 extern "C" {
12#endif
13
18
19 enum spa_param_port_config_mode {
20 SPA_PARAM_PORT_CONFIG_MODE_none,
21 SPA_PARAM_PORT_CONFIG_MODE_passthrough,
22 SPA_PARAM_PORT_CONFIG_MODE_convert,
23 SPA_PARAM_PORT_CONFIG_MODE_dsp,
24 * format. For audio, ports will be configured for
25 * the given number of channels with F32 format. */
26};
27
29 enum spa_param_port_config {
30 SPA_PARAM_PORT_CONFIG_START,
31 SPA_PARAM_PORT_CONFIG_direction,
32 SPA_PARAM_PORT_CONFIG_mode,
33 SPA_PARAM_PORT_CONFIG_monitor,
34 SPA_PARAM_PORT_CONFIG_control,
35 SPA_PARAM_PORT_CONFIG_format,
36};
37
41
42#ifdef __cplusplus
43} /* extern "C" */
44#endif
45
46#endif /* SPA_PARAM_PORT_CONFIG_H */
spa_param_port_config_mode
spa_param_port_config_mode
Definition port-config.h:24
spa_param_port_config
spa_param_port_config
properties for SPA_TYPE_OBJECT_ParamPortConfig
Definition port-config.h:34
SPA_PARAM_PORT_CONFIG_MODE_convert
@ SPA_PARAM_PORT_CONFIG_MODE_convert
convert configuration
Definition port-config.h:27
SPA_PARAM_PORT_CONFIG_MODE_none
@ SPA_PARAM_PORT_CONFIG_MODE_none
no configuration
Definition port-config.h:25
SPA_PARAM_PORT_CONFIG_MODE_dsp
@ SPA_PARAM_PORT_CONFIG_MODE_dsp
dsp configuration, depending on the external format.
Definition port-config.h:28
SPA_PARAM_PORT_CONFIG_MODE_passthrough
@ SPA_PARAM_PORT_CONFIG_MODE_passthrough
passthrough configuration
Definition port-config.h:26
SPA_PARAM_PORT_CONFIG_mode
@ SPA_PARAM_PORT_CONFIG_mode
(Id enum spa_param_port_config_mode) mode
Definition port-config.h:37
SPA_PARAM_PORT_CONFIG_format
@ SPA_PARAM_PORT_CONFIG_format
(Object) format filter
Definition port-config.h:40
SPA_PARAM_PORT_CONFIG_monitor
@ SPA_PARAM_PORT_CONFIG_monitor
(Bool) enable monitor output ports on input ports
Definition port-config.h:38
SPA_PARAM_PORT_CONFIG_control
@ SPA_PARAM_PORT_CONFIG_control
(Bool) enable control ports
Definition port-config.h:39
SPA_PARAM_PORT_CONFIG_direction
@ SPA_PARAM_PORT_CONFIG_direction
(Id enum spa_direction) direction
Definition port-config.h:36
SPA_PARAM_PORT_CONFIG_START
@ SPA_PARAM_PORT_CONFIG_START
Definition port-config.h:35
param.h
spa/param/param.h