wireplumber: sandbox such that it gets higher sched priority
This commit is contained in:
@@ -3,9 +3,8 @@
|
||||
sane.programs.wireplumber = {
|
||||
sandbox.method = "bwrap";
|
||||
sandbox.whitelistDbus = [
|
||||
# i think this isn't strictly necessary; it just wants to ask the portal for realtime perms
|
||||
# "system"
|
||||
"user"
|
||||
"system" #< so it can request better scheduling from rtkit
|
||||
"user" #< TODO: is this needed?
|
||||
];
|
||||
sandbox.whitelistAudio = true;
|
||||
sandbox.extraPaths = [
|
||||
@@ -21,6 +20,10 @@
|
||||
"/sys/class/video4linux"
|
||||
"/sys/devices"
|
||||
];
|
||||
sandbox.extraConfig = [
|
||||
# needed if i want rtkit to grant this higher scheduling priority
|
||||
"--sane-sandbox-keep-namespace" "pid"
|
||||
];
|
||||
|
||||
suggestedPrograms = [ "alsa-ucm-conf" ];
|
||||
|
||||
|
Reference in New Issue
Block a user