+ +
2da5fe7 OpenAVX v0.2.0 - High-performance open-standard IP audio and video transport suite
saifmukhtar · 2026-11-24
main
| 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 | |
| 14 | /** |
| 15 | * \addtogroup spa_param |
| 16 | * \{ |
| 17 | */ |
| 18 | |
| 19 | enum spa_param_port_config_mode { |
| 20 | SPA_PARAM_PORT_CONFIG_MODE_none, /**< no configuration */ |
| 21 | SPA_PARAM_PORT_CONFIG_MODE_passthrough, /**< passthrough configuration */ |
| 22 | SPA_PARAM_PORT_CONFIG_MODE_convert, /**< convert configuration */ |
| 23 | SPA_PARAM_PORT_CONFIG_MODE_dsp, /**< dsp configuration, depending on the external |
| 24 | * format. For audio, ports will be configured for |
| 25 | * the given number of channels with F32 format. */ |
| 26 | }; |
| 27 | |
| 28 | /** properties for SPA_TYPE_OBJECT_ParamPortConfig */ |
| 29 | enum spa_param_port_config { |
| 30 | SPA_PARAM_PORT_CONFIG_START, |
| 31 | SPA_PARAM_PORT_CONFIG_direction, /**< (Id enum spa_direction) direction */ |
| 32 | SPA_PARAM_PORT_CONFIG_mode, /**< (Id enum spa_param_port_config_mode) mode */ |
| 33 | SPA_PARAM_PORT_CONFIG_monitor, /**< (Bool) enable monitor output ports on input ports */ |
| 34 | SPA_PARAM_PORT_CONFIG_control, /**< (Bool) enable control ports */ |
| 35 | SPA_PARAM_PORT_CONFIG_format, /**< (Object) format filter */ |
| 36 | }; |
| 37 | |
| 38 | /** |
| 39 | * \} |
| 40 | */ |
| 41 | |
| 42 | #ifdef __cplusplus |
| 43 | } /* extern "C" */ |
| 44 | #endif |
| 45 | |
| 46 | #endif /* SPA_PARAM_PORT_CONFIG_H */ |