+ +
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_EVENT_NODE_H |
| 6 | #define SPA_EVENT_NODE_H |
| 7 | |
| 8 | #include <spa/pod/event.h> |
| 9 | |
| 10 | #ifdef __cplusplus |
| 11 | extern "C" { |
| 12 | #endif |
| 13 | |
| 14 | /** |
| 15 | * \addtogroup spa_node |
| 16 | * \{ |
| 17 | */ |
| 18 | |
| 19 | /* object id of SPA_TYPE_EVENT_Node */ |
| 20 | enum spa_node_event { |
| 21 | SPA_NODE_EVENT_Error, |
| 22 | SPA_NODE_EVENT_Buffering, |
| 23 | SPA_NODE_EVENT_RequestRefresh, |
| 24 | SPA_NODE_EVENT_RequestProcess, /*< Ask the driver to start processing |
| 25 | * the graph */ |
| 26 | SPA_NODE_EVENT_User, /* User defined event */ |
| 27 | }; |
| 28 | |
| 29 | #define SPA_NODE_EVENT_ID(ev) SPA_EVENT_ID(ev, SPA_TYPE_EVENT_Node) |
| 30 | #define SPA_NODE_EVENT_INIT(id) SPA_EVENT_INIT(SPA_TYPE_EVENT_Node, id) |
| 31 | |
| 32 | /* properties for SPA_TYPE_EVENT_Node */ |
| 33 | enum spa_event_node { |
| 34 | SPA_EVENT_NODE_START, |
| 35 | |
| 36 | SPA_EVENT_NODE_START_User = 0x1000, |
| 37 | SPA_EVENT_NODE_extra, /** extra info (String) */ |
| 38 | |
| 39 | SPA_EVENT_NODE_START_CUSTOM = 0x1000000, |
| 40 | }; |
| 41 | |
| 42 | /** |
| 43 | * \} |
| 44 | */ |
| 45 | |
| 46 | #ifdef __cplusplus |
| 47 | } /* extern "C" */ |
| 48 | #endif |
| 49 | |
| 50 | #endif /* SPA_EVENT_NODE_H */ |