diff --git a/src/config/wireplumber.conf.d/alsa-vm.conf b/src/config/wireplumber.conf.d/alsa-vm.conf index 1ababe97..c7b9693c 100644 --- a/src/config/wireplumber.conf.d/alsa-vm.conf +++ b/src/config/wireplumber.conf.d/alsa-vm.conf @@ -6,11 +6,11 @@ monitor.alsa.rules = [ matches = [ { node.name = "~alsa_input.pci.*" - vm.type = "~.*" + cpu.vm.name = "~.*" } { node.name = "~alsa_output.pci.*" - vm.type = "~.*" + cpu.vm.name = "~.*" } ] actions = { diff --git a/src/scripts/monitors/alsa.lua b/src/scripts/monitors/alsa.lua index 3cfd9fd8..e39f8345 100644 --- a/src/scripts/monitors/alsa.lua +++ b/src/scripts/monitors/alsa.lua @@ -144,10 +144,10 @@ function createNode(parent, id, obj_type, factory, properties) end end - -- add vm.type for rule matching purposes + -- add cpu.vm.name for rule matching purposes local vm_type = Core.get_vm_type() if nonempty(vm_type) then - properties["vm.type"] = vm_type + properties["cpu.vm.name"] = vm_type end -- apply properties from rules defined in JSON .conf file