...

Text file src/edge-infra.dev/cmd/sds/audio/pipewire/config/wireplumber/wireplumber.conf

Documentation: edge-infra.dev/cmd/sds/audio/pipewire/config/wireplumber

     1# WirePlumber daemon context configuration #
     2
     3context.properties = {
     4  ## Properties to configure the PipeWire context and some modules
     5
     6  #application.name = WirePlumber
     7  log.level = 2
     8  wireplumber.script-engine = lua-scripting
     9  #wireplumber.export-core = true
    10
    11  #mem.mlock-all = false
    12  support.dbus   = false
    13  support.logind = false
    14}
    15
    16context.spa-libs = {
    17  #<factory-name regex> = <library-name>
    18  #
    19  # Used to find spa factory names. It maps an spa factory name
    20  # regular expression to a library name that should contain
    21  # that factory.
    22  #
    23  api.alsa.*      = alsa/libspa-alsa
    24  api.bluez5.*    = bluez5/libspa-bluez5
    25  api.v4l2.*      = v4l2/libspa-v4l2
    26  api.libcamera.* = libcamera/libspa-libcamera
    27  audio.convert.* = audioconvert/libspa-audioconvert
    28  support.*       = support/libspa-support
    29}
    30
    31context.modules = [
    32  #{   name = <module-name>
    33  #    [ args = { <key> = <value> ... } ]
    34  #    [ flags = [ [ ifexists ] [ nofail ] ]
    35  #}
    36  #
    37  # PipeWire modules to load.
    38  # If ifexists is given, the module is ignored when it is not found.
    39  # If nofail is given, module initialization failures are ignored.
    40  #
    41
    42  # The native communication protocol.
    43  { name = libpipewire-module-protocol-native }
    44
    45  # Allows creating nodes that run in the context of the
    46  # client. Is used by all clients that want to provide
    47  # data to PipeWire.
    48  { name = libpipewire-module-client-node }
    49
    50  # Allows creating devices that run in the context of the
    51  # client. Is used by the session manager.
    52  { name = libpipewire-module-client-device }
    53
    54  # Makes a factory for wrapping nodes in an adapter with a
    55  # converter and resampler.
    56  { name = libpipewire-module-adapter }
    57
    58  # Allows applications to create metadata objects. It creates
    59  # a factory for Metadata objects.
    60  { name = libpipewire-module-metadata }
    61
    62  # Provides factories to make session manager objects.
    63  { name = libpipewire-module-session-manager }
    64
    65  # Provides factories to make SPA node objects.
    66  { name = libpipewire-module-spa-node-factory }
    67]
    68
    69wireplumber.components = [
    70  #{ name = <component-name>, type = <component-type> }
    71  #
    72  # WirePlumber components to load
    73  #
    74
    75  # The lua scripting engine
    76  { name = libwireplumber-module-lua-scripting, type = module }
    77
    78  # The lua configuration file(s)
    79  # Other components are loaded from there
    80  { name = main.lua, type = config/lua }
    81  { name = policy.lua, type = config/lua }
    82  { name = bluetooth.lua, type = config/lua }
    83]

View as plain text