mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
More hacking
Add beginnings of Xv plugin Add Poll event Clean up props handling V4l2 add beginnings of poll event
This commit is contained in:
parent
a1a27328e2
commit
a31eb56663
14 changed files with 842 additions and 79 deletions
|
|
@ -69,6 +69,20 @@ struct _SpaEvent {
|
|||
size_t size;
|
||||
};
|
||||
|
||||
/**
|
||||
* SpaEventPoll:
|
||||
* @fd: a file descriptor to watch
|
||||
* @events: events to watch for
|
||||
* @revents: result events
|
||||
* @callback: callback called when there was activity on @fd
|
||||
*/
|
||||
typedef struct {
|
||||
int fd;
|
||||
short events;
|
||||
short revents;
|
||||
SpaNotify callback;
|
||||
} SpaEventPoll;
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue