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 © 2022 Collabora Ltd. -- -- SPDX-License-Identifier: MIT local module = { -- table of device info dev_infos = {}, } SimpleEventHook { name = "lib/device-info-cache/cleanup", interests = { EventInterest { Constraint { "event.type", "=", "device-removed" }, }, }, execute = function (event) local props = event:get_properties () local device_id = props ["object.serial"] Log.trace ("cleaning up dev_info for object.serial = " .. device_id) module.dev_infos [device_id] = nil end }:register() function module.get_device_info (self, device) local device_properties = device.properties local device_id = device_properties ["object.serial"] local dev_info = self.dev_infos [device_id] -- new device if not dev_info then local device_name = device_properties ["device.name"] if not device_name then Log.warning (device, "invalid device.name") return nil end Log.trace (device, string.format ( "create dev_info for '%s', object.serial = %s", device_name, device_id)) dev_info = { name = device_name, active_profile = -1, route_infos = {}, } self.dev_infos [device_id] = dev_info end return dev_info end function module.find_route_info (dev_info, route, return_new) local ri = dev_info.route_infos [route.index] if not ri and return_new then ri = { index = route.index, name = route.name, direction = route.direction, devices = route.devices or {}, profiles = route.profiles, priority = route.priority or 0, available = route.available or "unknown", prev_available = route.available or "unknown", active = false, prev_active = false, save = false, } end return ri end return module