Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions rootfs/etc/pulse/system.pa
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
# This startup script is used only if PulseAudio is started in system
# mode.

# Allow overriding the default configuration by users as a last-resort option
.ifexists /data/override.pa
.include /data/override.pa
.else

### Automatically restore the volume of streams and devices
load-module module-device-restore
load-module module-stream-restore
Expand Down Expand Up @@ -45,3 +50,14 @@ load-module module-always-sink

### Enable positioned event sounds
load-module module-position-event-sounds
.endif

# Load additional user configuration, if present
#
# Using nofail has two effects here:
# 1) Causes PulseAudio to log a message at startup if the user configuration
# is not present to increase visible of the corresponding configuration
# (cli-command.c: stat('/data/custom.pa'): No such file or directory)
# 2) Means broken user command in the given file will not make PulseAudio fail
.nofail
.include /data/custom.pa