xref: /OK3568_Linux_fs/buildroot/package/pulseaudio/daemon.conf (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# This file is part of PulseAudio.
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# PulseAudio is free software; you can redistribute it and/or modify
4*4882a593Smuzhiyun# it under the terms of the GNU Lesser General Public License as published by
5*4882a593Smuzhiyun# the Free Software Foundation; either version 2 of the License, or
6*4882a593Smuzhiyun# (at your option) any later version.
7*4882a593Smuzhiyun#
8*4882a593Smuzhiyun# PulseAudio is distributed in the hope that it will be useful, but
9*4882a593Smuzhiyun# WITHOUT ANY WARRANTY; without even the implied warranty of
10*4882a593Smuzhiyun# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11*4882a593Smuzhiyun# General Public License for more details.
12*4882a593Smuzhiyun#
13*4882a593Smuzhiyun# You should have received a copy of the GNU Lesser General Public License
14*4882a593Smuzhiyun# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
15*4882a593Smuzhiyun
16*4882a593Smuzhiyun## Configuration file for the PulseAudio daemon. See pulse-daemon.conf(5) for
17*4882a593Smuzhiyun## more information. Default values are commented out.  Use either ; or # for
18*4882a593Smuzhiyun## commenting.
19*4882a593Smuzhiyun
20*4882a593Smuzhiyun; daemonize = no
21*4882a593Smuzhiyun; fail = yes
22*4882a593Smuzhiyun; allow-module-loading = yes
23*4882a593Smuzhiyunallow-exit = no
24*4882a593Smuzhiyun; use-pid-file = yes
25*4882a593Smuzhiyun; system-instance = no
26*4882a593Smuzhiyun; local-server-type = user
27*4882a593Smuzhiyun; enable-shm = yes
28*4882a593Smuzhiyun; enable-memfd = yes
29*4882a593Smuzhiyun; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB
30*4882a593Smuzhiyun; lock-memory = no
31*4882a593Smuzhiyun; cpu-limit = no
32*4882a593Smuzhiyun
33*4882a593Smuzhiyun; high-priority = yes
34*4882a593Smuzhiyun; nice-level = -11
35*4882a593Smuzhiyun
36*4882a593Smuzhiyun; realtime-scheduling = yes
37*4882a593Smuzhiyun; realtime-priority = 5
38*4882a593Smuzhiyun
39*4882a593Smuzhiyunexit-idle-time = -1
40*4882a593Smuzhiyun; scache-idle-time = 20
41*4882a593Smuzhiyun
42*4882a593Smuzhiyun; dl-search-path = (depends on architecture)
43*4882a593Smuzhiyun
44*4882a593Smuzhiyun; load-default-script-file = yes
45*4882a593Smuzhiyun; default-script-file = /etc/pulse/default.pa
46*4882a593Smuzhiyun
47*4882a593Smuzhiyun; log-target = auto
48*4882a593Smuzhiyun; log-level = notice
49*4882a593Smuzhiyun; log-meta = no
50*4882a593Smuzhiyun; log-time = no
51*4882a593Smuzhiyun; log-backtrace = 0
52*4882a593Smuzhiyun
53*4882a593Smuzhiyun; resample-method = speex-float-1
54*4882a593Smuzhiyun; avoid-resampling = false
55*4882a593Smuzhiyun; enable-remixing = yes
56*4882a593Smuzhiyun; remixing-use-all-sink-channels = yes
57*4882a593Smuzhiyun; remixing-produce-lfe = no
58*4882a593Smuzhiyun; remixing-consume-lfe = no
59*4882a593Smuzhiyun; lfe-crossover-freq = 0
60*4882a593Smuzhiyun
61*4882a593Smuzhiyun; flat-volumes = no
62*4882a593Smuzhiyun
63*4882a593Smuzhiyun; rescue-streams = yes
64*4882a593Smuzhiyun
65*4882a593Smuzhiyun; rlimit-fsize = -1
66*4882a593Smuzhiyun; rlimit-data = -1
67*4882a593Smuzhiyun; rlimit-stack = -1
68*4882a593Smuzhiyun; rlimit-core = -1
69*4882a593Smuzhiyun; rlimit-as = -1
70*4882a593Smuzhiyun; rlimit-rss = -1
71*4882a593Smuzhiyun; rlimit-nproc = -1
72*4882a593Smuzhiyun; rlimit-nofile = 256
73*4882a593Smuzhiyun; rlimit-memlock = -1
74*4882a593Smuzhiyun; rlimit-locks = -1
75*4882a593Smuzhiyun; rlimit-sigpending = -1
76*4882a593Smuzhiyun; rlimit-msgqueue = -1
77*4882a593Smuzhiyun; rlimit-nice = 31
78*4882a593Smuzhiyun; rlimit-rtprio = 9
79*4882a593Smuzhiyun; rlimit-rttime = 200000
80*4882a593Smuzhiyun
81*4882a593Smuzhiyun; default-sample-format = s16le
82*4882a593Smuzhiyun; default-sample-rate = 44100
83*4882a593Smuzhiyun; alternate-sample-rate = 48000
84*4882a593Smuzhiyunalternate-sample-rate = 44100
85*4882a593Smuzhiyun; default-sample-channels = 2
86*4882a593Smuzhiyun; default-channel-map = front-left,front-right
87*4882a593Smuzhiyun
88*4882a593Smuzhiyundefault-fragments = 8
89*4882a593Smuzhiyundefault-fragment-size-msec = 5
90*4882a593Smuzhiyun
91*4882a593Smuzhiyun; enable-deferred-volume = yes
92*4882a593Smuzhiyun; deferred-volume-safety-margin-usec = 8000
93*4882a593Smuzhiyun; deferred-volume-extra-delay-usec = 0
94