+ +
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_PROFILE_H |
| 6 | #define SPA_PARAM_PROFILE_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_ParamProfile */ |
| 20 | enum spa_param_profile { |
| 21 | SPA_PARAM_PROFILE_START, |
| 22 | SPA_PARAM_PROFILE_index, /**< profile index (Int) */ |
| 23 | SPA_PARAM_PROFILE_name, /**< profile name (String) */ |
| 24 | SPA_PARAM_PROFILE_description, /**< profile description (String) */ |
| 25 | SPA_PARAM_PROFILE_priority, /**< profile priority (Int) */ |
| 26 | SPA_PARAM_PROFILE_available, /**< availability of the profile |
| 27 | * (Id enum spa_param_availability) */ |
| 28 | SPA_PARAM_PROFILE_info, /**< info (Struct( |
| 29 | * Int : n_items, |
| 30 | * (String : key, |
| 31 | * String : value)*)) */ |
| 32 | SPA_PARAM_PROFILE_classes, /**< node classes provided by this profile |
| 33 | * (Struct( |
| 34 | * Int : number of items following |
| 35 | * Struct( |
| 36 | * String : class name (eg. "Audio/Source"), |
| 37 | * Int : number of nodes |
| 38 | * String : property (eg. "card.profile.devices"), |
| 39 | * Array of Int: device indexes |
| 40 | * )*)) */ |
| 41 | SPA_PARAM_PROFILE_save, /**< If profile should be saved (Bool) */ |
| 42 | }; |
| 43 | |
| 44 | /** |
| 45 | * \} |
| 46 | */ |
| 47 | |
| 48 | #ifdef __cplusplus |
| 49 | } /* extern "C" */ |
| 50 | #endif |
| 51 | |
| 52 | #endif /* SPA_PARAM_PROFILE_H */ |