xref: /OK3568_Linux_fs/buildroot/package/pulseaudio/daemon.conf (revision 4882a59341e53eb6f0b4789bf948001014eff981)
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, see <http://www.gnu.org/licenses/>.
15
16## Configuration file for the PulseAudio daemon. See pulse-daemon.conf(5) for
17## more information. Default values are commented out.  Use either ; or # for
18## commenting.
19
20; daemonize = no
21; fail = yes
22; allow-module-loading = yes
23allow-exit = no
24; use-pid-file = yes
25; system-instance = no
26; local-server-type = user
27; enable-shm = yes
28; enable-memfd = yes
29; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB
30; lock-memory = no
31; cpu-limit = no
32
33; high-priority = yes
34; nice-level = -11
35
36; realtime-scheduling = yes
37; realtime-priority = 5
38
39exit-idle-time = -1
40; scache-idle-time = 20
41
42; dl-search-path = (depends on architecture)
43
44; load-default-script-file = yes
45; default-script-file = /etc/pulse/default.pa
46
47; log-target = auto
48; log-level = notice
49; log-meta = no
50; log-time = no
51; log-backtrace = 0
52
53; resample-method = speex-float-1
54; avoid-resampling = false
55; enable-remixing = yes
56; remixing-use-all-sink-channels = yes
57; remixing-produce-lfe = no
58; remixing-consume-lfe = no
59; lfe-crossover-freq = 0
60
61; flat-volumes = no
62
63; rescue-streams = yes
64
65; rlimit-fsize = -1
66; rlimit-data = -1
67; rlimit-stack = -1
68; rlimit-core = -1
69; rlimit-as = -1
70; rlimit-rss = -1
71; rlimit-nproc = -1
72; rlimit-nofile = 256
73; rlimit-memlock = -1
74; rlimit-locks = -1
75; rlimit-sigpending = -1
76; rlimit-msgqueue = -1
77; rlimit-nice = 31
78; rlimit-rtprio = 9
79; rlimit-rttime = 200000
80
81; default-sample-format = s16le
82; default-sample-rate = 44100
83; alternate-sample-rate = 48000
84alternate-sample-rate = 44100
85; default-sample-channels = 2
86; default-channel-map = front-left,front-right
87
88default-fragments = 8
89default-fragment-size-msec = 5
90
91; enable-deferred-volume = yes
92; deferred-volume-safety-margin-usec = 8000
93; deferred-volume-extra-delay-usec = 0
94