From bff4ca431b0146cb0cbb3935905f50714072a0d9 Mon Sep 17 00:00:00 2001
From: Lennart Poettering
Date: Mon, 5 Nov 2007 15:10:13 +0000
Subject: add a man page for the pulseaudio binary. More will follow.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2023 fefdeb5f-60dc-0310-8127-8f9354f1896f
---
man/Makefile.am | 60 ++++++++
man/pulseaudio.1.xml.in | 379 ++++++++++++++++++++++++++++++++++++++++++++++++
man/xmltoman.css | 30 ++++
man/xmltoman.dtd | 39 +++++
man/xmltoman.xsl | 129 ++++++++++++++++
5 files changed, 637 insertions(+)
create mode 100644 man/Makefile.am
create mode 100644 man/pulseaudio.1.xml.in
create mode 100644 man/xmltoman.css
create mode 100644 man/xmltoman.dtd
create mode 100644 man/xmltoman.xsl
(limited to 'man')
diff --git a/man/Makefile.am b/man/Makefile.am
new file mode 100644
index 00000000..b701a2ea
--- /dev/null
+++ b/man/Makefile.am
@@ -0,0 +1,60 @@
+# $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 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
+# 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.
+
+pulseconfdir=$(sysconfdir)/pulse
+
+if BUILD_MANPAGES
+
+man_MANS = \
+ pulseaudio.1
+
+noinst_DATA = \
+ pulseaudio.1.xml
+
+CLEANFILES = \
+ $(noinst_DATA)
+
+pulseaudio.1.xml: pulseaudio.1.xml.in Makefile
+ sed -e 's,@pulseconfdir\@,$(pulseconfdir),g' \
+ -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
+ -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
+
+if USE_XMLTOMAN
+
+CLEANFILES += \
+ $(man_MANS)
+
+pulseaudio.1: pulseaudio.1.xml Makefile
+ xmltoman $< > $@
+
+xmllint: $(noinst_DATA)
+ for f in $(noinst_DATA) ; do \
+ xmllint --noout --valid "$$f" || exit 1 ; \
+ done
+
+endif
+
+endif
+
+EXTRA_DIST = \
+ $(man_MANS) \
+ pulseaudio.1.xml.in
+ xmltoman.css \
+ xmltoman.xsl \
+ xmltoman.dtd
diff --git a/man/pulseaudio.1.xml.in b/man/pulseaudio.1.xml.in
new file mode 100644
index 00000000..b30f4484
--- /dev/null
+++ b/man/pulseaudio.1.xml.in
@@ -0,0 +1,379 @@
+
+
+
+
+
+
+
+
+
+
+
+ pulseaudio [options]
+ pulseaudio --help
+ pulseaudio --dump-conf
+ pulseaudio --dump-modules
+ pulseaudio --dump-resample-methods
+ pulseaudio --cleanup-shm
+ pulseaudio --kill
+ pulseaudio --check
+
+
+
+
PulseAudio is a networked low-latency sound server for Linux, POSIX and Windows systems.
~/.pulse/daemon.conf,
+ @pulseconfdir@/daemon.conf: 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 for
+ more information.
+
+
~/.pulse/default.pa,
+ @pulseconfdir@/default.pa: 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 for more information.
+
+
~/.pulse/client.conf,
+ @pulseconfdir@/client.conf: 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 for
+ more information.
+
+
+
+
+
+
SIGINT, SIGTERM: the PulseAudio daemon will shut
+ down (Same as --kill).
+
+
SIGHUP: dump a long status report to STDOUT or
+ syslog, depending on the configuration.
+
+
SIGUSR1: load module-cli, allowing runtime
+ reconfiguration via STDIN/STDOUT.
+
+
SIGUSR2: load module-cli-protocol-unix, allowing
+ runtime reconfiguration via a AF_UNIX socket. See for more information.
+
+
+
+
+
+
Group pulse-rt: 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).
+
+
Group pulse-access: if PulseAudio is running as a system
+ daemon (see --system 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.
+
+
User pulse, group pulse: if PulseAudio is running as a system
+ daemon (see --system 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.
+
+
+
+ Blablub
+
+
+
+
The PulseAudio Developers <@PACKAGE_BUGREPORT@>; PulseAudio is available from
+
+
+
+
+ , , ,
+
+
+
+
diff --git a/man/xmltoman.css b/man/xmltoman.css
new file mode 100644
index 00000000..579a4fdc
--- /dev/null
+++ b/man/xmltoman.css
@@ -0,0 +1,30 @@
+/* $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 General Public License as published by the Free
+ Software Foundation; either version 2 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 General Public License
+ for more details.
+
+ You should have received a copy of the GNU 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.
+***/
+
+body { color: black; background-color: white; }
+a:link, a:visited { color: #900000; }
+h1 { text-transform:uppercase; font-size: 18pt; }
+p { margin-left:1cm; margin-right:1cm; }
+.cmd { font-family:monospace; }
+.file { font-family:monospace; }
+.arg { text-transform:uppercase; font-family:monospace; font-style: italic; }
+.opt { font-family:monospace; font-weight: bold; }
+.manref { font-family:monospace; }
+.option .optdesc { margin-left:2cm; }
diff --git a/man/xmltoman.dtd b/man/xmltoman.dtd
new file mode 100644
index 00000000..121e62c8
--- /dev/null
+++ b/man/xmltoman.dtd
@@ -0,0 +1,39 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/man/xmltoman.xsl b/man/xmltoman.xsl
new file mode 100644
index 00000000..8d4ca212
--- /dev/null
+++ b/man/xmltoman.xsl
@@ -0,0 +1,129 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ()
+
+
+
+
esdcompat is a compatiblity script that takes the
+ same arguments as the ESD sound daemon , but uses them to start a the PulseAudio sound server with the appropriate parameters. It is
+ required to make PulseAudio a drop-in replacement for esd, i.e. it
+ can be used to make
+ start up PulseAudio instead of esd.
+
+
It is recommended to make esd a symbolic link to this script.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
The PulseAudio Developers <@PACKAGE_BUGREPORT@>; PulseAudio is available from
This tool can be used to introspect or reconfigure a running
+ PulseAudio sound server during runtime. It connects to the sound
+ server and offers a simple live shell that can be used to enter
+ the commands also understood in the default.pa
+ configuration scripts.
+
+
This program takes no command line options.
+
+
+
+
The PulseAudio Developers <@PACKAGE_BUGREPORT@>; PulseAudio is available from
Due to a limitation in libsndfile
+ paplay currently does not always set the correct channel
+ mapping for playback of multichannel (i.e. surround) audio files, even if the channel mapping information is
+ available in the audio file.
+
+
+
+
+
The PulseAudio Developers <@PACKAGE_BUGREPORT@>; PulseAudio is available from
The pax11publish utility can be used to dump or
+ manipulate the PulseAudio server credentials that can be stored as
+ properties on the X11 root window.
+
+
Please note that the loadable module
+ module-x11-publish exports the same information
+ directly from the PulseAudio sound server, and should in most
+ cases be used in preference over this tool.
+
+
Use the following command to dump the raw
+ PulseAudio-specific data that is stored in your X11 root
+ window:
To minimize the risk of drop-outs during playback it is
+ recommended to run PulseAudio with real-time scheduling if the
+ underlying platform supports it. This decouples the scheduling
+ latency of the PulseAudio daemon from the system load and is thus
+ the best way to make sure that PulseAudio always gets CPU time
+ when it needs it to refill the hardware playback
+ buffers. Unfortunately this is a security risk on most systems,
+ since PulseAudio runs as user process, and giving realtime
+ scheduling priviliges to a user process always comes with the risk
+ that the user misuses it to lock up the system -- which is
+ possible since making a process real-time effectively disables
+ preemption.
+
+
To minimize the risk PulseAudio by default does not enable
+ real-time scheduling. It is however recommended to enable it
+ on trusted systems. To do that start PulseAudio with
+ --realtime (see above) or enabled the appropriate option in
+ daemon.conf. Since acquiring realtime scheduling is a
+ priviliged operation on most systems, some special changes to the
+ system configuration need to be made to allow them to the calling
+ user. Two options are available:
+
+
On newer Linux systems the system resource limit RLIMIT_RTPRIO
+ (see for more information)
+ can be used to allow specific users to acquire real-time
+ scheduling. This can be configured in
+ /etc/security/limits.conf, a resource limit of 9 is recommended.
+
+
Alternatively, the SUID root bit can be set for the PulseAudio
+ binary. Then, the daemon will drop root priviliges immediately on
+ startup, however retain the CAP_NICE capability (on systems that
+ support it), but only if the calling user is a member of the
+ pulse-rt group (see above). For all other users all
+ capababilities are dropped immediately. The advantage of this
+ solution is that the real-time priviliges are only granted to the
+ PulseAudio daemon -- not to all the user's processes.
+
+
Alternatively, if the risk of locking up the machine is
+ considered too big to enable real-time scheduling, high-priority
+ scheduling can be enabled instead (i.e. negative nice level). This
+ can be enabled by passing --high-priority (see above)
+ when starting PulseAudio and may also be enabled with the
+ approriate option in daemon.conf. Negative nice
+ levels can only be enabled when the appropriate resource limit
+ RLIMIT_NICE is set (see for
+ more information), possibly configured in
+ /etc/security/limits.conf. A resource limit of 31
+ (corresponding with nice level -11) is recommended.
+
+
+
+
+
The PulseAudio client libraries check for the existance of the
+ following environment variables and change their local configuration accordingly:
+
+
$PULSE_SERVER: the server string specifying the server to connect to when a client asks for a sound server connection and doesn't explicitly ask for a specific server.
+
+
$PULSE_SINK: the symbolic name of the sink to connect to when a client creates a playback stream and doesn't explicitly ask for a specific sink.
+
+
$PULSE_SOURCE: the symbolic name of the source to connect to when a client creates a record stream and doesn't explicitly ask for a specific source.
+
+
$PULSE_BINARY: path of PulseAudio executable to run when server auto-spawning is used.
+
+
$PULSE_CLIENTCONFIG: path of file that shall be read instead of client.conf (see above) for client configuration.
+
+
These environment settings take precedence -- if set -- over the configuration settings from client.conf (see above).
padsp starts the specified program and
+ redirects its access to OSS compatible audio devices
+ (/dev/dsp and auxiliary devices) to a PulseAudio
+ sound server.
+
+
padsp uses the $LD_PRELOAD environment variable
+ that is interpreted by and thus
+ does not work for SUID binaries and statically built
+ executables.
+
+
Equivalent to using padsp is starting an
+ application with $LD_PRELOAD set to
+ libpulsedsp.so
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
The PulseAudio Developers <@PACKAGE_BUGREPORT@>; PulseAudio is available from
pasuspender is a tool that can be used to tell a
+ local PulseAudio sound server to temporarily suspend access to the
+ audio devices, to allow other
+ applications access them directly. pasuspender will
+ suspend access to the audio devices, fork a child process, and
+ when the child process terminates, resume access again.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
The PulseAudio Developers <@PACKAGE_BUGREPORT@>; PulseAudio is available from
The PulseAudio sound server interprets the file
+ ~/.pulse/default.pa on startup, and when that file
+ doesn't exist @pulseconfdir@/default.pa. It
+ should contain directives in the PulseAudio CLI languages, as
+ documented on .
+
+
The same commands can also be entered during runtime in the tool, allowing flexible runtime reconfiguration.
+
+
+
+
The PulseAudio Developers <@PACKAGE_BUGREPORT@>;
+ PulseAudio is available from
+
+
+
+
+ , ,
+
+
+
+
diff --git a/man/pacat.1.xml.in b/man/pacat.1.xml.in
index 35c7651b..e02ad667 100644
--- a/man/pacat.1.xml.in
+++ b/man/pacat.1.xml.in
@@ -109,11 +109,11 @@ USA.
--format=FORMAT
Capture or play back audio with the specified sample
- format. Specify one of u8, s16le,
- s16be, float32le, float32be,
- ulaw, alaw. Depending on the endianess of
- the CPU the formats s16ne, s16re,
- float32ne, float32re (for native,
+ format. Specify one of u8, s16le,
+ s16be, float32le, float32be,
+ ulaw, alaw. Depending on the endianess of
+ the CPU the formats s16ne, s16re,
+ float32ne, float32re (for native,
resp. reverse endian) are available as aliases. Defaults to
s16ne.
@@ -132,17 +132,17 @@ USA.
Explicitly choose a channel map when playing back
this stream. The argument should be a comma separated list of
- channel names: front-left, front-right,
- mono, front-center, rear-left,
- rear-right, rear-center, lfe,
- front-left-of-center,
- front-right-of-center, side-left,
- side-right, top-center,
- top-front-center, top-front-left,
- top-front-right, top-rear-left,
- top-rear-right, top-rear-center, or any of
- the 32 auxiliary channel names aux0 to
- aux31.
+ channel names: front-left, front-right,
+ mono, front-center, rear-left,
+ rear-right, rear-center, lfe,
+ front-left-of-center,
+ front-right-of-center, side-left,
+ side-right, top-center,
+ top-front-center, top-front-left,
+ top-front-right, top-rear-left,
+ top-rear-right, top-rear-center, or any of
+ the 32 auxiliary channel names aux0 to
+ aux31.
The PulseAudio client library reads configuration directives from
+ a file ~/.pulse/client.conf on startup, and when that
+ file doesn't exist from
+ @pulseconfdir@/client.conf.
+
+
The configuration file is a simple collection of variable
+ declarations. If the configuration file parser encounters either ;
+ or # for it ignores the rest of the line until its end.
+
+
For the settings that take a boolean argument, the values
+ true, yes, on and 1
+ are equivalent, resp. false, no,
+ off, 0.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
The PulseAudio Developers <@PACKAGE_BUGREPORT@>;
+ PulseAudio is available from
The PulseAudio sound server reads configuration directives from
+ a file ~/.pulse/daemon.conf on startup, and when that
+ file doesn't exist from
+ @pulseconfdir@/daemon.conf. Please note that the
+ server also reads a configuration script on startup
+ default.pa which also contains runtime configuration
+ directives.
+
+
The configuration file is a simple collection of variable
+ declarations. If the configuration file parser encounters either ;
+ or # for it ignores the rest of the line until its end.
+
+
For the settings that take a boolean argument, the values
+ true, yes, on and 1
+ are equivalent, resp. false, no,
+ off, 0.
See for
+ more information. Set to -1 if PulseAudio shall not touch the resource
+ limit. Not all resource limits are available on all operating
+ systems.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Most drivers try to open the audio device with these settings
+ and then fall back to lower settings. The default settings are CD
+ quality: 16bit native endian, 2 channels, 44100 Hz sampling.
+
+
+
+
+
+
+
+
+
+
+
+
Some hardware drivers require the hardware playback buffer to
+ be subdivided into several fragments. It is possible to change
+ these buffer metrics for machines with high scheduling
+ latencies. Not all possible values that may be configured here are
+ available in all hardware. The driver will to find the nearest
+ setting supported.
+
+
+
+
+
+
+
+
The PulseAudio Developers <@PACKAGE_BUGREPORT@>; PulseAudio is available from
+
+
+
+
+ , , ,
+
+
+
+
--
cgit
From 6b932f0a50a8459399a8b79eb91132c8bacf22b9 Mon Sep 17 00:00:00 2001
From: Lennart Poettering
Date: Wed, 21 Nov 2007 23:03:19 +0000
Subject: update man pages a bit
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2070 fefdeb5f-60dc-0310-8127-8f9354f1896f
---
man/pacat.1.xml.in | 25 +++++++++++++++++++++++++
man/pulse-daemon.conf.5.xml.in | 6 ++++++
2 files changed, 31 insertions(+)
(limited to 'man')
diff --git a/man/pacat.1.xml.in b/man/pacat.1.xml.in
index e02ad667..748d136d 100644
--- a/man/pacat.1.xml.in
+++ b/man/pacat.1.xml.in
@@ -145,6 +145,31 @@ USA.
aux31.
+
+
+
+
+
+
+
+
+
+
diff --git a/man/pulse-daemon.conf.5.xml.in b/man/pulse-daemon.conf.5.xml.in
index 88bf8f58..2768e24e 100644
--- a/man/pulse-daemon.conf.5.xml.in
+++ b/man/pulse-daemon.conf.5.xml.in
@@ -101,6 +101,12 @@ USA.
overwrite or allow overwriting of the resampler to use.
+
+