]> code.delx.au - pulseaudio/blobdiff - src/daemon/daemon.conf.in
core: infrastructure for alternate sampling rate
[pulseaudio] / src / daemon / daemon.conf.in
index 54acd8ead12b8048b17a5b42517614ce6a161cf8..dff97ae4c6a0e3ca8c96588a3ae1a91dace91efa 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
+## Configuration file for the PulseAudio daemon. See pulse-daemon.conf(5) for
+## more information. Default values are commented out.  Use either ; or # for
+## commenting.
+changequote(`[', `]')dnl Set up m4 quoting
 
-## Daemonize after startup
 ; daemonize = no
-
-## Quit if startup fails
 ; fail = yes
+; allow-module-loading = yes
+; allow-exit = yes
+; use-pid-file = yes
+; system-instance = no
+ifelse(@HAVE_DBUS@, 1, [dnl
+; local-server-type = user
+])dnl
+; enable-shm = yes
+; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB
+; lock-memory = no
+; cpu-limit = no
 
-## Renice the daemon to level -15. This a good idea if you experience
-## drop-outs 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 on startup, thus it is
-## presumably safe.
 ; high-priority = yes
-
-## Try to acquire SCHED_FIFO scheduling for the IO threads. The same
-## security concerns as mentioned above apply. However, if PA enters
-## an endless loop, realtime scheduling causes a system lockup. Thus,
-## realtime scheduling should only be enabled on trusted machines for
-## now. Please not that only the IO threads of PulseAudio are made
-## real-time. The controlling thread is left a normally scheduled
-## thread. Thus the enabling the high-priority option is orthogonal.
-; realtime-scheduling = no
-
-## The realtime priority to acquire, if realtime-scheduling is
-## enabled. (Note: JACK uses 10 by default, 9 for clients -- some
-## PulseAudio threads might choose a priority a little lower or higher
-## than this value.)
-; realtime-priority = 5
-
-## The nice level to acquire for the daemon, if high-priority is
-## enabled. (Note: on some distributions X11 uses -10 by default.)
 ; nice-level = -11
 
-## Disallow module loading after startup
-; disallow-module-loading = no
-
-## Terminate the daemon after the last client quit and this time
-## passed. Use a negative value to disable this feature.
-; exit-idle-time = -1
-
-## Unload autoloaded modules after being idle for this time
-; module-idle-time = 20
+; realtime-scheduling = yes
+; realtime-priority = 5
 
-## 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
-; default-script-file = @PA_DEFAULT_CONFIG_FILE@
+; load-default-script-file = yes
+; default-script-file = @PA_DEFAULT_CONFIG_DIR@/default.pa
 
-## 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, one of debug, info, notice, warning, error. Log messages
-# with a lower log level than specified here are not logged,
 ; log-level = notice
+; log-meta = no
+; log-time = no
+; log-backtrace = 0
 
-## 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, speex-float-N, speex-fixed-N, ffmpeg. See the
-## documentation of libsamplerate for an explanation for the different
-## src- methods. The method 'trivial' is the most basic algorithm
-## implemented. If you're tight on CPU consider using this. On the
-## other hand it has the worst quality of them all. The speex
-## resamplers take an integer quality setting in the range 0..9
-## (bad...good). They exist in two flavours: fixed and float. The
-## former uses fixed point numbers, the latter relies on floating
-## point numbers. On most desktop CPUs the float point resmapler is a
-## lot faster, and it also offers slightly better quality.
 ; resample-method = speex-float-3
+; enable-remixing = yes
+; enable-lfe-remixing = no
 
-## 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 = yes
-
-## Do not install the CPU load limit, even on platforms where it is
-## supported. This option is useful when debugging/profiling
-## PulseAudio to disable disturbing SIGXCPU signals.
-; no-cpu-limit = no
-
-## Run the daemon as system-wide instance, requires root priviliges
-; system-instance = no
+; flat-volumes = yes
 
-## Resource limits, see getrlimit(2) for more information. Set to -1
-## if PA shouldn't touch the resource limit. Not all resource limits
-## are available on all operating systems.
-; rlimit-as = -1
-; rlimit-core = -1
-; rlimit-data = -1
+ifelse(@HAVE_SYS_RESOURCE_H@, 1, [dnl
 ; rlimit-fsize = -1
-; rlimit-nofile = 256
+; rlimit-data = -1
 ; rlimit-stack = -1
+; rlimit-core = -1
+; rlimit-as = -1
+; rlimit-rss = -1
 ; rlimit-nproc = -1
-; rlimit-memlock = 16384
+; rlimit-nofile = 256
+; rlimit-memlock = -1
+; rlimit-locks = -1
+; rlimit-sigpending = -1
+; rlimit-msgqueue = -1
 ; rlimit-nice = 31
 ; rlimit-rtprio = 9
+; rlimit-rttime = 1000000
+])dnl
 
-## Disable shared memory data transfer
-; disable-shm = no
-
-## Default sample format
 ; default-sample-format = s16le
 ; default-sample-rate = 44100
+; alternate-sample-rate = 48000
 ; default-sample-channels = 2
+; default-channel-map = front-left,front-right
 
-## Default fragment settings, for device drivers that need this
 ; default-fragments = 4
 ; default-fragment-size-msec = 25
+
+; enable-deferred-volume = yes
+; deferred-volume-safety-margin-usec = 8000
+; deferred-volume-extra-delay-usec = 0