PipeWire 1.2.5
Loading...
Searching...
No Matches
event.h
Go to the documentation of this file.
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#ifdef __cplusplus
9extern "C" {
10#endif
11
12#include <spa/pod/event.h>
13
19/* object id of SPA_TYPE_EVENT_Device */
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)
27/* properties for SPA_TYPE_EVENT_Device */
31 SPA_EVENT_DEVICE_Object, /* an object id (Int) */
32 SPA_EVENT_DEVICE_Props, /* properties for an object (SPA_TYPE_OBJECT_Props) */
33};
34
39#ifdef __cplusplus
40} /* extern "C" */
41#endif
42
43#endif /* SPA_EVENT_DEVICE */
spa_device_event
Definition event.h:25
spa_event_device
Definition event.h:35
@ SPA_DEVICE_EVENT_ObjectConfig
Definition event.h:26
@ SPA_EVENT_DEVICE_Object
Definition event.h:38
@ SPA_EVENT_DEVICE_Props
Definition event.h:39
@ SPA_EVENT_DEVICE_START
Definition event.h:36
spa/pod/event.h