mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
pulse-server: use the upper 8 bits of the id to mark things
The upper 8 bits of the object id is always 0 so we can use it to mark our internal objects.
This commit is contained in:
parent
13830f2ded
commit
3a49168f26
1 changed files with 3 additions and 3 deletions
|
|
@ -57,9 +57,9 @@
|
||||||
#define SCACHE_ENTRY_SIZE_MAX (1024*1024*16)
|
#define SCACHE_ENTRY_SIZE_MAX (1024*1024*16)
|
||||||
|
|
||||||
#define INDEX_MASK 0xffffu
|
#define INDEX_MASK 0xffffu
|
||||||
#define MONITOR_FLAG (1u << 16)
|
#define MONITOR_FLAG (1u << 24)
|
||||||
#define EXTENSION_FLAG (1u << 17)
|
#define EXTENSION_FLAG (1u << 25)
|
||||||
#define MODULE_FLAG (1u << 18)
|
#define MODULE_FLAG (1u << 26)
|
||||||
|
|
||||||
#define DEFAULT_SINK "@DEFAULT_SINK@"
|
#define DEFAULT_SINK "@DEFAULT_SINK@"
|
||||||
#define DEFAULT_SOURCE "@DEFAULT_SOURCE@"
|
#define DEFAULT_SOURCE "@DEFAULT_SOURCE@"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue