summaryrefslogtreecommitdiffstats
path: root/man/pactl.1
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--man/pactl.1120
-rw-r--r--man/pactl.1.xml.in274
2 files changed, 394 insertions, 0 deletions
diff --git a/man/pactl.1 b/man/pactl.1
new file mode 100644
index 0000000..d5e15ee
--- /dev/null
+++ b/man/pactl.1
@@ -0,0 +1,120 @@
+.TH pactl 1 User Manuals
+.SH NAME
+pactl \- Control a running PulseAudio sound server
+.SH SYNOPSIS
+\fBpactl [\fIoptions\fB] \fICOMMAND\fB [\fIARGS ...\fB]
+
+pactl --help\fB
+
+pactl --version\fB
+\f1
+.SH DESCRIPTION
+\fIpactl\f1 can be used to issue control commands to the PulseAudio sound server.
+
+\fIpactl\f1 only exposes a subset of the available operations. For the full set use the \fBpacmd(1)\f1.
+.SH OPTIONS
+.TP
+\fB-h | --help\f1
+Show help.
+.TP
+\fB--version\f1
+Show version information.
+.TP
+\fB-s | --server\f1\fI=SERVER\f1
+Choose the server to connect to.
+.TP
+\fB-n | --client-name\f1\fI=NAME\f1
+Specify the client name \fIpactl\f1 shall pass to the server when connecting.
+.SH COMMANDS
+When supplied as arguments to the commands below, the special names \@DEFAULT_SINK@, \@DEFAULT_SOURCE@ and \@DEFAULT_MONITOR@ can be used to specify the default sink, source and monitor respectively.
+.TP
+\fBstat\f1
+Dump a few statistics about the memory usage of the PulseAudio daemon.
+.TP
+\fBinfo\f1
+Dump some info about the PulseAudio daemon.
+.TP
+\fBlist\f1 [\fIshort\f1] [\fITYPE\f1]
+Dump all currently loaded modules, available sinks, sources, streams, etc. \fITYPE\f1 must be one of: modules, sinks, sources, sink-inputs, source-outputs, clients, samples, cards. If not specified, all info is listed. If short is given, output is in a tabular format, for easy parsing by scripts.
+.TP
+\fBexit\f1
+Asks the PulseAudio server to terminate.
+.TP
+\fBupload-sample\f1 \fIFILENAME\f1 [\fINAME\f1]
+Upload a sound from the specified audio file into the sample cache. The file types supported are those understood by \fIlibsndfile\f1. The sample in the cache is named after the audio file, unless the name is explicitly specified.
+.TP
+\fBplay-sample\f1 \fINAME\f1 [\fISINK\f1]
+Play the specified sample from the sample cache. It is played on the default sink, unless the symbolic name or the numerical index of the sink to play it on is specified.
+.TP
+\fBremove-sample\f1 \fINAME\f1
+Remove the specified sample from the sample cache.
+.TP
+\fBload-module\f1 \fINAME\f1 [\fIARGUMENTS ...\f1]
+Load the specified module with the specified arguments into the running sound server. Prints the numeric index of the module just loaded to STDOUT. You can use it to unload the module later.
+.TP
+\fBunload-module\f1 \fIID|NAME\f1
+Unload the module instance identified by the specified numeric index or unload all modules by the specified name.
+.TP
+\fBmove-sink-input\f1 \fIID\f1 \fISINK\f1
+Move the specified playback stream (identified by its numerical index) to the specified sink (identified by its symbolic name or numerical index).
+.TP
+\fBmove-source-output\f1 \fIID\f1 \fISOURCE\f1
+Move the specified recording stream (identified by its numerical index) to the specified source (identified by its symbolic name or numerical index).
+.TP
+\fBsuspend-sink\f1 \fISINK\f1 \fItrue|false\f1
+Suspend or resume the specified sink (which may be specified either by its name or index), depending whether true (suspend) or false (resume) is passed as last argument. Suspending a sink will pause all playback. Depending on the module implementing the sink this might have the effect that the underlying device is closed, making it available for other applications to use. The exact behaviour depends on the module.
+.TP
+\fBsuspend-source\f1 \fISOURCE\f1 \fItrue|false\f1
+Suspend or resume the specified source (which may be specified either by its name or index), depending whether true (suspend) or false (resume) is passed as last argument. Suspending a source will pause all capturing. Depending on the module implementing the source this might have the effect that the underlying device is closed, making it available for other applications to use. The exact behaviour depends on the module.
+.TP
+\fBset-card-profile\f1 \fICARD\f1 \fIPROFILE\f1
+Set the specified card (identified by its symbolic name or numerical index) to the specified profile (identified by its symbolic name).
+.TP
+\fBset-default-sink\f1 \fISINK\f1
+Make the specified sink (identified by its symbolic name) the default sink.
+.TP
+\fBset-sink-port\f1 \fISINK\f1 \fIPORT\f1
+Set the specified sink (identified by its symbolic name or numerical index) to the specified port (identified by its symbolic name).
+.TP
+\fBset-default-source\f1 \fISOURCE\f1
+Make the specified source (identified by its symbolic name) the default source.
+.TP
+\fBset-source-port\f1 \fISOURCE\f1 \fIPORT\f1
+Set the specified source (identified by its symbolic name or numerical index) to the specified port (identified by its symbolic name).
+.TP
+\fBset-port-latency-offset\f1 \fICARD\f1 \fIPORT\f1 \fIOFFSET\f1
+Set a latency offset to a specified port (identified by its symbolic name) that belongs to a card (identified by its symbolic name or numerical index). \fIOFFSET\f1 is a number which represents the latency offset in microseconds
+.TP
+\fBset-sink-volume\f1 \fISINK\f1 \fIVOLUME [VOLUME ...]\f1
+Set the volume of the specified sink (identified by its symbolic name or numerical index). \fIVOLUME\f1 can be specified as an integer (e.g. 2000, 16384), a linear factor (e.g. 0.4, 1.100), a percentage (e.g. 10%, 100%) or a decibel value (e.g. 0dB, 20dB). If the volume specification start with a + or - the volume adjustment will be relative to the current sink volume. A single volume value affects all channels; if multiple volume values are given their number has to match the sink's number of channels.
+.TP
+\fBset-source-volume\f1 \fISOURCE\f1 \fIVOLUME [VOLUME ...]\f1
+Set the volume of the specified source (identified by its symbolic name or numerical index). \fIVOLUME\f1 can be specified as an integer (e.g. 2000, 16384), a linear factor (e.g. 0.4, 1.100), a percentage (e.g. 10%, 100%) or a decibel value (e.g. 0dB, 20dB). If the volume specification start with a + or - the volume adjustment will be relative to the current source volume. A single volume value affects all channels; if multiple volume values are given their number has to match the source's number of channels.
+.TP
+\fBset-sink-input-volume\f1 \fIINPUT\f1 \fIVOLUME [VOLUME ...]\f1
+Set the volume of the specified sink input (identified by its numerical index). \fIVOLUME\f1 can be specified as an integer (e.g. 2000, 16384), a linear factor (e.g. 0.4, 1.100), a percentage (e.g. 10%, 100%) or a decibel value (e.g. 0dB, 20dB). If the volume specification start with a + or - the volume adjustment will be relative to the current sink input volume. A single volume value affects all channels; if multiple volume values are given their number has to match the sink input's number of channels.
+.TP
+\fBset-source-output-volume\f1 \fIOUTPUT\f1 \fIVOLUME [VOLUME ...]\f1
+Set the volume of the specified source output (identified by its numerical index). \fIVOLUME\f1 can be specified as an integer (e.g. 2000, 16384), a linear factor (e.g. 0.4, 1.100), a percentage (e.g. 10%, 100%) or a decibel value (e.g. 0dB, 20dB). If the volume specification start with a + or - the volume adjustment will be relative to the current source output volume. A single volume value affects all channels; if multiple volume values are given their number has to match the source output's number of channels.
+.TP
+\fBset-sink-mute\f1 \fISINK\f1 \fI1|0|toggle\f1
+Set the mute status of the specified sink (identified by its symbolic name or numerical index).
+.TP
+\fBset-source-mute\f1 \fISOURCE\f1 \fI1|0|toggle\f1
+Set the mute status of the specified source (identified by its symbolic name or numerical index).
+.TP
+\fBset-sink-input-mute\f1 \fIINPUT\f1 \fI1|0|toggle\f1
+Set the mute status of the specified sink input (identified by its numerical index).
+.TP
+\fBset-source-output-mute\f1 \fIOUTPUT\f1 \fI1|0|toggle\f1
+Set the mute status of the specified source output (identified by its numerical index).
+.TP
+\fBset-sink-formats\f1 \fISINK\f1 \fIFORMATS\f1
+Set the supported formats of the specified sink (identified by its numerical index) if supported by the sink. \fIFORMATS\f1 is specified as a semi-colon (;) separated list of formats in the form 'encoding[, key1=value1, key2=value2, ...]' (for example, AC3 at 32000, 44100 and 48000 Hz would be specified as 'ac3-iec61937, format.rate = "[ 32000, 44100, 48000 ]"'). See https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/SupportedAudioFormats/ for possible encodings.
+.TP
+\fBsubscribe\f1
+Subscribe to events, pactl does not exit by itself, but keeps waiting for new events.
+.SH AUTHORS
+The PulseAudio Developers <pulseaudio-discuss (at) lists (dot) freedesktop (dot) org>; PulseAudio is available from \fBhttp://pulseaudio.org/\f1
+.SH SEE ALSO
+\fBpulseaudio(1)\f1, \fBpacmd(1)\f1
diff --git a/man/pactl.1.xml.in b/man/pactl.1.xml.in
new file mode 100644
index 0000000..cff628f
--- /dev/null
+++ b/man/pactl.1.xml.in
@@ -0,0 +1,274 @@
+<?xml version="1.0"?><!--*-nxml-*-->
+<!DOCTYPE manpage SYSTEM "xmltoman.dtd">
+<?xml-stylesheet type="text/xsl" href="xmltoman.xsl" ?>
+
+<!--
+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, see <http://www.gnu.org/licenses/>.
+-->
+
+<manpage name="pactl" section="1" desc="Control a running PulseAudio sound server">
+
+ <synopsis>
+ <cmd>pactl [<arg>options</arg>] <arg>COMMAND</arg> [<arg>ARGS ...</arg>]</cmd>
+ <cmd>pactl <opt>--help</opt></cmd>
+ <cmd>pactl <opt>--version</opt></cmd>
+ </synopsis>
+
+ <description>
+ <p><file>pactl</file> can be used to issue control commands to the PulseAudio sound server.</p>
+
+ <p><file>pactl</file> only exposes a subset of the available operations. For the full set use the <manref name="pacmd" section="1"/>.</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>-s | --server</opt><arg>=SERVER</arg></p>
+
+ <optdesc><p>Choose the server to connect to.</p></optdesc>
+ </option>
+
+ <option>
+ <p><opt>-n | --client-name</opt><arg>=NAME</arg></p>
+
+ <optdesc><p>Specify the client name <file>pactl</file> shall pass to the server when connecting.</p></optdesc>
+ </option>
+
+ </options>
+
+ <section name="Commands">
+ <p>
+ When supplied as arguments to the commands below, the special names \@DEFAULT_SINK@, \@DEFAULT_SOURCE@ and \@DEFAULT_MONITOR@
+ can be used to specify the default sink, source and monitor respectively.
+ </p>
+
+ <option>
+ <p><opt>stat</opt></p>
+ <optdesc><p>Dump a few statistics about the memory usage of the PulseAudio daemon.</p></optdesc>
+ </option>
+
+ <option>
+ <p><opt>info</opt></p>
+ <optdesc><p>Dump some info about the PulseAudio daemon.</p></optdesc>
+ </option>
+
+ <option>
+ <p><opt>list</opt> [<arg>short</arg>] [<arg>TYPE</arg>]</p>
+ <optdesc><p>Dump all currently loaded modules, available sinks, sources, streams, etc. <arg>TYPE</arg> must be one of:
+ modules, sinks, sources, sink-inputs, source-outputs, clients, samples, cards. If not specified, all info is listed. If
+ short is given, output is in a tabular format, for easy parsing by scripts.</p></optdesc>
+ </option>
+
+ <option>
+ <p><opt>exit</opt></p>
+ <optdesc><p>Asks the PulseAudio server to terminate.</p></optdesc>
+ </option>
+
+ <option>
+ <p><opt>upload-sample</opt> <arg>FILENAME</arg> [<arg>NAME</arg>]</p>
+ <optdesc><p>Upload a sound from the specified audio file into
+ the sample cache. The file types supported are those understood
+ by <file>libsndfile</file>. The sample in the cache is named
+ after the audio file, unless the name is explicitly
+ specified.</p></optdesc>
+ </option>
+
+ <option>
+ <p><opt>play-sample</opt> <arg>NAME</arg> [<arg>SINK</arg>]</p>
+ <optdesc><p>Play the specified sample from the sample cache. It
+ is played on the default sink, unless the symbolic name or the
+ numerical index of the sink to play it on is
+ specified.</p></optdesc>
+ </option>
+
+ <option>
+ <p><opt>remove-sample</opt> <arg>NAME</arg></p>
+ <optdesc><p>Remove the specified sample from the sample cache.</p></optdesc>
+ </option>
+
+ <option>
+ <p><opt>load-module</opt> <arg>NAME</arg> [<arg>ARGUMENTS ...</arg>]</p>
+ <optdesc><p>Load the specified module with the specified arguments into the running sound server.
+ Prints the numeric index of the module just loaded to STDOUT. You can use it to unload the module later.</p></optdesc>
+ </option>
+
+ <option>
+ <p><opt>unload-module</opt> <arg>ID|NAME</arg></p>
+ <optdesc><p>Unload the module instance identified by the specified numeric index or unload all modules by the specified name.</p></optdesc>
+ </option>
+
+ <option>
+ <p><opt>move-sink-input</opt> <arg>ID</arg> <arg>SINK</arg></p>
+ <optdesc><p>Move the specified playback stream (identified by its numerical index) to the specified sink (identified by its symbolic name or numerical index).</p></optdesc>
+ </option>
+
+ <option>
+ <p><opt>move-source-output</opt> <arg>ID</arg> <arg>SOURCE</arg></p>
+ <optdesc><p>Move the specified recording stream (identified by its numerical index) to the specified source (identified by its symbolic name or numerical index).</p></optdesc>
+ </option>
+
+ <option>
+ <p><opt>suspend-sink</opt> <arg>SINK</arg> <arg>true|false</arg></p>
+ <optdesc><p>Suspend or resume the specified sink (which may be
+ specified either by its name or index), depending whether true
+ (suspend) or false (resume) is passed as last argument. Suspending
+ a sink will pause all playback. Depending on the module implementing
+ the sink this might have the effect that the underlying device is
+ closed, making it available for other applications to use. The exact
+ behaviour depends on the module.
+ </p></optdesc>
+ </option>
+
+ <option>
+ <p><opt>suspend-source</opt> <arg>SOURCE</arg> <arg>true|false</arg></p>
+ <optdesc><p>Suspend or resume the specified source (which may be
+ specified either by its name or index), depending whether true
+ (suspend) or false (resume) is passed as last argument. Suspending
+ a source will pause all capturing. Depending on the module implementing
+ the source this might have the effect that the underlying device is
+ closed, making it available for other applications to use. The exact
+ behaviour depends on the module.
+ </p></optdesc>
+ </option>
+
+ <option>
+ <p><opt>set-card-profile</opt> <arg>CARD</arg> <arg>PROFILE</arg></p>
+ <optdesc><p>Set the specified card (identified by its symbolic name or numerical index) to the specified profile (identified by its symbolic name).</p></optdesc>
+ </option>
+
+ <option>
+ <p><opt>set-default-sink</opt> <arg>SINK</arg></p>
+ <optdesc><p>Make the specified sink (identified by its symbolic name) the default sink.</p></optdesc>
+ </option>
+
+ <option>
+ <p><opt>set-sink-port</opt> <arg>SINK</arg> <arg>PORT</arg></p>
+ <optdesc><p>Set the specified sink (identified by its symbolic name or numerical index) to the specified port (identified by its symbolic name).</p></optdesc>
+ </option>
+
+ <option>
+ <p><opt>set-default-source</opt> <arg>SOURCE</arg></p>
+ <optdesc><p>Make the specified source (identified by its symbolic name) the default source.</p></optdesc>
+ </option>
+
+ <option>
+ <p><opt>set-source-port</opt> <arg>SOURCE</arg> <arg>PORT</arg></p>
+ <optdesc><p>Set the specified source (identified by its symbolic name or numerical index) to the specified port (identified by its symbolic name).</p></optdesc>
+ </option>
+
+ <option>
+ <p><opt>set-port-latency-offset</opt> <arg>CARD</arg> <arg>PORT</arg> <arg>OFFSET</arg></p>
+ <optdesc><p>Set a latency offset to a specified port (identified by its symbolic name) that belongs to a card (identified by its symbolic name or numerical index).
+ <arg>OFFSET</arg> is a number which represents the latency offset in microseconds</p></optdesc>
+ </option>
+
+ <option>
+ <p><opt>set-sink-volume</opt> <arg>SINK</arg> <arg>VOLUME [VOLUME ...]</arg></p>
+ <optdesc><p>Set the volume of the specified sink (identified by its symbolic name or numerical index).
+ <arg>VOLUME</arg> can be specified as an integer (e.g. 2000, 16384), a linear factor (e.g. 0.4, 1.100), a percentage
+ (e.g. 10%, 100%) or a decibel value (e.g. 0dB, 20dB). If the volume specification start with a + or - the volume
+ adjustment will be relative to the current sink volume. A single volume value affects all channels; if multiple
+ volume values are given their number has to match the sink's number of channels.</p></optdesc>
+ </option>
+
+ <option>
+ <p><opt>set-source-volume</opt> <arg>SOURCE</arg> <arg>VOLUME [VOLUME ...]</arg></p>
+ <optdesc><p>Set the volume of the specified source (identified by its symbolic name or numerical index).
+ <arg>VOLUME</arg> can be specified as an integer (e.g. 2000, 16384), a linear factor (e.g. 0.4, 1.100), a percentage
+ (e.g. 10%, 100%) or a decibel value (e.g. 0dB, 20dB). If the volume specification start with a + or - the volume
+ adjustment will be relative to the current source volume. A single volume value affects all channels; if multiple
+ volume values are given their number has to match the source's number of channels.</p></optdesc> </option>
+
+ <option>
+ <p><opt>set-sink-input-volume</opt> <arg>INPUT</arg> <arg>VOLUME [VOLUME ...]</arg></p>
+ <optdesc><p>Set the volume of the specified sink input (identified by its numerical index).
+ <arg>VOLUME</arg> can be specified as an integer (e.g. 2000, 16384), a linear factor (e.g. 0.4, 1.100), a percentage
+ (e.g. 10%, 100%) or a decibel value (e.g. 0dB, 20dB). If the volume specification start with a + or - the volume
+ adjustment will be relative to the current sink input volume. A single volume value affects all channels; if multiple
+ volume values are given their number has to match the sink input's number of channels.</p></optdesc> </option>
+
+ <option>
+ <p><opt>set-source-output-volume</opt> <arg>OUTPUT</arg> <arg>VOLUME [VOLUME ...]</arg></p>
+ <optdesc><p>Set the volume of the specified source output (identified by its numerical index).
+ <arg>VOLUME</arg> can be specified as an integer (e.g. 2000, 16384), a linear factor (e.g. 0.4, 1.100), a percentage
+ (e.g. 10%, 100%) or a decibel value (e.g. 0dB, 20dB). If the volume specification start with a + or - the volume
+ adjustment will be relative to the current source output volume. A single volume value affects all channels; if multiple
+ volume values are given their number has to match the source output's number of channels.</p></optdesc>
+ </option>
+
+ <option>
+ <p><opt>set-sink-mute</opt> <arg>SINK</arg> <arg>1|0|toggle</arg></p>
+ <optdesc><p>Set the mute status of the specified sink (identified by its symbolic name or numerical index).</p></optdesc>
+ </option>
+
+ <option>
+ <p><opt>set-source-mute</opt> <arg>SOURCE</arg> <arg>1|0|toggle</arg></p>
+ <optdesc><p>Set the mute status of the specified source (identified by its symbolic name or numerical index).</p></optdesc>
+ </option>
+
+ <option>
+ <p><opt>set-sink-input-mute</opt> <arg>INPUT</arg> <arg>1|0|toggle</arg></p>
+ <optdesc><p>Set the mute status of the specified sink input (identified by its numerical index).</p></optdesc>
+ </option>
+
+ <option>
+ <p><opt>set-source-output-mute</opt> <arg>OUTPUT</arg> <arg>1|0|toggle</arg></p>
+ <optdesc><p>Set the mute status of the specified source output (identified by its numerical index).</p></optdesc>
+ </option>
+
+ <option>
+ <p><opt>set-sink-formats</opt> <arg>SINK</arg> <arg>FORMATS</arg></p>
+ <optdesc><p>Set the supported formats of the specified sink (identified
+ by its numerical index) if supported by the sink. <arg>FORMATS</arg> is
+ specified as a semi-colon (;) separated list of formats in the form
+ 'encoding[, key1=value1, key2=value2, ...]' (for example, AC3 at 32000,
+ 44100 and 48000 Hz would be specified as
+ 'ac3-iec61937, format.rate = "[ 32000, 44100, 48000 ]"'). See
+ https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/SupportedAudioFormats/
+ for possible encodings. </p></optdesc>
+ </option>
+
+ <option>
+ <p><opt>subscribe</opt></p>
+ <optdesc><p>Subscribe to events, pactl does not exit by itself, but keeps waiting for new events.</p></optdesc>
+ </option>
+
+ </section>
+
+ <section name="Authors">
+ <p>The PulseAudio Developers &lt;@PACKAGE_BUGREPORT@&gt;; PulseAudio is available from <url href="@PACKAGE_URL@"/></p>
+ </section>
+
+ <seealso>
+ <p>
+ <manref name="pulseaudio" section="1"/>,
+ <manref name="pacmd" section="1"/>
+ </p>
+ </seealso>
+
+</manpage>