+ +
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_CONTROL_H |
| 6 | #define SPA_CONTROL_H |
| 7 | |
| 8 | #include <spa/utils/defs.h> |
| 9 | #include <spa/pod/pod.h> |
| 10 | |
| 11 | #ifdef __cplusplus |
| 12 | extern "C" { |
| 13 | #endif |
| 14 | |
| 15 | /** \defgroup spa_control Control |
| 16 | * Control type declarations |
| 17 | */ |
| 18 | |
| 19 | /** |
| 20 | * \addtogroup spa_control |
| 21 | * \{ |
| 22 | */ |
| 23 | |
| 24 | /** Different Control types */ |
| 25 | enum spa_control_type { |
| 26 | SPA_CONTROL_Invalid, |
| 27 | SPA_CONTROL_Properties, /**< SPA_TYPE_OBJECT_Props */ |
| 28 | SPA_CONTROL_Midi, /**< spa_pod_bytes with raw midi data (deprecated, use SPA_CONTROL_UMP) */ |
| 29 | SPA_CONTROL_OSC, /**< spa_pod_bytes with an OSC packet */ |
| 30 | SPA_CONTROL_UMP, /**< spa_pod_bytes with raw UMP (universal MIDI packet) |
| 31 | * data. The UMP 32 bit words are stored in native endian |
| 32 | * format. */ |
| 33 | |
| 34 | _SPA_CONTROL_LAST, /**< not part of ABI */ |
| 35 | }; |
| 36 | |
| 37 | /** |
| 38 | * \} |
| 39 | */ |
| 40 | |
| 41 | #ifdef __cplusplus |
| 42 | } /* extern "C" */ |
| 43 | #endif |
| 44 | |
| 45 | #endif /* SPA_CONTROL_H */ |