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