Linux evo.fastest-server.com 5.14.0-284.1101.el9.tuxcare.11.els11.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 14 13:30:35 UTC 2026 x86_64
LiteSpeed
Server IP : 103.249.112.113 & Your IP : 216.73.217.135
Domains : 988 Domain
User : tanishks
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
wireplumber /
scripts /
lib /
Delete
Unzip
Name
Size
Permission
Date
Action
audio-group-utils.lua
643
B
-rw-r--r--
2025-10-10 14:43
common-utils.lua
2.33
KB
-rw-r--r--
2025-10-10 14:43
device-info-cache.lua
1.78
KB
-rw-r--r--
2025-10-10 14:43
filter-utils.lua
12.41
KB
-rw-r--r--
2025-10-10 14:43
linking-utils.lua
13.21
KB
-rw-r--r--
2025-10-10 14:43
monitor-utils.lua
4.41
KB
-rw-r--r--
2025-10-10 14:43
node-utils.lua
1.21
KB
-rw-r--r--
2025-10-10 14:43
Save
Rename
-- WirePlumber -- -- Copyright © 2024 Collabora Ltd. -- -- SPDX-License-Identifier: MIT local cutils = require ("common-utils") 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 function module.get_route_priority (node_props) local card_profile_device = node_props ["card.profile.device"] local device_id = node_props ["device.id"] -- if the node does not have an associated device, just return 0 if not card_profile_device or not device_id then return 0 end -- Get the device devices_om = cutils.get_object_manager ("device") local device = devices_om:lookup { Constraint { "bound-id", "=", device_id, type = "gobject" }, } if not device then return 0 end -- Get the priority of the associated route for p in device:iterate_params ("Route") do local route = cutils.parseParam (p, "Route") if route and (route.device == tonumber (card_profile_device)) then return route.priority end end return 0 end return module