summaryrefslogtreecommitdiff
path: root/man/pactl.1.xml.in
blob: 8d5bf1d380b8bcc769f3b1298edac8595f2a7ea8 (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
<?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, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA.
-->

<manpage name="pactl" section="1" desc="Control a running PulseAudio sound server">

  <synopsis>
    <cmd>pactl [<arg>options</arg>] stat</cmd>
    <cmd>pactl [<arg>options</arg>] list</cmd>
    <cmd>pactl [<arg>options</arg>] exit</cmd>
    <cmd>pactl [<arg>options</arg>] upload-sample <arg>FILENAME</arg> [<arg>NAME</arg>]</cmd>
    <cmd>pactl [<arg>options</arg>] play-sample <arg>NAME</arg> [<arg>SINK</arg>]</cmd>
    <cmd>pactl [<arg>options</arg>] remove-sample <arg>NAME</arg></cmd>
    <cmd>pactl [<arg>options</arg>] move-sink-input <arg>ID</arg> <arg>SINK</arg></cmd>
    <cmd>pactl [<arg>options</arg>] move-source-input <arg>ID</arg> <arg>SOURCE</arg></cmd>
    <cmd>pactl [<arg>options</arg>] load-module <arg>NAME</arg> [<arg>ARGUMENTS ...</arg>]</cmd>
    <cmd>pactl [<arg>options</arg>] unload-module <arg>ID</arg></cmd>
    <cmd>pactl [<arg>options</arg>] suspend-sink [<arg>SINK</arg>] <arg>1|0</arg></cmd>
    <cmd>pactl [<arg>options</arg>] suspend-source [<arg>SOURCE</arg>] <arg>1|0</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>

    <option>
      <p><opt>stat</opt></p>

      <optdesc><p>Dump a few statistics about the PulseAudio daemon.</p></optdesc>
    </option>

    <option>
      <p><opt>list</opt></p>

      <optdesc><p>Dump all currently loaded modules, available sinks, sources, streams and clients.</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>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>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</arg></p>

      <optdesc><p>Unload the module instance identified by the specified numeric index.</p></optdesc>
    </option>

    <option>
      <p><opt>unload-module</opt> <arg>ID</arg></p>

      <optdesc><p>Unload the module instance identified by the specified numeric index.</p></optdesc>
    </option>

    <option>
      <p><opt>suspend-sink</opt> <arg>SINK</arg> <arg>1|0</arg></p>

      <optdesc><p>Suspend or resume the specified sink (which my be
      specified either by its symbolic name, or by its numeric index),
      depending whether 1 (suspend) or 0 (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>1|0</arg></p>

      <optdesc><p>Suspend or resume the specified source (which my be
      specified either by its symbolic name, or by its numeric index),
      depending whether 1 (suspend) or 0 (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>

  </options>

  <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="pulseaudio" section="1"/>, <manref name="pacmd" section="1"/>
    </p>
  </section>

</manpage>