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 @@ + + + + + + + + + + + + + + + <xsl:value-of select="@name"/>(<xsl:value-of select="@section"/>) + + + +

Name

+

+ - +

+ + + +
+ + +

+ +

+
+ + +

+ +

+
+ + + + + + + + + + + + + + +
+ +
+
+ + +

Synopsis

+ +
+ + +

Synopsis

+ +
+ + +

Description

+ +
+ + +

Options

+ +
+ + +

+ +
+ + +
+
+ + + + + () + + + () + + + + + + + + +
-- cgit From 7fdc1ee0838d3c55e29d8f44f2919a60f9415e56 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 5 Nov 2007 23:56:00 +0000 Subject: add a couple of more man pages git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2024 fefdeb5f-60dc-0310-8127-8f9354f1896f --- man/Makefile.am | 72 ++++++++++++++++++++- man/esdcompat.1.xml.in | 91 ++++++++++++++++++++++++++ man/pacat.1.xml.in | 160 ++++++++++++++++++++++++++++++++++++++++++++++ man/pacmd.1.xml.in | 52 +++++++++++++++ man/pactl.1.xml.in | 145 +++++++++++++++++++++++++++++++++++++++++ man/paplay.1.xml.in | 129 +++++++++++++++++++++++++++++++++++++ man/pax11publish.1.xml.in | 153 ++++++++++++++++++++++++++++++++++++++++++++ man/pulseaudio.1.xml.in | 69 +++++++++++++++++++- 8 files changed, 867 insertions(+), 4 deletions(-) create mode 100644 man/esdcompat.1.xml.in create mode 100644 man/pacat.1.xml.in create mode 100644 man/pacmd.1.xml.in create mode 100644 man/pactl.1.xml.in create mode 100644 man/paplay.1.xml.in create mode 100644 man/pax11publish.1.xml.in (limited to 'man') diff --git a/man/Makefile.am b/man/Makefile.am index b701a2ea..a3427aa7 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -22,10 +22,22 @@ pulseconfdir=$(sysconfdir)/pulse if BUILD_MANPAGES man_MANS = \ - pulseaudio.1 + pulseaudio.1 \ + esdcompat.1 \ + pax11publish.1 \ + paplay.1 \ + pacat.1 \ + pacmd.1 \ + pactl.1 noinst_DATA = \ - pulseaudio.1.xml + pulseaudio.1.xml \ + esdcompat.1.xml \ + pax11publish.1.xml \ + paplay.1.xml \ + pacat.1.xml \ + pacmd.1.xml \ + pactl.1.xml CLEANFILES = \ $(noinst_DATA) @@ -35,6 +47,36 @@ pulseaudio.1.xml: pulseaudio.1.xml.in Makefile -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \ -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@ +esdcompat.1.xml: esdcompat.1.xml.in Makefile + sed -e 's,@pulseconfdir\@,$(pulseconfdir),g' \ + -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \ + -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@ + +pax11publish.1.xml: pax11publish.1.xml.in Makefile + sed -e 's,@pulseconfdir\@,$(pulseconfdir),g' \ + -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \ + -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@ + +paplay.1.xml: paplay.1.xml.in Makefile + sed -e 's,@pulseconfdir\@,$(pulseconfdir),g' \ + -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \ + -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@ + +pacat.1.xml: pacat.1.xml.in Makefile + sed -e 's,@pulseconfdir\@,$(pulseconfdir),g' \ + -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \ + -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@ + +pacmd.1.xml: pacmd.1.xml.in Makefile + sed -e 's,@pulseconfdir\@,$(pulseconfdir),g' \ + -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \ + -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@ + +pactl.1.xml: pactl.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 += \ @@ -43,6 +85,24 @@ CLEANFILES += \ pulseaudio.1: pulseaudio.1.xml Makefile xmltoman $< > $@ +esdcompat.1: esdcompat.1.xml Makefile + xmltoman $< > $@ + +pax11publish.1: pax11publish.1.xml Makefile + xmltoman $< > $@ + +paplay.1: paplay.1.xml Makefile + xmltoman $< > $@ + +pacat.1: pacat.1.xml Makefile + xmltoman $< > $@ + +pacmd.1: pacmd.1.xml Makefile + xmltoman $< > $@ + +pactl.1: pactl.1.xml Makefile + xmltoman $< > $@ + xmllint: $(noinst_DATA) for f in $(noinst_DATA) ; do \ xmllint --noout --valid "$$f" || exit 1 ; \ @@ -54,7 +114,13 @@ endif EXTRA_DIST = \ $(man_MANS) \ - pulseaudio.1.xml.in + pulseaudio.1.xml.in \ + esdcompat.1.xml.in \ + pax11publish.1.xml.in \ + paplay.1.xml.in \ + pacat.1.xml.in \ + pacmd.1.xml.in \ + pactl.1.xml.in \ xmltoman.css \ xmltoman.xsl \ xmltoman.dtd diff --git a/man/esdcompat.1.xml.in b/man/esdcompat.1.xml.in new file mode 100644 index 00000000..864dc5db --- /dev/null +++ b/man/esdcompat.1.xml.in @@ -0,0 +1,91 @@ + + + + + + + + + + + + esdcompat [options] + esdcompat --help + esdcompat --version + + + +

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

