mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
flags: change flag macros
SPA_FLAG_CHECK -> SPA_FLAG_IS_SET SPA_FLAG_UNSET -> SPA_FLAG_CLEAR Add SPA_FLAG_UPDATE
This commit is contained in:
parent
cc8e992cd1
commit
6e0ffb0c47
33 changed files with 91 additions and 92 deletions
|
|
@ -322,9 +322,9 @@ static int negotiate_link_buffers(struct impl *this, struct link *link)
|
|||
|
||||
spa_pod_fixate(param);
|
||||
|
||||
in_alloc = SPA_FLAG_CHECK(link->in_flags,
|
||||
in_alloc = SPA_FLAG_IS_SET(link->in_flags,
|
||||
SPA_PORT_FLAG_CAN_ALLOC_BUFFERS);
|
||||
out_alloc = SPA_FLAG_CHECK(link->out_flags,
|
||||
out_alloc = SPA_FLAG_IS_SET(link->out_flags,
|
||||
SPA_PORT_FLAG_CAN_ALLOC_BUFFERS);
|
||||
|
||||
flags = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue