mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-03-26 07:58:03 -04:00
jack: increase notify buffer and items
Make the notify buffer larger, it was 8K but we can make it 64K. Also reorder the notify struct fields to make it smaller. This should avoid "notify queue full" warnings. Ideally we should dynamically size this queue and not lose any messages.
This commit is contained in:
parent
60062432b8
commit
7599079d61
1 changed files with 2 additions and 2 deletions
|
|
@ -86,7 +86,7 @@ PW_LOG_TOPIC_STATIC(jack_log_topic, "jack");
|
|||
#define OTHER_CONNECT_FAIL -1
|
||||
#define OTHER_CONNECT_IGNORE 0
|
||||
|
||||
#define NOTIFY_BUFFER_SIZE (1u<<13)
|
||||
#define NOTIFY_BUFFER_SIZE (1u<<16)
|
||||
#define NOTIFY_BUFFER_MASK (NOTIFY_BUFFER_SIZE-1)
|
||||
|
||||
struct notify {
|
||||
|
|
@ -104,8 +104,8 @@ struct notify {
|
|||
#define NOTIFY_TYPE_TOTAL_LATENCY ((9<<4)|NOTIFY_ACTIVE_FLAG)
|
||||
#define NOTIFY_TYPE_PORT_RENAME ((10<<4)|NOTIFY_ACTIVE_FLAG)
|
||||
int type;
|
||||
struct object *object;
|
||||
int arg1;
|
||||
struct object *object;
|
||||
const char *msg;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue