Skip to content

Commit c358f40

Browse files
authored
Add ability to add custom PulseAudio startup commands
Loads two extra “user-configurable” configuration files: /mnt/data/supervisor/audio/override.pa … replaces the default configuration, if present. /mnt/data/supervisor/audio/custom.pa … is appended to the default configuration, if present.
1 parent 15bded1 commit c358f40

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

rootfs/etc/pulse/system.pa

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
# This startup script is used only if PulseAudio is started in system
1919
# mode.
2020

21+
.ifexists /data/override.pa
22+
.include /data/override.pa
23+
.else
2124
### Automatically restore the volume of streams and devices
2225
load-module module-device-restore
2326
load-module module-stream-restore
@@ -45,3 +48,8 @@ load-module module-always-sink
4548

4649
### Enable positioned event sounds
4750
load-module module-position-event-sounds
51+
.endif
52+
53+
.ifexists /data/custom.pa
54+
.include /data/custom.pa
55+
.endif

0 commit comments

Comments
 (0)