2018-10-11 09:41:30 +02:00
|
|
|
#daemon config file for PipeWire version @VERSION@
|
2019-05-31 15:06:44 +02:00
|
|
|
|
2020-03-06 18:13:13 +01:00
|
|
|
## set-prop is used to configure properties in the system
|
|
|
|
|
#
|
2019-06-20 15:19:28 +02:00
|
|
|
#set-prop library.name.system support/libspa-support
|
2019-12-13 11:34:25 +01:00
|
|
|
#set-prop context.data-loop.library.name.system support/libspa-support
|
2020-03-18 17:53:46 +01:00
|
|
|
#set-prop link.max-buffers 64
|
|
|
|
|
set-prop link.max-buffers 16 # version < 3 clients can't handle more
|
2020-02-04 17:09:41 +01:00
|
|
|
#set-prop mem.allow-mlock true
|
2020-05-07 13:32:29 +02:00
|
|
|
#set-prop log.level 2
|
2019-05-31 15:06:44 +02:00
|
|
|
|
2020-03-06 18:13:13 +01:00
|
|
|
## Properties for the DSP configuration
|
|
|
|
|
#
|
2020-01-09 13:40:48 +01:00
|
|
|
#set-prop default.clock.rate 48000
|
|
|
|
|
#set-prop default.clock.quantum 1024
|
|
|
|
|
#set-prop default.clock.min-quantum 32
|
|
|
|
|
#set-prop default.clock.max-quantum 8192
|
2020-03-18 17:53:46 +01:00
|
|
|
#set-prop default.video.width 640
|
|
|
|
|
#set-prop default.video.height 480
|
2020-01-09 13:40:48 +01:00
|
|
|
#set-prop default.video.rate.num 25
|
|
|
|
|
#set-prop default.video.rate.denom 1
|
|
|
|
|
|
2020-03-06 18:13:13 +01:00
|
|
|
## add-spa-lib <factory-name regex> <library-name>
|
|
|
|
|
#
|
|
|
|
|
# used to find spa factory names. It maps an spa factory name
|
|
|
|
|
# regular expression to a library name that should contain
|
|
|
|
|
# that factory.
|
|
|
|
|
#
|
2019-06-21 13:31:34 +02:00
|
|
|
add-spa-lib audio.convert* audioconvert/libspa-audioconvert
|
2019-05-31 15:06:44 +02:00
|
|
|
add-spa-lib api.alsa.* alsa/libspa-alsa
|
|
|
|
|
add-spa-lib api.v4l2.* v4l2/libspa-v4l2
|
2020-04-20 12:26:50 +05:30
|
|
|
add-spa-lib api.libcamera.* libcamera/libspa-libcamera
|
2019-05-31 15:06:44 +02:00
|
|
|
add-spa-lib api.bluez5.* bluez5/libspa-bluez5
|
2019-08-19 16:32:22 +02:00
|
|
|
add-spa-lib api.vulkan.* vulkan/libspa-vulkan
|
2019-08-20 20:35:41 +02:00
|
|
|
add-spa-lib api.jack.* jack/libspa-jack
|
2020-04-27 20:18:34 +02:00
|
|
|
add-spa-lib support.* support/libspa-support
|
2020-02-21 16:27:00 +01:00
|
|
|
#add-spa-lib videotestsrc videotestsrc/libspa-videotestsrc
|
2020-03-03 12:15:49 +01:00
|
|
|
#add-spa-lib audiotestsrc audiotestsrc/libspa-audiotestsrc
|
2019-05-31 15:06:44 +02:00
|
|
|
|
2020-03-06 18:13:13 +01:00
|
|
|
## load-module [-ifexists] <module-name> [<key>=<value> ...]
|
|
|
|
|
#
|
|
|
|
|
# Loads a module with the given parameters. Normally failure is
|
|
|
|
|
# fatal if the module is not found, unless -ifexists is given.
|
|
|
|
|
#
|
2020-06-03 17:33:14 +05:30
|
|
|
load-module libpipewire-module-rtkit # rt.prio=20 rt.time.soft=200000 rt.time.hard=200000
|
2017-05-23 19:15:33 +02:00
|
|
|
load-module libpipewire-module-protocol-native
|
2020-01-31 15:07:26 +01:00
|
|
|
load-module libpipewire-module-profiler
|
2019-11-03 10:31:14 +01:00
|
|
|
load-module libpipewire-module-metadata
|
2019-10-21 16:39:08 +02:00
|
|
|
load-module libpipewire-module-spa-device-factory
|
2019-07-10 20:24:11 +02:00
|
|
|
load-module libpipewire-module-spa-node-factory
|
2017-06-02 12:38:11 +02:00
|
|
|
load-module libpipewire-module-client-node
|
2019-05-28 14:06:01 +02:00
|
|
|
load-module libpipewire-module-client-device
|
2020-07-17 14:14:26 +02:00
|
|
|
load-module libpipewire-module-portal
|
|
|
|
|
load-module libpipewire-module-access # access.allowed=@media_session_path@ access.force=flatpak
|
2019-07-02 17:39:04 +02:00
|
|
|
load-module libpipewire-module-adapter
|
2018-03-01 17:39:17 +01:00
|
|
|
load-module libpipewire-module-link-factory
|
2019-08-09 13:26:15 +03:00
|
|
|
load-module libpipewire-module-session-manager
|
2020-03-03 12:15:49 +01:00
|
|
|
|
2020-03-06 18:13:13 +01:00
|
|
|
## create-object [-nofail] <factory-name> [<key>=<value> ...]
|
|
|
|
|
#
|
|
|
|
|
# Creates an object from a PipeWire factory with the given parameters.
|
|
|
|
|
# If -nofail is given, errors are ignored (and no object is created)
|
|
|
|
|
#
|
|
|
|
|
#create-object spa-node-factory factory.name=videotestsrc node.name=videotestsrc Spa:Pod:Object:Param:Props:patternType=1
|
|
|
|
|
#create-object -nofail spa-device-factory factory.name=api.jack.device foo=bar
|
|
|
|
|
#create-object spa-device-factory factory.name=api.alsa.enum.udev
|
|
|
|
|
#create-object spa-device-factory factory.name=api.alsa.seq.bridge node.name=Internal-MIDI-Bridge
|
|
|
|
|
#create-object adapter factory.name=audiotestsrc node.name=my-test
|
|
|
|
|
#create-object spa-node-factory factory.name=api.vulkan.compute.source node.name=my-compute-source
|
2020-08-06 13:49:33 +02:00
|
|
|
create-object spa-node-factory factory.name=support.node.driver node.name=Dummy priority.driver=8000
|
2020-03-03 12:15:49 +01:00
|
|
|
|
2020-03-06 18:13:13 +01:00
|
|
|
## exec <program-name>
|
|
|
|
|
#
|
2020-11-17 20:59:40 +01:00
|
|
|
# Execute the given program.
|
|
|
|
|
#
|
|
|
|
|
# Start the session manager. Run the session manager with -h for
|
|
|
|
|
# options.
|
|
|
|
|
#
|
|
|
|
|
# The bluetooth module is disabled by default because it causes
|
|
|
|
|
# conflicts with PulseAudio. If you disable PulseAudio or don't
|
|
|
|
|
# load its bluetooth module, you can enable it here with -e bluez5
|
|
|
|
|
#
|
|
|
|
|
exec @media_session_path@
|
|
|
|
|
#
|
|
|
|
|
# You can optionally start the pulseaudio-server here as well
|
|
|
|
|
# but it better to start it as a systemd service.
|
|
|
|
|
# It can be interesting to start another daemon here that listens
|
|
|
|
|
# on another address with the -a option (eg. -a tcp:4713)
|
2020-03-06 18:13:13 +01:00
|
|
|
#
|
2020-11-12 17:43:42 +01:00
|
|
|
#exec @pipewire_pulse_path@
|