+
+ +
+

+ , +

+
+ +
diff --git a/man/pacat.1.xml.in b/man/pacat.1.xml.in new file mode 100644 index 00000000..35c7651b --- /dev/null +++ b/man/pacat.1.xml.in @@ -0,0 +1,160 @@ + + + + + + + + + + + + pacat [options] [FILE] + parec [options] [FILE] + paplay --help + paplay --version + + + +

pacat is a simple tool for playing back or + capturing raw audio files on a PulseAudio sound server.

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

The PulseAudio Developers <@PACKAGE_BUGREPORT@>; PulseAudio is available from

+
+ +
+

+ , +

+
+ +
diff --git a/man/pacmd.1.xml.in b/man/pacmd.1.xml.in new file mode 100644 index 00000000..b760ba0e --- /dev/null +++ b/man/pacmd.1.xml.in @@ -0,0 +1,52 @@ + + + + + + + + + + + + pacmd + + + +

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

+
+ +
+

+ , , +

+
+ +
diff --git a/man/pactl.1.xml.in b/man/pactl.1.xml.in new file mode 100644 index 00000000..0b7b9a78 --- /dev/null +++ b/man/pactl.1.xml.in @@ -0,0 +1,145 @@ + + + + + + + + + + + + pulseaudio [options] stat + pulseaudio [options] list + pulseaudio [options] exit + pulseaudio [options] upload-sample FILENAME [NAME] + pulseaudio [options] play-sample NAME [SINK] + pulseaudio [options] remove-sample NAME + pulseaudio [options] move-sink-input ID SINK + pulseaudio [options] move-source-input ID SOURCE + pulseaudio [options] load-module NAME [ARGUMENTS ...] + pulseaudio [options] unload-module ID + pulseaudio [options] suspend-sink [SINK] 1|0 + pulseaudio [options] suspend-source [SOURCE] 1|0 + pulseaudio --help + pulseaudio --version + + + +

PulseAudio is a networked low-latency sound server for Linux, POSIX and Windows systems.

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

The PulseAudio Developers <@PACKAGE_BUGREPORT@>; PulseAudio is available from

+
+ +
+

+ , +

+
+ +
diff --git a/man/paplay.1.xml.in b/man/paplay.1.xml.in new file mode 100644 index 00000000..bab45dc3 --- /dev/null +++ b/man/paplay.1.xml.in @@ -0,0 +1,129 @@ + + + + + + + + + + + + paplay [options] FILE + paplay --help + paplay --version + + + +

paplay is a simple tool for playing back audio + files on a PulseAudio sound server. It understands all audio file + formats supported by libsndfile.

+
+ + + + + + + + + + + + + + + + + + + + + + + +
+ +

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

+
+ +
+

+ , +

+
+ +
diff --git a/man/pax11publish.1.xml.in b/man/pax11publish.1.xml.in new file mode 100644 index 00000000..1e3a1f01 --- /dev/null +++ b/man/pax11publish.1.xml.in @@ -0,0 +1,153 @@ + + + + + + + + + + + + pax11publish -h + pax11publish [options] [-d] + pax11publish [options] -e + pax11publish [options] -i + pax11publish [options] -r + + + +

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:

+ +

xprop -root | grep ^PULSE_

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+

The PulseAudio Developers <@PACKAGE_BUGREPORT@>; PulseAudio is available from

+
+ +
+

+ , +

+
+ +
diff --git a/man/pulseaudio.1.xml.in b/man/pulseaudio.1.xml.in index b30f4484..1f53a60b 100644 --- a/man/pulseaudio.1.xml.in +++ b/man/pulseaudio.1.xml.in @@ -28,6 +28,7 @@ USA. pulseaudio [options] pulseaudio --help + pulseaudio --version pulseaudio --dump-conf pulseaudio --dump-modules pulseaudio --dump-resample-methods @@ -363,7 +364,73 @@ USA.
- Blablub +

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).

+
-- cgit From 5dbab0b23aa373f5eb61faf2b0cbae24f05570fa Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 6 Nov 2007 00:21:20 +0000 Subject: complete pactl man page git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2026 fefdeb5f-60dc-0310-8127-8f9354f1896f --- man/pactl.1.xml.in | 76 +++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 61 insertions(+), 15 deletions(-) (limited to 'man') diff --git a/man/pactl.1.xml.in b/man/pactl.1.xml.in index 0b7b9a78..d30d5f7c 100644 --- a/man/pactl.1.xml.in +++ b/man/pactl.1.xml.in @@ -26,24 +26,26 @@ USA. - pulseaudio [options] stat - pulseaudio [options] list - pulseaudio [options] exit - pulseaudio [options] upload-sample FILENAME [NAME] - pulseaudio [options] play-sample NAME [SINK] - pulseaudio [options] remove-sample NAME - pulseaudio [options] move-sink-input ID SINK - pulseaudio [options] move-source-input ID SOURCE - pulseaudio [options] load-module NAME [ARGUMENTS ...] - pulseaudio [options] unload-module ID - pulseaudio [options] suspend-sink [SINK] 1|0 - pulseaudio [options] suspend-source [SOURCE] 1|0 - pulseaudio --help - pulseaudio --version + pactl [options] stat + pactl [options] list + pactl [options] exit + pactl [options] upload-sample FILENAME [NAME] + pactl [options] play-sample NAME [SINK] + pactl [options] remove-sample NAME + pactl [options] move-sink-input ID SINK + pactl [options] move-source-input ID SOURCE + pactl [options] load-module NAME [ARGUMENTS ...] + pactl [options] unload-module ID + pactl [options] suspend-sink [SINK] 1|0 + pactl [options] suspend-source [SOURCE] 1|0 + pactl --help + pactl --version -

PulseAudio is a networked low-latency sound server for Linux, POSIX and Windows systems.

+

pactl can be used to issue control commands to the PulseAudio sound server.

+ +

pactl only exposes a subset of the available operations. For the full set use the .

@@ -130,6 +132,50 @@ USA.

Move the specified recording stream (identified by its numerical index) to the specified source (identified by its symbolic name or numerical index).

+ + + + + + + + + +
-- cgit From 1821f1f4994dfd0618ac290da54da683e7604f40 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 7 Nov 2007 13:50:47 +0000 Subject: add man pages for padsp, pabrowse, pasuspender git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2027 fefdeb5f-60dc-0310-8127-8f9354f1896f --- man/Makefile.am | 37 +++++++++++++++- man/pabrowse.1.xml.in | 49 +++++++++++++++++++++ man/padsp.1.xml.in | 112 +++++++++++++++++++++++++++++++++++++++++++++++ man/pasuspender.1.xml.in | 75 +++++++++++++++++++++++++++++++ 4 files changed, 271 insertions(+), 2 deletions(-) create mode 100644 man/pabrowse.1.xml.in create mode 100644 man/padsp.1.xml.in create mode 100644 man/pasuspender.1.xml.in (limited to 'man') diff --git a/man/Makefile.am b/man/Makefile.am index a3427aa7..e5ce5530 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -28,7 +28,10 @@ man_MANS = \ paplay.1 \ pacat.1 \ pacmd.1 \ - pactl.1 + pactl.1 \ + pasuspender.1 \ + padsp.1 \ + pabrowse.1 noinst_DATA = \ pulseaudio.1.xml \ @@ -37,7 +40,10 @@ noinst_DATA = \ paplay.1.xml \ pacat.1.xml \ pacmd.1.xml \ - pactl.1.xml + pactl.1.xml \ + pasuspender.1.xml \ + padsp.1.xml \ + pabrowse.1.xml CLEANFILES = \ $(noinst_DATA) @@ -77,6 +83,21 @@ pactl.1.xml: pactl.1.xml.in Makefile -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \ -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@ +pasuspender.1.xml: pasuspender.1.xml.in Makefile + sed -e 's,@pulseconfdir\@,$(pulseconfdir),g' \ + -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \ + -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@ + +padsp.1.xml: padsp.1.xml.in Makefile + sed -e 's,@pulseconfdir\@,$(pulseconfdir),g' \ + -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \ + -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@ + +pabrowse.1.xml: pabrowse.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 += \ @@ -103,6 +124,15 @@ pacmd.1: pacmd.1.xml Makefile pactl.1: pactl.1.xml Makefile xmltoman $< > $@ +pasuspender.1: pasuspender.1.xml Makefile + xmltoman $< > $@ + +padsp.1: padsp.1.xml Makefile + xmltoman $< > $@ + +pabrowse.1: pabrowse.1.xml Makefile + xmltoman $< > $@ + xmllint: $(noinst_DATA) for f in $(noinst_DATA) ; do \ xmllint --noout --valid "$$f" || exit 1 ; \ @@ -121,6 +151,9 @@ EXTRA_DIST = \ pacat.1.xml.in \ pacmd.1.xml.in \ pactl.1.xml.in \ + pasuspender.1.xml.in \ + padsp.1.xml.in \ + pabrowse.1.xml.in \ xmltoman.css \ xmltoman.xsl \ xmltoman.dtd diff --git a/man/pabrowse.1.xml.in b/man/pabrowse.1.xml.in new file mode 100644 index 00000000..b539fb21 --- /dev/null +++ b/man/pabrowse.1.xml.in @@ -0,0 +1,49 @@ + + + + + + + + + + + + pabrowse + + + +

pabrowse lists all PulseAudio sound servers on the + local network that are being announced with Zeroconf/Avahi.

+ +

This program takes no command line arguments.

+
+ +
+

The PulseAudio Developers <@PACKAGE_BUGREPORT@>; PulseAudio is available from

+
+ +
+

+ , +

+
+ +
diff --git a/man/padsp.1.xml.in b/man/padsp.1.xml.in new file mode 100644 index 00000000..610a9602 --- /dev/null +++ b/man/padsp.1.xml.in @@ -0,0 +1,112 @@ + + + + + + + + + + + + padsp [options] PROGRAM [ARGUMENTS ...] + padsp -h + + + +

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

+
+ +
+

+ , , +

+
+ +
diff --git a/man/pasuspender.1.xml.in b/man/pasuspender.1.xml.in new file mode 100644 index 00000000..8a73343a --- /dev/null +++ b/man/pasuspender.1.xml.in @@ -0,0 +1,75 @@ + + + + + + + + + + + + pasuspender [options] -- PROGRAM [ARGUMENTS ...] + pasuspender --help + pasuspender --version + + + +

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

+
+ +
+

+ , , , +

