One Hat Cyber Team
Your IP :
216.73.216.203
Server IP :
162.240.179.46
Server :
Linux vps-14493116.nutrivittasaude.com.br 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64
Server Software :
Apache
PHP Version :
8.2.31
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
wireplumber
/
scripts
/
device
/
Edit File:
select-profile.lua
-- WirePlumber -- -- Copyright © 2022 Collabora Ltd. -- -- SPDX-License-Identifier: MIT -- look for new devices and raise select-profile event. cutils = require ("common-utils") log = Log.open_topic ("s-device") SimpleEventHook { name = "device/select-profile", interests = { EventInterest { Constraint { "event.type", "=", "device-added" }, }, EventInterest { Constraint { "event.type", "=", "device-params-changed" }, Constraint { "event.subject.param-id", "=", "EnumProfile" }, }, }, execute = function (event) local source = event:get_source () local device = event:get_subject () source:call ("push-event", "select-profile", device, nil) end }:register()
Simpan