mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-27 07:00:12 -05:00
Sections that don't need to be changed can be removed because they are now taken from the main config file.
71 lines
2.2 KiB
Text
71 lines
2.2 KiB
Text
# PulseAudio config file for PipeWire version @VERSION@ #
|
|
#
|
|
# Copy and edit this file in @PIPEWIRE_CONFIG_DIR@ for systemwide changes
|
|
# or in ~/.config/pipewire for local changes.
|
|
#
|
|
# You can remove the sections you don't want to modify, they are taken
|
|
# from the global config.
|
|
|
|
context.properties = {
|
|
## Configure properties in the system.
|
|
#mem.warn-mlock = false
|
|
#mem.allow-mlock = true
|
|
#mem.mlock-all = false
|
|
#log.level = 2
|
|
}
|
|
|
|
context.spa-libs = {
|
|
audio.convert.* = audioconvert/libspa-audioconvert
|
|
support.* = support/libspa-support
|
|
}
|
|
|
|
context.modules = [
|
|
{ name = libpipewire-module-rtkit
|
|
args = {
|
|
#nice.level = -11
|
|
#rt.prio = 88
|
|
#rt.time.soft = 200000
|
|
#rt.time.hard = 200000
|
|
}
|
|
flags = [ ifexists nofail ]
|
|
}
|
|
{ name = libpipewire-module-protocol-native }
|
|
{ name = libpipewire-module-client-node }
|
|
{ name = libpipewire-module-adapter }
|
|
{ name = libpipewire-module-metadata }
|
|
|
|
{ name = libpipewire-module-protocol-pulse
|
|
args = {
|
|
# the addresses this server listens on
|
|
server.address = [
|
|
"unix:native"
|
|
# "unix:/tmp/something" # absolute paths may be used
|
|
# "tcp:4713" # IPv4 and IPv6 on all addresses
|
|
# "tcp:[::]:9999" # IPv6 on all addresses
|
|
# "tcp:127.0.0.1:8888" # IPv4 on a single address
|
|
]
|
|
#pulse.min.req = 256/48000 # 5ms
|
|
#pulse.default.req = 960/48000 # 20 milliseconds
|
|
#pulse.min.frag = 256/48000 # 5ms
|
|
#pulse.default.frag = 96000/48000 # 2 seconds
|
|
#pulse.default.tlength = 96000/48000 # 2 seconds
|
|
#pulse.min.quantum = 256/48000 # 5ms
|
|
#pulse.default.format = F32
|
|
#pulse.default.position = [ FL FR ]
|
|
# These overrides are only applied when running in a vm.
|
|
vm.overrides = {
|
|
pulse.min.quantum = 1024/48000 # 22ms
|
|
}
|
|
}
|
|
}
|
|
]
|
|
|
|
stream.properties = {
|
|
#node.latency = 1024/48000
|
|
#node.autoconnect = true
|
|
#resample.quality = 4
|
|
#channelmix.normalize = false
|
|
#channelmix.mix-lfe = false
|
|
#channelmix.upmix = false
|
|
#channelmix.lfe-cutoff = 0
|
|
}
|