Server IP : 192.168.23.10  /  Your IP : 216.73.216.244
Web Server : Apache
System : Linux echo.premieradvertising.com 5.14.0-362.8.1.el9_3.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 7 14:54:22 EST 2023 x86_64
User : rrrallyteam ( 1049)
PHP Version : 8.1.32
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF
Directory (0755) :  /var/../usr/include/../share/postgresql-setup/../wireplumber/main.lua.d/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //var/../usr/include/../share/postgresql-setup/../wireplumber/main.lua.d/30-alsa-monitor.lua
alsa_monitor = {}
alsa_monitor.properties = {}
alsa_monitor.rules = {}

function alsa_monitor.enable()
  if alsa_monitor.enabled == false then
    return
  end

  -- The "reserve-device" module needs to be loaded for reservation to work
  if alsa_monitor.properties["alsa.reserve"] then
    load_module("reserve-device")
  end

  load_monitor("alsa", {
    properties = alsa_monitor.properties,
    rules = alsa_monitor.rules,
  })

  if alsa_monitor.properties["alsa.midi"] then
    load_monitor("alsa-midi", {
      properties = alsa_monitor.properties,
    })
    -- The "file-monitor-api" module needs to be loaded for MIDI device monitoring
    if alsa_monitor.properties["alsa.midi.monitoring"] then
      load_module("file-monitor-api")
    end
  end
end