From f4a386e876ba331f16c83752aabfb2567b4cb0eb Mon Sep 17 00:00:00 2001 From: odomingao Date: Sun, 4 Aug 2024 18:05:01 -0300 Subject: [PATCH] Update mpv mpv needs access to /dev/snd for the alsa audio backend to work --- apparmor.d/profiles-m-r/mpv | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apparmor.d/profiles-m-r/mpv b/apparmor.d/profiles-m-r/mpv index 1629176dd..49d6c9823 100644 --- a/apparmor.d/profiles-m-r/mpv +++ b/apparmor.d/profiles-m-r/mpv @@ -79,6 +79,8 @@ profile mpv @{exec_path} { @{sys}/devices/**/sound/**/uevent r, /dev/input/event@{int} r, + /dev/snd/controlC@{int} w, + /dev/snd/pcmC* w, owner /dev/tty@{int} rw, profile xdg-screensaver {