summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-03-08 11:52:32 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-03-08 11:52:32 -0300
commit4514f895cdbe8cdf0408f4a96d01c2e75d1c9288 (patch)
treee18451d692b47be5714b29afcf87ff0a2cb74cf5
parent8986162256f2ea6182d354b24af4db9480ccdc4f (diff)
downloadpuppet-mpd-4514f895cdbe8cdf0408f4a96d01c2e75d1c9288.tar.gz
puppet-mpd-4514f895cdbe8cdf0408f4a96d01c2e75d1c9288.tar.bz2
Managing pulseaudio config (2)
-rw-r--r--files/pulseaudio23
1 files changed, 23 insertions, 0 deletions
diff --git a/files/pulseaudio b/files/pulseaudio
new file mode 100644
index 0000000..d67800a
--- /dev/null
+++ b/files/pulseaudio
@@ -0,0 +1,23 @@
+# Start the PulseAudio sound server in system mode.
+# (enables the pulseaudio init script - requires that users be in the
+# pulse-access group)
+# System mode is not the recommended way to run PulseAudio as it has some
+# limitations (such as no shared memory access) and could potentially allow
+# users to disconnect or redirect each others' audio streams. The
+# recommended way to run PulseAudio is as a per-session daemon. For GNOME/KDE/
+# Xfce sessions in Ubuntu Lucid/10.04, /etc/xdg/autostart/pulseaudio.desktop
+# handles this function of automatically starting PulseAudio on login, and for
+# it to work correctly your user must *not* have "autospawn = no" set in
+# ~/.pulse/client.conf (or in /etc/pulse/client.conf). By default, autospawn
+# is enabled. For other sessions, you can simply start PulseAudio with
+# "pulseaudio --daemonize".
+# 0 = don't start in system mode, 1 = start in system mode
+#PULSEAUDIO_SYSTEM_START=0
+PULSEAUDIO_SYSTEM_START=1
+
+# Prevent users from dynamically loading modules into the PulseAudio sound
+# server. Dynamic module loading enhances the flexibility of the PulseAudio
+# system, but may pose a security risk.
+# 0 = no, 1 = yes
+DISALLOW_MODULE_LOADING=1
+