This commit is contained in:
2026-03-24 22:53:51 -04:00
parent fe74e79404
commit 89dc5175d9
115 changed files with 1709 additions and 437 deletions

View File

@@ -0,0 +1,18 @@
-- WirePlumber
--
-- Copyright © 2024 Collabora Ltd.
--
-- SPDX-License-Identifier: MIT
local module = {}
function module.get_session_priority (node_props)
local priority = node_props ["priority.session"]
-- fallback to driver priority if session priority is not set
if not priority then
priority = node_props ["priority.driver"]
end
return math.tointeger (priority) or 0
end
return module