mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
client, protocol-native: Use macros for protocol version/flag access
This makes it easier to read and cleaner in general.
This commit is contained in:
parent
8887f256e0
commit
7ac5390042
3 changed files with 18 additions and 12 deletions
|
|
@ -49,6 +49,12 @@
|
|||
|
||||
#define DEFAULT_TIMEOUT (30)
|
||||
|
||||
#define PA_PROTOCOL_FLAG_MASK 0xFFFF0000U
|
||||
#define PA_PROTOCOL_VERSION_MASK 0x0000FFFFU
|
||||
|
||||
#define PA_PROTOCOL_FLAG_SHM 0x80000000U
|
||||
#define PA_PROTOCOL_FLAG_MEMFD 0x40000000U
|
||||
|
||||
struct pa_context {
|
||||
PA_REFCNT_DECLARE;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue