+ +
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 © 2020 Wim Taymans */ |
| 3 | /* SPDX-License-Identifier: MIT */ |
| 4 | |
| 5 | #ifndef SPA_EVENT_DEVICE_H |
| 6 | #define SPA_EVENT_DEVICE_H |
| 7 | |
| 8 | #include <spa/pod/event.h> |
| 9 | |
| 10 | #ifdef __cplusplus |
| 11 | extern "C" { |
| 12 | #endif |
| 13 | |
| 14 | /** |
| 15 | * \addtogroup spa_device |
| 16 | * \{ |
| 17 | */ |
| 18 | |
| 19 | /* object id of SPA_TYPE_EVENT_Device */ |
| 20 | enum spa_device_event { |
| 21 | SPA_DEVICE_EVENT_ObjectConfig, |
| 22 | }; |
| 23 | |
| 24 | #define SPA_DEVICE_EVENT_ID(ev) SPA_EVENT_ID(ev, SPA_TYPE_EVENT_Device) |
| 25 | #define SPA_DEVICE_EVENT_INIT(id) SPA_EVENT_INIT(SPA_TYPE_EVENT_Device, id) |
| 26 | |
| 27 | /* properties for SPA_TYPE_EVENT_Device */ |
| 28 | enum spa_event_device { |
| 29 | SPA_EVENT_DEVICE_START, |
| 30 | |
| 31 | SPA_EVENT_DEVICE_Object, /* an object id (Int) */ |
| 32 | SPA_EVENT_DEVICE_Props, /* properties for an object (SPA_TYPE_OBJECT_Props) */ |
| 33 | }; |
| 34 | |
| 35 | /** |
| 36 | * \} |
| 37 | */ |
| 38 | |
| 39 | #ifdef __cplusplus |
| 40 | } /* extern "C" */ |
| 41 | #endif |
| 42 | |
| 43 | #endif /* SPA_EVENT_DEVICE */ |