• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2024 Huawei Device Co., Ltd.
2# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at
5#
6#     http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13
14# This file is part of PulseAudio.
15#
16# PulseAudio is free software; you can redistribute it and/or modify
17# it under the terms of the GNU Lesser General Public License as published by
18# the Free Software Foundation; either version 2 of the License, or
19# (at your option) any later version.
20#
21# PulseAudio is distributed in the hope that it will be useful, but
22# WITHOUT ANY WARRANTY; without even the implied warranty of
23# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
24# General Public License for more details.
25#
26# You should have received a copy of the GNU Lesser General Public License
27# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
28
29## Configuration file for the PulseAudio daemon. See pulse-daemon.conf(5) for
30## more information. Default values are commented out.  Use either ; or # for
31## commenting.
32
33; daemonize = no
34; fail = yes
35; allow-module-loading = yes
36; disallow-exit = yes
37disallow-exit = yes
38allow-exit = no
39; use-pid-file = yes
40; system-instance = no
41; local-server-type = user
42; enable-shm = yes
43; enable-memfd = yes
44; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB
45; lock-memory = no
46; cpu-limit = no
47
48; high-priority = yes
49; nice-level = -11
50
51; realtime-scheduling = yes
52; realtime-priority = 5
53
54exit-idle-time = -1
55; scache-idle-time = 20
56
57; dl-search-path = (depends on architecture)
58
59; load-default-script-file = yes
60; default-script-file =
61
62; log-target = auto
63; log-level = notice
64; log-meta = no
65; log-time = no
66; log-backtrace = 0
67
68; resample-method = speex-float-1
69; avoid-resampling = false
70; enable-remixing = yes
71; remixing-use-all-sink-channels = yes
72; enable-lfe-remixing = no
73; lfe-crossover-freq = 0
74
75flat-volumes = no
76
77; rlimit-fsize = -1
78; rlimit-data = -1
79; rlimit-stack = -1
80; rlimit-core = -1
81; rlimit-as = -1
82; rlimit-rss = -1
83; rlimit-nproc = -1
84rlimit-nofile = 32768
85; rlimit-memlock = -1
86; rlimit-locks = -1
87; rlimit-sigpending = -1
88; rlimit-msgqueue = -1
89; rlimit-nice = 31
90; rlimit-rtprio = 9
91; rlimit-rttime = 200000
92
93; default-sample-format = s16le
94; default-sample-rate = 44100
95; alternate-sample-rate = 48000
96; default-sample-channels = 2
97; default-channel-map = front-left,front-right
98
99; default-fragments = 4
100; default-fragment-size-msec = 25
101
102; enable-deferred-volume = yes
103deferred-volume-safety-margin-usec = 1
104; deferred-volume-extra-delay-usec = 0
105