File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 1818# This startup script is used only if PulseAudio is started in system
1919# mode.
2020
21+ # Allow overriding the default configuration by users as a last-resort option
2122.ifexists /data/override.pa
2223.include /data/override.pa
2324.else
25+
2426### Automatically restore the volume of streams and devices
2527load-module module-device-restore
2628load-module module-stream-restore
@@ -50,6 +52,12 @@ load-module module-always-sink
5052load-module module-position-event-sounds
5153.endif
5254
53- .ifexists /data/custom.pa
55+ # Load additional user configuration, if present
56+ #
57+ # Using nofail has two effects here:
58+ # 1) Causes PulseAudio to log a message at startup if the user configuration
59+ # is not present to increase visible of the corresponding configuration
60+ # (cli-command.c: stat('/data/custom.pa'): No such file or directory)
61+ # 2) Means broken user command in the given file will not make PulseAudio fail
62+ .nofail
5463.include /data/custom.pa
55- .endif
You can’t perform that action at this time.
0 commit comments