| 1 | # $Id: daemon.conf.in 1971 2007-10-28 19:13:50Z lennart $ |
|---|
| 2 | # |
|---|
| 3 | # This file is part of PulseAudio. |
|---|
| 4 | # |
|---|
| 5 | # PulseAudio is free software; you can redistribute it and/or modify |
|---|
| 6 | # it under the terms of the GNU Lesser General Public License as published by |
|---|
| 7 | # the Free Software Foundation; either version 2 of the License, or |
|---|
| 8 | # (at your option) any later version. |
|---|
| 9 | # |
|---|
| 10 | # PulseAudio is distributed in the hope that it will be useful, but |
|---|
| 11 | # WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|---|
| 13 | # General Public License for more details. |
|---|
| 14 | # |
|---|
| 15 | # You should have received a copy of the GNU Lesser General Public License |
|---|
| 16 | # along with PulseAudio; if not, write to the Free Software |
|---|
| 17 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 |
|---|
| 18 | # USA. |
|---|
| 19 | |
|---|
| 20 | ## Configuration file for the pulseaudio daemon. Default values are |
|---|
| 21 | ## commented out. Use either ; or # for commenting |
|---|
| 22 | |
|---|
| 23 | # Extra verbositiy |
|---|
| 24 | verbose = 4 |
|---|
| 25 | |
|---|
| 26 | ## Daemonize after startup |
|---|
| 27 | ; daemonize = 0 |
|---|
| 28 | |
|---|
| 29 | ## Quit if startup fails |
|---|
| 30 | ; fail = 0 |
|---|
| 31 | |
|---|
| 32 | ## Renice the daemon to level -15 and try to get SCHED_FIFO |
|---|
| 33 | ## scheduling. This a good idea if you hear annyoing noise in the |
|---|
| 34 | ## playback. However, this is a certain security issue, since it works |
|---|
| 35 | ## when called SUID root only. root is dropped immediately after gaining |
|---|
| 36 | ## the nice level and SCHED_FIFO scheduling on startup. |
|---|
| 37 | ; high-priority = 0 |
|---|
| 38 | |
|---|
| 39 | ## Disallow module loading after startup |
|---|
| 40 | ; disallow-module-loading = 0 |
|---|
| 41 | |
|---|
| 42 | ## Terminate the daemon after the last client quit and this time |
|---|
| 43 | ## passed. Use a negative value to disable this feature. |
|---|
| 44 | ; exit-idle-time = -1 |
|---|
| 45 | |
|---|
| 46 | ## Unload autoloaded modules after being idle for this time |
|---|
| 47 | ; module-idle-time = 20 |
|---|
| 48 | |
|---|
| 49 | ## Unload autoloaded sample cache entries after being idle for this time |
|---|
| 50 | ; scache-idle-time = 20 |
|---|
| 51 | |
|---|
| 52 | ## The path were to look for dynamic shared objects (DSOs aka |
|---|
| 53 | ## plugins). You may specify more than one path seperated by |
|---|
| 54 | ## colons. |
|---|
| 55 | ; dl-search-path = /usr/lib/pulse-0.9/modules/ |
|---|
| 56 | |
|---|
| 57 | ## The default script file to load. Specify an empty string for not |
|---|
| 58 | ## loading a default script file. The |
|---|
| 59 | ; default-script-file = |
|---|
| 60 | |
|---|
| 61 | ## The default log target. Use either "stderr", "syslog" or |
|---|
| 62 | ## "auto". The latter is equivalent to "sylog" in case daemonize is |
|---|
| 63 | ## true, otherwise to "stderr". |
|---|
| 64 | ; log-target = auto |
|---|
| 65 | |
|---|
| 66 | ## The resampling algorithm to use. Use one of src-sinc-best-quality, |
|---|
| 67 | ## src-sinc-medium-quality, src-sinc-fastest, src-zero-order-hold, |
|---|
| 68 | ## src-linear, trivial. See the documentation of libsamplerate for an |
|---|
| 69 | ## explanation for the different methods. The method 'trivial' is the |
|---|
| 70 | ## only algorithm implemented without usage of floating point |
|---|
| 71 | ## numbers. If you're tight on CPU consider using this. On the other |
|---|
| 72 | ## hand it has the worst quality of all. |
|---|
| 73 | resample-method = src-sinc-best-quality |
|---|
| 74 | |
|---|
| 75 | ## Create a PID file in /tmp/pulseaudio-$USER/pid. Of this is enabled |
|---|
| 76 | ## you may use commands like "pulseaudio --kill" or "pulseaudio |
|---|
| 77 | ## --check". If you are planning to start more than one pulseaudio |
|---|
| 78 | ## process per user, you better disable this option since it |
|---|
| 79 | ## effectively disables multiple instances. |
|---|
| 80 | ; use-pid-file = 1 |
|---|
| 81 | |
|---|
| 82 | ## Do not install the CPU load limit, even on platforms where it is |
|---|
| 83 | ## supported. This option is useful when debugging/profiling |
|---|
| 84 | ## PulseAudio to disable disturbing SIGXCPU signals. |
|---|
| 85 | no-cpu-limit = 1 |
|---|
| 86 | |
|---|
| 87 | ## Run the daemon as system-wide instance, requires root priviliges |
|---|
| 88 | ; system-instance = 0 |
|---|
| 89 | |
|---|
| 90 | ## Resource limits, see getrlimit(2) for more information |
|---|
| 91 | ; rlimit-as = -1 |
|---|
| 92 | ; rlimit-core = -1 |
|---|
| 93 | ; rlimit-data = -1 |
|---|
| 94 | ; rlimit-fsize = -1 |
|---|
| 95 | ; rlimit-nofile = 256 |
|---|
| 96 | ; rlimit-stack = -1 |
|---|
| 97 | ; rlimit-nproc = -1 |
|---|
| 98 | ; rlimit-memlock = 16384 |
|---|
| 99 | |
|---|
| 100 | ## Disable shared memory data transfer |
|---|
| 101 | ; disable-shm = 1 |
|---|
| 102 | |
|---|
| 103 | ## Default sample format |
|---|
| 104 | ; default-sample-format = s16le |
|---|
| 105 | default-sample-rate = 48000 |
|---|
| 106 | ; default-sample-channels = 2 |
|---|
| 107 | |
|---|
| 108 | ## Default fragment settings, for device drivers that need this |
|---|
| 109 | ; default-fragments = 4 |
|---|
| 110 | ; default-fragment-size-msec = 25 |
|---|