1pulse-daemon.conf(5)          File Formats Manual         pulse-daemon.conf(5)
2
3
4

NAME

6       pulse-daemon.conf - PulseAudio daemon configuration file
7

SYNOPSIS

9       ~/.config/pulse/daemon.conf
10
11       ~/.config/pulse/daemon.conf.d/*.conf
12
13       /etc/pulse/daemon.conf
14
15       /etc/pulse/daemon.conf.d/*.conf
16

DESCRIPTION

18       The  PulseAudio sound server reads configuration directives from a con‐
19       figuration file on startup. If the per-user  file  ~/.config/pulse/dae‐
20       mon.conf  exists,  it  is used, otherwise the system configuration file
21       /etc/pulse/daemon.conf is used. In addition to those main  files,  con‐
22       figuration  directives  can  also  be  put  in  files under directories
23       ~/.config/pulse/daemon.conf.d/  and  /etc/pulse/daemon.conf.d/.   Those
24       files  have  to  have  the .conf file name extension, but otherwise the
25       file names can be chosen freely. The files under daemon.conf.d are pro‐
26       cessed  in alphabetical order. In case the same option is set in multi‐
27       ple files, the last file to set an option overrides earlier files.  The
28       main daemon.conf file is processed first, so options set in files under
29       daemon.conf.d override the main file.
30
31       Please note that the  server  also  reads  a  configuration  script  on
32       startup. See default.pa(5).
33
34       The configuration file is a simple collection of variable declarations.
35       If the configuration file parser encounters either ; or  #  it  ignores
36       the rest of the line until its end.
37
38       For  the settings that take a boolean argument the values true, yes, on
39       and 1 are equivalent, resp. false, no, off, 0.
40

GENERAL DIRECTIVES

42       daemonize=  Daemonize after startup. Takes a boolean value, defaults to
43       no. The --daemonize command line option takes precedence.
44
45       fail=  Fail  to  start up if any of the directives in the configuration
46       script default.pa fail. Takes a boolean argument, defaults to yes.  The
47       --fail command line option takes precedence.
48
49       allow-module-loading= Allow/disallow module loading after startup. This
50       is a security feature that if disabled makes sure that no further  mod‐
51       ules  may be loaded into the PulseAudio server after startup completed.
52       It is recommended to disable  this  when  system-instance  is  enabled.
53       Please  note that certain features like automatic hot-plug support will
54       not work if this option is enabled. Takes a boolean argument,  defaults
55       to  yes. The --disallow-module-loading command line option takes prece‐
56       dence.
57
58       allow-exit= Allow/disallow exit on user request. Defaults to yes.
59
60       resample-method= The resampling algorithm to use. Use one of  src-sinc-
61       best-quality,   src-sinc-medium-quality,   src-sinc-fastest,  src-zero-
62       order-hold, src-linear, trivial, speex-float-N, speex-fixed-N,  ffmpeg,
63       soxr-mq,  soxr-hq, soxr-vhq. See the documentation of libsamplerate and
64       speex for explanations  of  the  different  src-  and  speex-  methods,
65       respectively.  The  method  trivial  is the most basic algorithm imple‐
66       mented. If you're tight on CPU consider using this. On the  other  hand
67       it  has  the  worst  quality  of them all. The Speex resamplers take an
68       integer quality setting in the range 0..10 (bad...good). They exist  in
69       two flavours: fixed and float. The former uses fixed point numbers, the
70       latter relies on floating point numbers. On most desktop CPUs the float
71       point  resampler  is  a  lot faster, and it also offers slightly better
72       quality. The soxr-family methods are  based  on  libsoxr,  a  resampler
73       library  from  the SoX sound processing utility. The mq variant has the
74       best performance of the three. The hq is more expensive and,  according
75       to  SoX developers, is considered the best choice for audio of up to 16
76       bits per sample. The vhq variant has more precision than hq and is more
77       suitable for larger samples. The Soxr resamplers generally offer better
78       quality at less CPU compared to other resamplers, such  as  speex.  The
79       downside  is  that they can add a significant delay to the output (usu‐
80       ally up to around 20 ms, in rare cases more). See the output  of  dump-
81       resample-methods  for  a  complete  list  of  all available resamplers.
82       Defaults to speex-float-1. The --resample-method  command  line  option
83       takes precedence. Note that some modules overwrite or allow overwriting
84       of the resampler to use.
85
86       avoid-resampling= If set, try to configure the device to  avoid  resam‐
87       pling.  This  only  works  on devices which support reconfiguring their
88       rate, and when no other streams are already playing or capturing audio.
89       The  device will also not be configured to a rate less than the default
90       and alternate sample rates.
91
92       enable-remixing= If disabled never upmix or downmix channels to differ‐
93       ent  channel  maps.  Instead,  do  a  simple  name-based matching only.
94       Defaults to yes.
95
96       remixing-use-all-sink-channels= If enabled, use all sink channels  when
97       remixing.  Otherwise,  remix to the minimal set of sink channels needed
98       to reproduce all of the source channels. (This has  no  effect  on  LFE
99       remixing.) Defaults to yes.
100
101       enable-lfe-remixing= If disabled when upmixing or downmixing ignore LFE
102       channels. When this option is disabled the output LFE channel will only
103       get  a  signal  when  an  input LFE channel is available as well. If no
104       input LFE channel is available the output LFE channel will always be 0.
105       If no output LFE channel is available the signal on the input LFE chan‐
106       nel will be ignored. Defaults to no.
107
108       lfe-crossover-freq= The crossover frequency (in Hz) for the LFE filter.
109       Set it to 0 to disable the LFE filter. Defaults to 0.
110
111       use-pid-file=  Create  a  PID  file in the runtime directory ($XDG_RUN‐
112       TIME_DIR/pulse/pid). If this is  enabled  you  may  use  commands  like
113       --kill  or --check. If you are planning to start more than one PulseAu‐
114       dio process per user, you better disable this option  since  it  effec‐
115       tively  disables multiple instances. Takes a boolean argument, defaults
116       to yes. The --use-pid-file command line option takes precedence.
117
118       cpu-limit= If disabled do not install the CPU  load  limiter,  even  on
119       platforms  where  it  is  supported.  This option is useful when debug‐
120       ging/profiling PulseAudio to disable disturbing SIGXCPU signals.  Takes
121       a  boolean  argument,  defaults  to no. The --no-cpu-limit command line
122       argument takes precedence.
123
124       system-instance= Run the daemon as system-wide instance, requires  root
125       privileges. Takes a boolean argument, defaults to no. The --system com‐
126       mand line argument takes precedence.
127
128       local-server-type= Please don't use this option if you don't  have  to!
129       This option is currently only useful when you want D-Bus clients to use
130       a remote server. This option may be removed in future versions. If  you
131       only want to run PulseAudio in the system mode, use the system-instance
132       option. This option takes one of user, system or none as the  argument.
133       This  is  essentially  a  duplicate for the system-instance option. The
134       difference is the none option, which is useful when you want to  use  a
135       remote  server with D-Bus clients. If both this and system-instance are
136       defined, this option takes precedence. Defaults to whatever the system-
137       instance is set.
138
139       enable-shm=  Enable  data  transfer  via  POSIX or memfd shared memory.
140       Takes a boolean argument, defaults to yes.  The  --disable-shm  command
141       line argument takes precedence.
142
143       enable-memfd=.  Enable  memfd  shared memory. Takes a boolean argument,
144       defaults to yes.
145
146       shm-size-bytes= Sets the shared memory segment size for the daemon,  in
147       bytes.  If left unspecified or is set to 0 it will default to some sys‐
148       tem-specific default, usually 64 MiB. Please note that usually there is
149       no  need to change this value, unless you are running an OS kernel that
150       does not do memory overcommit.
151
152       lock-memory= Locks the entire PulseAudio  process  into  memory.  While
153       this might increase drop-out safety when used in conjunction with real-
154       time scheduling this takes away a lot of memory  from  other  processes
155       and might hence considerably slow down your system. Defaults to no.
156
157       flat-volumes=  Enable  'flat' volumes, i.e. where possible let the sink
158       volume equal the maximum of the volumes of the inputs connected to  it.
159       Takes a boolean argument, defaults to no.
160

SCHEDULING

162       high-priority=  Renice the daemon after startup to become a high-prior‐
163       ity process. This a good idea if you experience drop-outs during  play‐
164       back.  However,  this  is a certain security issue, since it works when
165       called SUID root only, or RLIMIT_NICE is used. root is dropped  immedi‐
166       ately  after  gaining  the nice level on startup, thus it is presumably
167       safe. See pulseaudio(1) for more information. Takes a boolean argument,
168       defaults  to  yes. The --high-priority command line option takes prece‐
169       dence.
170
171       realtime-scheduling= Try to acquire SCHED_FIFO scheduling  for  the  IO
172       threads.  The same security concerns as mentioned above apply. However,
173       if PA enters an endless  loop,  realtime  scheduling  causes  a  system
174       lockup.  Thus,  realtime  scheduling  should only be enabled on trusted
175       machines for now. Please note that only the IO  threads  of  PulseAudio
176       are made real-time. The controlling thread is left a normally scheduled
177       thread. Thus enabling  the  high-priority  option  is  orthogonal.  See
178       pulseaudio(1)  for more information. Takes a boolean argument, defaults
179       to yes. The --realtime command line option takes precedence.
180
181       realtime-priority= The realtime priority to acquire, if realtime-sched‐
182       uling is enabled. Note: JACK uses 10 by default, 9 for clients. Thus it
183       is recommended to choose the  PulseAudio  real-time  priorities  lower.
184       Some  PulseAudio  threads  might  choose  a  priority a little lower or
185       higher than the specified value. Defaults to 5.
186
187       nice-level= The nice level to acquire for the daemon, if  high-priority
188       is  enabled.  Note:  on  some  distributions  X11  uses -10 by default.
189       Defaults to -11.
190

IDLE TIMES

192       exit-idle-time= Terminate the daemon after the  last  client  quit  and
193       this  time in seconds passed. Use a negative value to disable this fea‐
194       ture. Defaults to 20. The --exit-idle-time command  line  option  takes
195       precedence.
196
197              When  PulseAudio  runs  in the per-user mode and detects a login
198              session, then any positive value will be  reset  to  0  so  that
199              PulseAudio  will  terminate  immediately  on  logout. A positive
200              value therefore has effect only in environments where there's no
201              support  for  login session tracking. A negative value can still
202              be used to disable any automatic exit.
203
204              When PulseAudio runs in  the  system  mode,  automatic  exit  is
205              always disabled, so this option does nothing.
206
207       scache-idle-time=  Unload  autoloaded  sample cache entries after being
208       idle for this time in seconds. Defaults to 20.  The  --scache-idle-time
209       command line option takes precedence.
210

PATHS

212       dl-search-path=  The  path  where  to  look  for dynamic shared objects
213       (DSOs/plugins). You may specify more than one path separated by colons.
214       The default path depends on compile time settings. The --dl-search-path
215       command line option takes precedence.
216
217       default-script-file= The default configuration  script  file  to  load.
218       Specify  an  empty  string  for  not loading a default script file. The
219       default behaviour is to load ~/.config/pulse/default.pa,  and  if  that
220       file  does  not  exist  fall  back to the system wide installed version
221       /etc/pulse/default.pa.  If   run   in   system-wide   mode   the   file
222       /etc/pulse/system.pa  is  used  instead. If -n is passed on the command
223       line or default-script-file=  is  disabled  the  default  configuration
224       script is ignored.
225
226       load-default-script-file= Load the default configuration script file as
227       specified in default-script-file=. Defaults to yes.
228

LOGGING

230       log-target= The default log target. Use either stderr, syslog,  journal
231       (optional),  auto,  file:PATH  or  newfile:PATH. On traditional systems
232       auto is equivalent to  syslog.  On  systemd-enabled  systems,  auto  is
233       equivalent to journal, in case daemonize is enabled, and to stderr oth‐
234       erwise. If set to file:PATH, logging is directed to the file  indicated
235       by  PATH. newfile:PATH is otherwise the same as file:PATH, but existing
236       files are never overwritten. If the specified file  already  exists,  a
237       suffix  is  added  to  the  file name to avoid overwriting. Defaults to
238       auto. The --log-target command line option takes precedence.
239
240       log-level= Log level, one of debug, info, notice, warning,  error.  Log
241       messages  with  a  lower  log level than specified here are not logged.
242       Defaults to notice. The --log-level command line  option  takes  prece‐
243       dence. The -v command line option might alter this setting.
244
245       log-meta=  With  each  logged message log the code location the message
246       was generated from. Defaults to no.
247
248       log-time= With each logged message log the relative time since startup.
249       Defaults to no.
250
251       log-backtrace= When greater than 0, with each logged message log a code
252       stack trace up the specified number of stack frames. Defaults to 0.
253

RESOURCE LIMITS

255       See getrlimit(2) for more information. Set to -1  if  PulseAudio  shall
256       not  touch the resource limit. Not all resource limits are available on
257       all operating systems.
258
259       rlimit-as Defaults to -1.
260
261       rlimit-rss Defaults to -1.
262
263       rlimit-core Defaults to -1.
264
265       rlimit-data Defaults to -1.
266
267       rlimit-fsize Defaults to -1.
268
269       rlimit-nofile Defaults to 256.
270
271       rlimit-stack Defaults to -1.
272
273       rlimit-nproc Defaults to -1.
274
275       rlimit-locks Defaults to -1.
276
277       rlimit-sigpending Defaults to -1.
278
279       rlimit-msgqueue Defaults to -1.
280
281       rlimit-memlock Defaults to 16 KiB. Please note  that  the  JACK  client
282       libraries may require more locked memory.
283
284       rlimit-nice  Defaults  to  31.  Please  make sure that the default nice
285       level as configured with nice-level fits in  this  resource  limit,  if
286       high-priority is enabled.
287
288       rlimit-rtprio  Defaults  to  9. Please make sure that the default real-
289       time priority level as configured with realtime-priority= fits in  this
290       resource  limit,  if  realtime-scheduling  is  enabled. The JACK client
291       libraries require a real-time priority of 9 by default.
292
293       rlimit-rttime Defaults to 1000000.
294

DEFAULT DEVICE SETTINGS

296       Most drivers try to open the audio device with these settings and  then
297       fall back to lower settings. The default settings are CD quality: 16bit
298       native endian, 2 channels, 44100 Hz sampling.
299
300       default-sample-format= The default sampling format. Specify one of  u8,
301       s16le, s16be, s24le, s24be, s24-32le, s24-32be, s32le, s32be float32le,
302       float32be, ulaw, alaw. Depending on the endianness of the CPU the  for‐
303       mats  s16ne,  s16re,  s24ne,  s24re,  s24-32ne, s24-32re, s32ne, s32re,
304       float32ne, float32re (for native, resp. reverse endian)  are  available
305       as aliases.
306
307       default-sample-rate= The default sample frequency.
308
309       default-sample-channels The default number of channels.
310
311       default-channel-map The default channel map.
312
313       alternate-sample-rate The alternate sample frequency. Sinks and sources
314       will use either the default-sample-rate value or this alternate  value,
315       typically 44.1 or 48kHz. Switching between default and alternate values
316       is enabled only when the sinks/sources are suspended.  This  option  is
317       ignored  in passthrough mode where the stream rate will be used. If set
318       to the same value as the default sample rate, this feature is disabled.
319

DEFAULT FRAGMENT SETTINGS

321       Some hardware drivers require the hardware playback buffer to be subdi‐
322       vided  into  several  fragments.  It is possible to change these buffer
323       metrics for machines with high scheduling latencies. Not  all  possible
324       values  that  may be configured here are available in all hardware. The
325       driver will find the nearest setting  supported.  Modern  drivers  that
326       support timer-based scheduling ignore these options.
327
328       default-fragments= The default number of fragments. Defaults to 4.
329
330       default-fragment-size-msec=The  duration of a single fragment. Defaults
331       to 25ms (i.e. the total buffer is thus 100ms long).
332

DEFAULT DEFERRED VOLUME SETTINGS

334       With the flat volume feature enabled, the sink HW volume is set to  the
335       same  level as the highest volume input stream. Any other streams (with
336       lower volumes) have the appropriate adjustment applied in SW  to  bring
337       them  to the correct overall level. Sadly hardware mixer changes cannot
338       be timed accurately and thus this change of volumes can sometimes cause
339       the  resulting  output sound to be momentarily too loud or too soft. So
340       to ensure SW and  HW  volumes  are  applied  concurrently  without  any
341       glitches,  their  application needs to be synchronized. The sink imple‐
342       mentation needs to support deferred volumes. The  following  parameters
343       can be used to refine the process.
344
345       enable-deferred-volume=  Enable deferred volume for the sinks that sup‐
346       port it. This feature is enabled by default.
347
348       deferred-volume-safety-margin-usec= The amount of  time  (in  usec)  by
349       which  the  HW volume increases are delayed and HW volume decreases are
350       advanced. Defaults to 8000 usec.
351
352       deferred-volume-extra-delay-usec= The amount of time (in usec) by which
353       HW  volume  changes  are  delayed.  Negative  values  are also allowed.
354       Defaults to 0.
355

AUTHORS

357       The  PulseAudio  Developers  <pulseaudio-discuss   (at)   lists   (dot)
358       freedesktop  (dot)  org>;  PulseAudio is available from http://pulseau
359       dio.org/
360

SEE ALSO

362       pulse-client.conf(5), default.pa(5), pulseaudio(1), pacmd(1)
363
364
365
366Manuals                              User                 pulse-daemon.conf(5)
Impressum