From f1561f8847e1aa71a957d201e84b607a73099d52 Mon Sep 17 00:00:00 2001 From: tiyn Date: Tue, 31 Mar 2026 04:00:46 +0200 Subject: [PATCH] Added Wireplumber configs --- .../wireplumber.conf.d/alsa-vm.conf | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .config/wireplumber/wireplumber.conf.d/alsa-vm.conf diff --git a/.config/wireplumber/wireplumber.conf.d/alsa-vm.conf b/.config/wireplumber/wireplumber.conf.d/alsa-vm.conf new file mode 100644 index 0000000..c7b9693 --- /dev/null +++ b/.config/wireplumber/wireplumber.conf.d/alsa-vm.conf @@ -0,0 +1,23 @@ +# ALSA node property overrides for virtual machine hardware + +monitor.alsa.rules = [ + # Generic PCI cards on any VM type + { + matches = [ + { + node.name = "~alsa_input.pci.*" + cpu.vm.name = "~.*" + } + { + node.name = "~alsa_output.pci.*" + cpu.vm.name = "~.*" + } + ] + actions = { + update-props = { + api.alsa.period-size = 1024 + api.alsa.headroom = 2048 + } + } + } +]