+ +
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_ROUTE_H |
| 6 | #define SPA_PARAM_ROUTE_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 | /** properties for SPA_TYPE_OBJECT_ParamRoute */ |
| 20 | enum spa_param_route { |
| 21 | SPA_PARAM_ROUTE_START, |
| 22 | SPA_PARAM_ROUTE_index, /**< index of the routing destination (Int) */ |
| 23 | SPA_PARAM_ROUTE_direction, /**< direction, input/output (Id enum spa_direction) */ |
| 24 | SPA_PARAM_ROUTE_device, /**< device id (Int) */ |
| 25 | SPA_PARAM_ROUTE_name, /**< name of the routing destination (String) */ |
| 26 | SPA_PARAM_ROUTE_description, /**< description of the destination (String) */ |
| 27 | SPA_PARAM_ROUTE_priority, /**< priority of the destination (Int) */ |
| 28 | SPA_PARAM_ROUTE_available, /**< availability of the destination |
| 29 | * (Id enum spa_param_availability) */ |
| 30 | SPA_PARAM_ROUTE_info, /**< info (Struct( |
| 31 | * Int : n_items, |
| 32 | * (String : key, |
| 33 | * String : value)*)) */ |
| 34 | SPA_PARAM_ROUTE_profiles, /**< associated profile indexes (Array of Int) */ |
| 35 | SPA_PARAM_ROUTE_props, /**< properties SPA_TYPE_OBJECT_Props */ |
| 36 | SPA_PARAM_ROUTE_devices, /**< associated device indexes (Array of Int) */ |
| 37 | SPA_PARAM_ROUTE_profile, /**< profile id (Int) */ |
| 38 | SPA_PARAM_ROUTE_save, /**< If route should be saved (Bool) */ |
| 39 | }; |
| 40 | |
| 41 | /** |
| 42 | * \} |
| 43 | */ |
| 44 | |
| 45 | #ifdef __cplusplus |
| 46 | } /* extern "C" */ |
| 47 | #endif |
| 48 | |
| 49 | #endif /* SPA_PARAM_ROUTE_H */ |