summaryrefslogtreecommitdiffstats
path: root/man/pulseaudio.1.xml.in
blob: b30f44843c98d9a282d3458432babd15a2373355 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
<?xml version="1.0"?><!--*-nxml-*-->
<!DOCTYPE manpage SYSTEM "xmltoman.dtd">
<?xml-stylesheet type="text/xsl" href="xmltoman.xsl" ?>

<!-- $Id$ -->

<!--
This file is part of PulseAudio.

PulseAudio is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation; either version 2.1 of the
License, or (at your option) any later version.

PulseAudio is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with PulseAudio; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA.
-->

<manpage name="pulseaudio" section="1" desc="The PulseAudio Sound System">

  <synopsis>
    <cmd>pulseaudio [<arg>options</arg>]</cmd>
    <cmd>pulseaudio <opt>--help</opt></cmd>
    <cmd>pulseaudio <opt>--dump-conf</opt></cmd>
    <cmd>pulseaudio <opt>--dump-modules</opt></cmd>
    <cmd>pulseaudio <opt>--dump-resample-methods</opt></cmd>
    <cmd>pulseaudio <opt>--cleanup-shm</opt></cmd>
    <cmd>pulseaudio <opt>--kill</opt></cmd>
    <cmd>pulseaudio <opt>--check</opt></cmd>
  </synopsis>

  <description>
    <p>PulseAudio is a networked low-latency sound server for Linux, POSIX and Windows systems.</p>
  </description>

  <options>

    <option>
      <p><opt>-h | --help</opt></p>

      <optdesc><p>Show help.</p></optdesc>
    </option>

    <option>
      <p><opt>--version</opt></p>

      <optdesc><p>Show version information.</p></optdesc>
    </option>

    <option>
      <p><opt>--dump-conf</opt></p>

      <optdesc><p>Load the daemon configuration file
      <file>daemon.conf</file> (see below), parse remaining
      configuration options on the command line and dump the resulting
      daemon configuration, in a format that is compatible with
      <file>daemon.conf</file>.</p></optdesc>
    </option>

    <option>
      <p><opt>--dump-modules</opt></p>

      <optdesc><p>List available loadable modules. Combine with
      <opt>-v</opt> for a more elaborate listing.</p></optdesc>
    </option>

    <option>
      <p><opt>--dump-resampe-methods</opt></p>
      <optdesc><p>List available audio resamplers.</p></optdesc>
    </option>

    <option>
      <p><opt>--cleanup-shm</opt></p>

      <optdesc><p>Identify stale PulseAudio POSIX shared memory
      segments in <file>/dev/shm</file> and remove them if
      possible. This is done implicitly whenever a new daemon starts
      up or a client tries to connect to a daemon. It should normally
      not be necessary to issue this command by hand. Only available
      on systems with POSIX shared memory segments implemented via a
      virtual file system mounted to <file>/dev/shm</file>
      (e.g. Linux).</p></optdesc>
    </option>

    <option>
      <p><opt>-k | --kill</opt></p>

      <optdesc><p>Kill an already running PulseAudio daemon of the
      calling user (Equivalent to sending a SIGTERM).</p></optdesc>
    </option>

    <option>
      <p><opt>--check</opt></p>

      <optdesc><p>Return 0 as return code when the PulseAudio daemon
      is already running for the calling user.</p></optdesc>
    </option>


    <option>
      <p><opt>--system</opt><arg>[=BOOL]</arg></p>

      <optdesc><p>Run as system-wide instance instead of
      per-user. Please not that this disables certain features of
      PulseAudio and is generally not recommended unless the system
      knows no local users (e.g. is a thin client). This feature needs
      special configuration and a dedicated UNIX user set up. It is
      highly recommended to combine this with
      <opt>--disallow-module-loading</opt> (see below).</p></optdesc>
    </option>

    <option>
      <p><opt>-D | --daemon</opt><arg>[=BOOL]</arg></p>

      <optdesc><p>Daemonize after startup, i.e. detach from the
      terminal.</p></optdesc>
    </option>

    <option>
      <p><opt>--fail</opt><arg>[=BOOL]</arg></p>

      <optdesc><p>Fail startup when any of the commands specified in
      the startup script <file>default.pa</file> (see below)
      fails.</p></optdesc>
    </option>

    <option>
      <p><opt>--high-priority</opt><arg>[=BOOL]</arg></p>

      <optdesc><p>Try to acquire a high Unix nice level. This will
      only succeed if the calling user has a non-zero RLIMIT_NICE
      resource limit set (on systems that support this), or we're
      called SUID root (see below), or we are configure to be run as
      system daemon (see <arg>--system</arg> above). It is recommended
      to enable this, since it is only a negligible security risk (see
      below).</p></optdesc>
    </option>

    <option>
      <p><opt>--realtime</opt><arg>[=BOOL]</arg></p>

      <optdesc><p>Try to acquire a real-time scheduling for
      PulseAudio's I/O threads. This will only succeed if the calling
      user has a non-zero RLIMIT_RTPRIO resource limit set (on systems
      that support this), or we're called SUID root (see below), or we
      are configure to be run as system daemon (see
      <arg>--system</arg> above). It is recommended to enable this
      only for trusted users, since it is a major security risk (see
      below).</p></optdesc>
    </option>

    <option>
      <p><opt>--disallow-module-loading</opt><arg>[=BOOL]</arg></p>

      <optdesc><p>Disallow module loading after startup. This is a
      security feature since it disallows additional module loading
      during runtime and on user request. It is highly recommended
      when <arg>--system</arg> is used (see above). Note however, that
      this breaks certain features like automatic module loading on hot
      plug.</p></optdesc>

    </option>

    <option>
      <p><opt>--exit-idle-time</opt><arg>=SECS</arg></p>

      <optdesc><p>Terminate the daemon when idle and the specified
      number of seconds passed.</p></optdesc>
    </option>

    <option>
      <p><opt>--module-idle-time</opt><arg>=SECS</arg></p>

      <optdesc><p>Unload autoloaded modules when idle and the
      specified number of seconds passed.</p></optdesc>
    </option>

    <option>
      <p><opt>--scache-idle-time</opt><arg>=SECS</arg></p>

      <optdesc><p>Unload autoloaded samples from the cache when the
      haven't been used for the specified number of
      seconds.</p></optdesc>
    </option>

    <option>
      <p><opt>--log-level</opt><arg>[=LEVEL]</arg></p>

      <optdesc><p>If an argument is passed, set the log level to the
      specified value, otherwise increase the configured verbosity
      level by one. The log levels are numerical from 0 to 4,
      corresponding to <arg>error</arg>, <arg>warn</arg>,
      <arg>notice</arg>, <arg>info</arg>, <arg>debug</arg>. Default
      log level is <arg>notice</arg>, i.e. all log messages with lower
      log levels are printed: <arg>error</arg>, <arg>warn</arg>,
      <arg>notice</arg>.</p></optdesc>
    </option>

    <option>
      <p><opt>-v</opt></p>

      <optdesc><p>Increase the configured verbosity level by one (see
      <opt>--log-level</opt> above). Specify multiple times to
      increase log level multiple times.</p></optdesc>
    </option>

    <option>
      <p><opt>--log-target</opt><arg>={auto,syslog,stderr}</arg></p>

      <optdesc><p>Specify the log target. If set to <arg>auto</arg>
      (which is the default), then logging is directed to syslog when
      <opt>--daemonize</opt> is passed, otherwise to
      STDERR.</p></optdesc>
    </option>

    <option>
      <p><opt>--p | --dl-search-path</opt><arg>=PATH</arg></p>

      <optdesc><p>Set the search path for dynamic shared objects
      (plugins).</p></optdesc>
    </option>

    <option>
      <p><opt>--resample-method</opt><arg>=METHOD</arg></p>

      <optdesc><p>Use the specified resampler by default (See
      <opt>--dump-resample-methods</opt> above for possible
      values).</p></optdesc>
    </option>

    <option>
      <p><opt>--use-pid-file</opt><arg>[=BOOL]</arg></p>

      <optdesc><p>Create a PID file. If this options is disabled it is possible to run multiple sound servers per user.</p></optdesc>
    </option>

    <option>
      <p><opt>--no-cpu-limit</opt><arg>[=BOOL]</arg></p>

      <optdesc><p>Do not install CPU load limiter on platforms that
      support it. By default, PulseAudio will terminate itself when it
      notices that it takes up too much CPU time. This is useful as a
      protection against system lockups when real-time scheduling is
      used (see below). Disabling this meachnism is useful when
      debugging PulseAudio with tools like <manref name="valgrind"
      section="1"/> which slow down execution.</p></optdesc>
    </option>

    <option>
      <p><opt>--disable-shm</opt><arg>[=BOOL]</arg></p>

      <optdesc><p>PulseAudio clients and the server can exchange audio
      data via POSIX shared memory segments (on systems that support
      this). If disabled PulseAudio will communicate exclusively over
      sockets. Please note that data transfer via shared memory
      segments is always disabled when PulseAudio is running with
      <opt>--system</opt> enabled (see above).</p></optdesc>
    </option>

    <option>
      <p><opt>-L | --load</opt><arg>="MODULE ARGUMENTS"</arg></p>

      <optdesc><p>Load the specified plugin module with the specified
      arguments.</p></optdesc>
    </option>

    <option>
      <p><opt>-F | --file</opt><arg>=FILENAME</arg></p>

      <optdesc><p>Run the specified script on startup. May be
      specified multiple times to specify multiple scripts to be run
      in order. Combine with <opt>-n</opt> to disable loading of the
      default script <file>default.pa</file> (see below).</p></optdesc>
    </option>
    <option>
      <p><opt>-C</opt></p>

      <optdesc><p>Open a command interpreter on STDIN/STDOUT after
      startup. This may be used to configure PulseAudio dynamically
      during runtime. Equivalent to
      <opt>--load</opt><arg>=module-cli</arg>.</p></optdesc>
    </option>
    <option>
      <p><opt>-n</opt></p>

      <optdesc><p>Don't load default script file
      <file>default.pa</file> (see below) on startup. Useful in
      conjunction with <opt>-C</opt> or
      <opt>--file</opt>.</p></optdesc>
    </option>


  </options>

  <section name="Files">

    <p><file>~/.pulse/daemon.conf</file>,
    <file>@pulseconfdir@/daemon.conf</file>: configuration settings
    for the PulseAudio daemon. If the version in the user's home
    directory does not exist the global configuration file is
    loaded. See <manref name="pulse-daemon.conf" section="5"/> for
    more information.</p>

    <p><file>~/.pulse/default.pa</file>,
    <file>@pulseconfdir@/default.pa</file>: the default configuration
    script to execute when the PulseAudio daemon is started. If the
    version in the user's home directory does not exist the global
    configuration script is loaded. See <manref name="default.pa"
    section="5"/> for more information.</p>

    <p><file>~/.pulse/client.conf</file>,
    <file>@pulseconfdir@/client.conf</file>: configuration settings
    for PulseAudio client applications. If the version in the user's
    home directory does not exist the global configuration file is
    loaded.  See <manref name="pulse-client.conf" section="5"/> for
    more information.</p>

  </section>

  <section name="Signals">

    <p><arg>SIGINT, SIGTERM</arg>: the PulseAudio daemon will shut
    down (Same as <opt>--kill</opt>).</p>

    <p><arg>SIGHUP</arg>: dump a long status report to STDOUT or
    syslog, depending on the configuration.</p>

    <p><arg>SIGUSR1</arg>: load module-cli, allowing runtime
    reconfiguration via STDIN/STDOUT.</p>

    <p><arg>SIGUSR2</arg>: load module-cli-protocol-unix, allowing
    runtime reconfiguration via a AF_UNIX socket. See <manref
    name="pacmd" section="1"/> for more information.</p>

  </section>

  <section name="UNIX Groups and users">

    <p>Group <arg>pulse-rt</arg>: if the PulseAudio binary is marked
    SUID root, then membership of the calling user in this group
    decides whether real-time and/or high-priority scheduling is
    enabled. Please note that enabling real-time scheduling is a
    security risk (see below).</p>

    <p>Group <arg>pulse-access</arg>: if PulseAudio is running as a system
    daemon (see <opt>--system</opt> above) access is granted to
    members of this group when they connect via AF_UNIX sockets. If
    PulseAudio is running as a user daemon this group has no
    meaning.</p>

    <p>User <arg>pulse</arg>, group <arg>pulse</arg>: if PulseAudio is running as a system
    daemon (see <opt>--system</opt> above) and is started as root the
    daemon will drop priviliges and become a normal user process using
    this user and group. If PulseAudio is running as a user daemon
    this user and group has no meaning.</p>
  </section>

  <section name="Real-time and high-priority scheduling">
    Blablub
  </section>

  <section name="Authors">
    <p>The PulseAudio Developers &lt;@PACKAGE_BUGREPORT@&gt;; PulseAudio is available from <url href="@PACKAGE_URL@"/></p>
  </section>

  <section name="See also">
    <p>
      <manref name="pulse-daemon.conf" section="5"/>, <manref name="default.pa" section="5"/>, <manref name="pulse-client.conf" section="5"/>, <manref name="pacmd" section="1"/>
    </p>
  </section>

</manpage>