alsa.lua: use default rules if none are defined

This commit is contained in:
Julian Bouzas
2022-10-06 11:37:50 -04:00
parent 4bb949fd89
commit ed79e9a4d0
3 changed files with 136 additions and 120 deletions

View File

@@ -58,6 +58,8 @@ function cutils.evaluateRulesApplyProperties (properties, name)
properties [k] = v
end
end
return matched and mprops
end
-- simple serializer {"foo", "bar"} -> "foo;bar;"