]> code.delx.au - pulseaudio/blobdiff - src/daemon/daemon.conf.in
daemon: disable CPU load limiter by default
[pulseaudio] / src / daemon / daemon.conf.in
index d5373018dfb4d2e54ba30f24748dcde57d5137cd..db2059e1a4bc3cf40732d686d92b3a720b47b35c 100644 (file)
@@ -1,77 +1,81 @@
-# $Id$
+# This file is part of PulseAudio.
 #
-# This file is part of polypaudio.
-#
-# polypaudio is free software; you can redistribute it and/or modify
+# PulseAudio is free software; you can redistribute it and/or modify
 # it under the terms of the GNU Lesser General Public License as published by
 # the Free Software Foundation; either version 2 of the License, or
 # (at your option) any later version.
 #
-# polypaudio is distributed in the hope that it will be useful, but
+# PulseAudio is distributed in the hope that it will be useful, but
 # WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 # General Public License for more details.
 #
 # You should have received a copy of the GNU Lesser General Public License
-# along with polypaudio; if not, write to the Free Software
+# along with PulseAudio; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
 # USA.
 
-## Configuration file for the polypaudio daemon. Default values are
-## commented out.  Use either ; or # for commenting
+## Configuration file for the PulseAudio daemon. See pulse-daemon.conf(5) for
+## more information. Default values a commented out.  Use either ; or # for
+## commenting.
 
-# Extra verbositiy
-; verbose = 0
+; daemonize = no
+; fail = yes
+; allow-module-loading = yes
+; allow-exit = yes
+; use-pid-file = yes
+; system-instance = no
+; enable-shm = yes
+; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB
+; lock-memory = no
+; cpu-limit = no
 
-## Daemonize after startup
-; daemonize = 0
+; high-priority = yes
+; nice-level = -11
 
-## Quit if startup fails
-; fail = 1
+; realtime-scheduling = yes
+; realtime-priority = 5
 
-## Renice the daemon to level -15 and try to get SCHED_FIFO
-## scheduling. This a good idea if you hear annyoing noise in the
-## playback. However, this is a certain security issue, since it works 
-## when called SUID root only. root is dropped immediately after gaining
-## the nice level and SCHED_FIFO scheduling on startup.
-; high-priority = 0
+; exit-idle-time = 20
+; scache-idle-time = 20
 
-## Disallow module loading after startup
-; disallow-module-loading = 0
+; dl-search-path = (depends on architecture)
 
-## Terminate the daemon after the last client quit and this time
-## passed. Use a negative value to disable this feature.
-; exit-idle-time = -1
+; load-default-script-file = yes
+; default-script-file = @PA_DEFAULT_CONFIG_FILE@
 
-## Unload autoloaded modules after being idle for this time 
-; module-idle-time = 20
+; log-target = auto
+; log-level = notice
+; log-meta = no
+; log-time = no
+; log-backtrace = 0
 
-## The path were to look for dynamic shared objects (DSOs aka
-## plugins).  You may specify more than one path seperated by
-## colons. 
-; dl-search-path = @DLSEARCHPATH@
+; resample-method = speex-float-3
+; enable-remixing = yes
+; enable-lfe-remixing = no
 
-## The default script file to load. Specify an empty string for not
-## loading a default script file. The 
-; default-script-file = @DEFAULT_CONFIG_FILE@
+; flat-volumes = yes
 
-## The default log target. Use either "stderr", "syslog" or
-## "auto". The latter is equivalent to "sylog" in case daemonize is
-## true, otherwise to "stderr".
-; log-target = auto
+; rlimit-fsize = -1
+; rlimit-data = -1
+; rlimit-stack = -1
+; rlimit-core = -1
+; rlimit-as = -1
+; rlimit-rss = -1
+; rlimit-nproc = -1
+; rlimit-nofile = 256
+; rlimit-memlock = -1
+; rlimit-locks = -1
+; rlimit-sigpending = -1
+; rlimit-msgqueue = -1
+; rlimit-nice = 31
+; rlimit-rtprio = 9
+; rlimit-rtttime = 1000000
 
-## The resampling algorithm to use. Use one of src-sinc-best-quality,
-## src-sinc-medium-quality, src-sinc-fastest, src-zero-order-hold,
-## src-linear, trivial. See the documentation of libsamplerate for an
-## explanation for the different methods. The method 'trivial' is the
-## only algorithm implemented without usage of floating point
-## numbers. If you're tight on CPU consider using this. On the other
-## hand it has the worst quality of all.
-; resample-method = sinc-fastest
+; default-sample-format = s16le
+; default-sample-rate = 44100
+; default-sample-channels = 2
+; default-channel-map = front-left,front-right
 
-## Create a PID file in /tmp/polypaudio-$USER/pid. Of this is enabled
-## you may use commands like "polypaudio --kill" or "polypaudio
-## --check". If you are planning to start more than one polypaudio
-## process per user, you better disable this option since it
-## effectively disables multiple instances.
-; use-pid-file = 1
+; default-fragments = 4
+; default-fragment-size-msec = 25