]> code.delx.au - pulseaudio/blob - src/daemon/daemon.conf.in
6437f8f1943fe8dc061311f8fd418c54a8b50d97
[pulseaudio] / src / daemon / daemon.conf.in
1 # This file is part of PulseAudio.
2 #
3 # PulseAudio is free software; you can redistribute it and/or modify
4 # it under the terms of the GNU Lesser General Public License as published by
5 # the Free Software Foundation; either version 2 of the License, or
6 # (at your option) any later version.
7 #
8 # PulseAudio is distributed in the hope that it will be useful, but
9 # WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 # General Public License for more details.
12 #
13 # You should have received a copy of the GNU Lesser General Public License
14 # along with PulseAudio; if not, write to the Free Software
15 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
16 # USA.
17
18 ## Configuration file for the PulseAudio daemon. See pulse-daemon.conf(5) for
19 ## more information. Default values are commented out. Use either ; or # for
20 ## commenting.
21 changequote(`[', `]')dnl Set up m4 quoting
22
23 ; daemonize = no
24 ; fail = yes
25 ; allow-module-loading = yes
26 ; allow-exit = yes
27 ; use-pid-file = yes
28 ; system-instance = no
29 ifelse(@HAVE_DBUS@, 1, [dnl
30 ; local-server-type = user
31 ])dnl
32 ; enable-shm = yes
33 ; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB
34 ; lock-memory = no
35 ; cpu-limit = no
36
37 ; high-priority = yes
38 ; nice-level = -11
39
40 ; realtime-scheduling = yes
41 ; realtime-priority = 5
42
43 ; exit-idle-time = 20
44 ; scache-idle-time = 20
45
46 ; dl-search-path = (depends on architecture)
47
48 ; load-default-script-file = yes
49 ; default-script-file = @PA_DEFAULT_CONFIG_DIR@/default.pa
50
51 ; log-target = auto
52 ; log-level = notice
53 ; log-meta = no
54 ; log-time = no
55 ; log-backtrace = 0
56
57 ; resample-method = speex-float-3
58 ; enable-remixing = yes
59 ; enable-lfe-remixing = no
60
61 ; flat-volumes = yes
62
63 ifelse(@HAVE_SYS_RESOURCE_H@, 1, [dnl
64 ; rlimit-fsize = -1
65 ; rlimit-data = -1
66 ; rlimit-stack = -1
67 ; rlimit-core = -1
68 ; rlimit-as = -1
69 ; rlimit-rss = -1
70 ; rlimit-nproc = -1
71 ; rlimit-nofile = 256
72 ; rlimit-memlock = -1
73 ; rlimit-locks = -1
74 ; rlimit-sigpending = -1
75 ; rlimit-msgqueue = -1
76 ; rlimit-nice = 31
77 ; rlimit-rtprio = 9
78 ; rlimit-rttime = 1000000
79 ])dnl
80
81 ; default-sample-format = s16le
82 ; default-sample-rate = 44100
83 ; default-sample-channels = 2
84 ; default-channel-map = front-left,front-right
85
86 ; default-fragments = 4
87 ; default-fragment-size-msec = 25
88
89 ; enable-sync-volume = yes
90 ; sync-volume-safety-margin-usec = 8000
91 ; sync-volume-extra-delay-usec = 0