mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
context: add some more defaults
Make a property to allow mlock and use it. mlock in stream and filter when asked to mmap mem.
This commit is contained in:
parent
dcec3f12b5
commit
41b47e726e
8 changed files with 61 additions and 25 deletions
|
|
@ -55,6 +55,8 @@ struct defaults {
|
|||
uint32_t clock_max_quantum;
|
||||
struct spa_rectangle video_size;
|
||||
struct spa_fraction video_rate;
|
||||
uint32_t link_max_buffers;
|
||||
unsigned int mem_allow_mlock;
|
||||
};
|
||||
|
||||
#define MAX_PARAMS 32
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue