From 811c9e3f525e2c602504693a09f54729a25fd132 Mon Sep 17 00:00:00 2001 From: icedream Date: Mon, 2 Nov 2015 13:15:08 +0100 Subject: [PATCH] Add /etc/pulse/default.pa to only load null sinks. --- etc/pulse/default.pa | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 etc/pulse/default.pa diff --git a/etc/pulse/default.pa b/etc/pulse/default.pa new file mode 100644 index 0000000..52be1a4 --- /dev/null +++ b/etc/pulse/default.pa @@ -0,0 +1,26 @@ +.fail + +# Set tsched=0 here if you experience glitchy playback. This will +# revert back to interrupt-based scheduling and should fix it. + +# Audio sinks +load-module module-rescue-streams +load-module module-always-sink +load-module module-null-sink sink_name=TS3Bot sink_properties=device.description="TS3Bot" tsched=1 + +# Accept clients -- very important +load-module module-native-protocol-unix + +.nofail + +# Suspend on idle +load-module module-suspend-on-idle + +# Filters... will we ever need them? +load-module module-filter-apply + +.ifexists module-x11-publish.so + # Publish to X11 so the clients know how to connect to Pulse. Will + # clear itself on unload. + load-module module-x11-publish +.endif \ No newline at end of file