mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-06-30 13:14:16 -04:00
buffers: tweak some limits
Allow max 64 metadatas on a buffer
This commit is contained in:
parent
1a638fba60
commit
9a19091ac7
3 changed files with 3 additions and 3 deletions
|
|
@ -30,7 +30,6 @@ PW_LOG_TOPIC_EXTERN(mod_topic);
|
|||
|
||||
#define AREA_SLOT (sizeof(struct spa_io_async_buffers))
|
||||
#define AREA_SIZE (4096u / AREA_SLOT)
|
||||
#define MAX_AREAS 32
|
||||
|
||||
#define CHECK_FREE_PORT(impl,d,p) (p <= pw_map_get_size(&impl->ports[d]) && !CHECK_PORT(impl,d,p))
|
||||
#define CHECK_PORT(impl,d,p) (pw_map_lookup(&impl->ports[d], p) != NULL)
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
#define MAX_PARAMS 4096
|
||||
#define MAX_PARAM_INFO 128
|
||||
#define MAX_BUFFERS 64
|
||||
#define MAX_METAS 16u
|
||||
#define MAX_METAS 64u
|
||||
#define MAX_DATAS 256u
|
||||
|
||||
PW_LOG_TOPIC_EXTERN(mod_topic);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue