mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
conf: add pulse-server option to minimal.conf
This commit is contained in:
parent
31b387f269
commit
9b4b34b78b
1 changed files with 20 additions and 2 deletions
|
|
@ -48,6 +48,9 @@ context.properties = {
|
||||||
# This config can use udev or hardcoded ALSA devices. Make sure to
|
# This config can use udev or hardcoded ALSA devices. Make sure to
|
||||||
# change the alsa device below when disabling udev
|
# change the alsa device below when disabling udev
|
||||||
minimal.use-udev = true
|
minimal.use-udev = true
|
||||||
|
|
||||||
|
# Load the pulseaudio emulation daemon
|
||||||
|
minimal.use-pulse = true
|
||||||
}
|
}
|
||||||
|
|
||||||
context.spa-libs = {
|
context.spa-libs = {
|
||||||
|
|
@ -139,8 +142,23 @@ context.modules = [
|
||||||
|
|
||||||
# Makes a factory for creating links between ports.
|
# Makes a factory for creating links between ports.
|
||||||
{ name = libpipewire-module-link-factory }
|
{ name = libpipewire-module-link-factory }
|
||||||
|
|
||||||
|
{ name = libpipewire-module-protocol-pulse
|
||||||
|
condition = [ { minimal.use-pulse = true } ]
|
||||||
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
pulse.properties = {
|
||||||
|
# the addresses this server listens on
|
||||||
|
server.address = [
|
||||||
|
"unix:native"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
stream.properties = {
|
||||||
|
adapter.auto-port-config = { mode = dsp }
|
||||||
|
}
|
||||||
|
|
||||||
context.objects = [
|
context.objects = [
|
||||||
#{ factory = <factory-name>
|
#{ factory = <factory-name>
|
||||||
# ( args = { <key> = <value> ... } )
|
# ( args = { <key> = <value> ... } )
|
||||||
|
|
@ -206,12 +224,12 @@ context.objects = [
|
||||||
api.acp.auto-port = true
|
api.acp.auto-port = true
|
||||||
device.object.properties = {
|
device.object.properties = {
|
||||||
node.adapter = audio.adapt
|
node.adapter = audio.adapt
|
||||||
resample.disable = true
|
resample.disable = false
|
||||||
adapter.auto-port-config = {
|
adapter.auto-port-config = {
|
||||||
mode = dsp
|
mode = dsp
|
||||||
monitor = false
|
monitor = false
|
||||||
control = false
|
control = false
|
||||||
position = unknown # unknown, preserve
|
position = preserve # unknown, aux
|
||||||
}
|
}
|
||||||
#node.param.Props = {
|
#node.param.Props = {
|
||||||
# channelVolumes = [ 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.6 ]
|
# channelVolumes = [ 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.6 ]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue