mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-14 06:59:57 -05:00
system: use the same bits as POLL and EPOLL
Use the same bits for the io mask as POLL and EPOLL so that we can avoid conversions.
This commit is contained in:
parent
49a5e97d69
commit
59bf522ce1
4 changed files with 10 additions and 82 deletions
|
|
@ -43,9 +43,9 @@ struct spa_system { struct spa_interface iface; };
|
|||
|
||||
/* IO events */
|
||||
#define SPA_IO_IN (1 << 0)
|
||||
#define SPA_IO_OUT (1 << 1)
|
||||
#define SPA_IO_HUP (1 << 2)
|
||||
#define SPA_IO_OUT (1 << 2)
|
||||
#define SPA_IO_ERR (1 << 3)
|
||||
#define SPA_IO_HUP (1 << 4)
|
||||
|
||||
/* flags */
|
||||
#define SPA_FD_CLOEXEC (1<<0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue