Cyb3r Drag0nz Team Shell
Cyb3rDrag0nz


Server : Apache
System : Linux wealthytechsolutions.wealthytechsolutions.com 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64
User : raybondt ( 1003)
PHP Version : 8.3.31
Disable Function : exec,passthru,shell_exec,system
Directory :  /usr/share/wireplumber/scripts/lib/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/wireplumber/scripts/lib/audio-group-utils.lua
-- WirePlumber

-- Copyright © 2024 Collabora Ltd.
--    @author Julian Bouzas <julian.bouzas@collabora.com>

-- SPDX-License-Identifier: MIT

-- Script is a Lua Module of audio group Lua utility functions

local module = {
  node_groups = {},
}

function module.set_audio_group (stream_node, audio_group)
  module.node_groups [stream_node.id] = audio_group
end

function module.get_audio_group (stream_node)
  return module.node_groups [stream_node.id]
end

function module.contains_audio_group (audio_group)
  for k, v in pairs(module.node_groups) do
    if v == group then
      return true
    end
  end
  return false
end

return module

Cyb3r Drag0nz Team