wireplumber: sandbox such that it gets higher sched priority

This commit is contained in:
2024-04-23 04:16:35 +00:00
parent 6d74c6616c
commit c174eddddf

View File

@@ -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" ];