+
+ +
-- cgit From 445991287d541d15a9a446980e1485263ae55e10 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 8 Nov 2007 22:30:33 +0000 Subject: add remaing man pages git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2029 fefdeb5f-60dc-0310-8127-8f9354f1896f --- man/Makefile.am | 37 ++++- man/default.pa.5.xml.in | 58 +++++++ man/pacat.1.xml.in | 32 ++-- man/pulse-client.conf.5.xml.in | 115 +++++++++++++ man/pulse-daemon.conf.5.xml.in | 366 +++++++++++++++++++++++++++++++++++++++++ 5 files changed, 590 insertions(+), 18 deletions(-) create mode 100644 man/default.pa.5.xml.in create mode 100644 man/pulse-client.conf.5.xml.in create mode 100644 man/pulse-daemon.conf.5.xml.in (limited to 'man') diff --git a/man/Makefile.am b/man/Makefile.am index e5ce5530..0a355f95 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -31,7 +31,10 @@ man_MANS = \ pactl.1 \ pasuspender.1 \ padsp.1 \ - pabrowse.1 + pabrowse.1 \ + pulse-daemon.conf.5 \ + pulse-client.conf.5 \ + default.pa.5 noinst_DATA = \ pulseaudio.1.xml \ @@ -43,7 +46,10 @@ noinst_DATA = \ pactl.1.xml \ pasuspender.1.xml \ padsp.1.xml \ - pabrowse.1.xml + pabrowse.1.xml \ + pulse-daemon.conf.5.xml \ + pulse-client.conf.5.xml \ + default.pa.5.xml CLEANFILES = \ $(noinst_DATA) @@ -98,6 +104,21 @@ pabrowse.1.xml: pabrowse.1.xml.in Makefile -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \ -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@ +pulse-daemon.conf.5.xml: pulse-daemon.conf.5.xml.in Makefile + sed -e 's,@pulseconfdir\@,$(pulseconfdir),g' \ + -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \ + -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@ + +pulse-client.conf.5.xml: pulse-client.conf.5.xml.in Makefile + sed -e 's,@pulseconfdir\@,$(pulseconfdir),g' \ + -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \ + -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@ + +default.pa.5.xml: default.pa.5.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 += \ @@ -133,6 +154,15 @@ padsp.1: padsp.1.xml Makefile pabrowse.1: pabrowse.1.xml Makefile xmltoman $< > $@ +pulse-daemon.conf.5: pulse-daemon.conf.5.xml Makefile + xmltoman $< > $@ + +pulse-client.conf.5: pulse-client.conf.5.xml Makefile + xmltoman $< > $@ + +default.pa.5: default.pa.5.xml Makefile + xmltoman $< > $@ + xmllint: $(noinst_DATA) for f in $(noinst_DATA) ; do \ xmllint --noout --valid "$$f" || exit 1 ; \ @@ -154,6 +184,9 @@ EXTRA_DIST = \ pasuspender.1.xml.in \ padsp.1.xml.in \ pabrowse.1.xml.in \ + pulse-daemon.conf.5.xml.in \ + pulse-client.conf.5.xml.in \ + default.pa.5.xml.in \ xmltoman.css \ xmltoman.xsl \ xmltoman.dtd diff --git a/man/default.pa.5.xml.in b/man/default.pa.5.xml.in new file mode 100644 index 00000000..0f826db6 --- /dev/null +++ b/man/default.pa.5.xml.in @@ -0,0 +1,58 @@ + + + + + + + + + + + +

~/.pulse/default.pa

+ +

@pulseconfdir@/default.pa

+
+ + +

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.

diff --git a/man/pulse-client.conf.5.xml.in b/man/pulse-client.conf.5.xml.in new file mode 100644 index 00000000..dbf8dc0b --- /dev/null +++ b/man/pulse-client.conf.5.xml.in @@ -0,0 +1,115 @@ + + + + + + + + + + + +

~/.pulse/client.conf

+ +

@pulseconfdir@/client.conf

+
+ + +

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

+
+ +
+

+ , +

+
+ +
diff --git a/man/pulse-daemon.conf.5.xml.in b/man/pulse-daemon.conf.5.xml.in new file mode 100644 index 00000000..88bf8f58 --- /dev/null +++ b/man/pulse-daemon.conf.5.xml.in @@ -0,0 +1,366 @@ + + + + + + + + + + + +

~/.pulse/daemon.conf

+ +

@pulseconfdir@/daemon.conf

+
+ + +

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.

+ +