✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ server.blackpussy.asia ​🇻​♯➤ 5.14.0-611.20.1.el9_7.x86_64 #1 SMP 🇾​♯➤ 2026

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 163.245.207.76 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.243
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗞 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ mail,mb_send_mail
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /usr/share/wireplumber/scripts//fallback-sink.lua
-- WirePlumber
--
-- Copyright © 2021 Collabora Ltd.
--    @author Frédéric Danis <frederic.danis@collabora.com>
--
-- SPDX-License-Identifier: MIT

sink_ids = {}
fallback_node = nil

node_om = ObjectManager {
  Interest {
    type = "node",
    Constraint { "media.class", "matches", "Audio/Sink", type = "pw-global" },
    -- Do not consider virtual items created by WirePlumber
    Constraint { "wireplumber.is-virtual", "!", true, type = "pw" },
    -- or the fallback sink itself
    Constraint { "wireplumber.is-fallback", "!", true, type = "pw" },
  }
}

function createFallbackSink()
  if fallback_node then
    return
  end

  Log.info("Create fallback sink")

  local properties = {}

  properties["node.name"] = "auto_null"
  properties["node.description"] = "Dummy Output"

  properties["audio.rate"] = 48000
  properties["audio.channels"] = 2
  properties["audio.position"] = "FL,FR"

  properties["media.class"] = "Audio/Sink"
  properties["factory.name"] = "support.null-audio-sink"
  properties["node.virtual"] = "true"
  properties["monitor.channel-volumes"] = "true"

  properties["wireplumber.is-fallback"] = "true"
  properties["priority.session"] = 500

  fallback_node = LocalNode("adapter", properties)
  fallback_node:activate(Feature.Proxy.BOUND)
end

function checkSinks()
  local sink_ids_items = 0
  for _ in pairs(sink_ids) do sink_ids_items = sink_ids_items + 1 end

  if sink_ids_items > 0 then
    if fallback_node then
      Log.info("Remove fallback sink")
      fallback_node = nil
    end
  elseif not fallback_node then
    createFallbackSink()
  end
end

function checkSinksAfterTimeout()
  if timeout_source then
    timeout_source:destroy()
  end
  timeout_source = Core.timeout_add(1000, function ()
    checkSinks()
    timeout_source = nil
  end)
end

node_om:connect("object-added", function (_, node)
  Log.debug("object added: " .. node.properties["object.id"] .. " " ..
      tostring(node.properties["node.name"]))

  sink_ids[node.properties["object.id"]] = node.properties["node.name"]

  checkSinksAfterTimeout()
end)

node_om:connect("object-removed", function (_, node)
  Log.debug("object removed: " .. node.properties["object.id"] .. " " ..
      tostring(node.properties["node.name"]))

  sink_ids[node.properties["object.id"]] = nil
  checkSinksAfterTimeout()
end)

node_om:activate()

checkSinksAfterTimeout()

Current_dir [ 𝗡𝗢𝗧 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]

Current_dir [ 𝗡𝗢𝗧 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
27 May 2026 4.58 AM
root / root
0755
client
--
27 May 2026 4.58 AM
root / root
0755
default-nodes
--
27 May 2026 4.58 AM
root / root
0755
device
--
27 May 2026 4.58 AM
root / root
0755
lib
--
27 May 2026 4.58 AM
root / root
0755
linking
--
27 May 2026 4.58 AM
root / root
0755
monitors
--
27 May 2026 4.58 AM
root / root
0755
node
--
27 May 2026 4.58 AM
root / root
0755
fallback-sink.lua
2.315 KB
10 Oct 2025 2.43 PM
root / root
0644
metadata.lua
0.646 KB
10 Oct 2025 2.43 PM
root / root
0644
session-services.lua
1.145 KB
10 Oct 2025 2.43 PM
root / root
0644
sm-objects.lua
3.336 KB
10 Oct 2025 2.43 PM
root / root
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF