alsa: rename vm.type to cpu.vm.name to be consistent with pipewire master
See 7e9e261fa6
This commit is contained in:
@@ -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 = {
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user