]> code.delx.au - pulseaudio/blobdiff - src/daemon/daemon.conf.in
daemon: disable CPU load limiter by default
[pulseaudio] / src / daemon / daemon.conf.in
index 30628969e877ba73b7c2adc969164a1f64301a0b..db2059e1a4bc3cf40732d686d92b3a720b47b35c 100644 (file)
@@ -1,5 +1,3 @@
-# $Id$
-#
 # This file is part of PulseAudio.
 #
 # PulseAudio is free software; you can redistribute it and/or modify
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
 # USA.
 
-## Configuration file for the pulseaudio daemon. Default values are
-## commented out.  Use either ; or # for commenting
-
-# Extra verbositiy
-; verbose = 0
-
-## Daemonize after startup
-; daemonize = 0
-
-## Quit if startup fails
-; fail = 1
+## Configuration file for the PulseAudio daemon. See pulse-daemon.conf(5) for
+## more information. Default values a commented out.  Use either ; or # for
+## commenting.
 
-## 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
+; 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
 
-## Disallow module loading after startup
-; disallow-module-loading = 0
+; high-priority = yes
+; nice-level = -11
 
-## Terminate the daemon after the last client quit and this time
-## passed. Use a negative value to disable this feature.
-; exit-idle-time = -1
+; realtime-scheduling = yes
+; realtime-priority = 5
 
-## Unload autoloaded modules after being idle for this time 
-; module-idle-time = 20
-
-## Unload autoloaded sample cache entries after being idle for this time 
+; exit-idle-time = 20
 ; scache-idle-time = 20
 
-## 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 = @PA_DLSEARCHPATH@
+; dl-search-path = (depends on architecture)
 
-## The default script file to load. Specify an empty string for not
-## loading a default script file. The 
+; load-default-script-file = yes
 ; default-script-file = @PA_DEFAULT_CONFIG_FILE@
 
-## 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
+; log-level = notice
+; log-meta = no
+; log-time = no
+; log-backtrace = 0
+
+; resample-method = speex-float-3
+; enable-remixing = yes
+; enable-lfe-remixing = no
+
+; flat-volumes = yes
 
-## 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
+; 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
 
-## Create a PID file in /tmp/pulseaudio-$USER/pid. Of this is enabled
-## you may use commands like "pulseaudio --kill" or "pulseaudio
-## --check". If you are planning to start more than one pulseaudio
-## process per user, you better disable this option since it
-## effectively disables multiple instances.
-; use-pid-file = 1
+; default-sample-format = s16le
+; default-sample-rate = 44100
+; default-sample-channels = 2
+; default-channel-map = front-left,front-right
 
-## Run the daemon as system-wide instance, requires root priviliges
-; system-instance = 0
+; default-fragments = 4
+; default-fragment-size-msec = 25