[cff37d6] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[250cf69] | 7 | <!ENTITY pulseaudio-download-http "http://freedesktop.org/software/pulseaudio/releases/pulseaudio-&pulseaudio-version;.tar.xz">
|
---|
[cff37d6] | 8 | <!ENTITY pulseaudio-download-ftp " ">
|
---|
[4b141a4] | 9 | <!ENTITY pulseaudio-md5sum "9bbde657c353fe675c3b693054175a8e">
|
---|
| 10 | <!ENTITY pulseaudio-size "1.3 MB">
|
---|
[250cf69] | 11 | <!ENTITY pulseaudio-buildsize "75 MB">
|
---|
| 12 | <!ENTITY pulseaudio-time "1.0 SBU">
|
---|
[cff37d6] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="pulseaudio" xreflabel="PulseAudio-&pulseaudio-version;">
|
---|
| 16 | <?dbhtml filename="pulseaudio.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>PulseAudio-&pulseaudio-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="pulseaudio">
|
---|
| 26 | <primary sortas="a-PulseAudio">PulseAudio</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to PulseAudio</title>
|
---|
| 31 |
|
---|
[c479d83d] | 32 | <para>
|
---|
| 33 | <application>PulseAudio</application> is a sound system for POSIX OSes,
|
---|
| 34 | meaning that it is a proxy for sound applications. It allows you to do
|
---|
| 35 | advanced operations on your sound data as it passes between your application
|
---|
| 36 | and your hardware. Things like transferring the audio to a different machine,
|
---|
| 37 | changing the sample format or channel count and mixing several sounds into
|
---|
| 38 | one are easily achieved using a sound server.
|
---|
| 39 | </para>
|
---|
[cff37d6] | 40 |
|
---|
[55b07cb] | 41 | &lfs71_checked;
|
---|
[cff37d6] | 42 |
|
---|
| 43 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 44 | <itemizedlist spacing="compact">
|
---|
| 45 | <listitem>
|
---|
[c479d83d] | 46 | <para>
|
---|
| 47 | Download (HTTP): <ulink url="&pulseaudio-download-http;"/>
|
---|
| 48 | </para>
|
---|
[cff37d6] | 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
[c479d83d] | 51 | <para>
|
---|
| 52 | Download (FTP): <ulink url="&pulseaudio-download-ftp;"/>
|
---|
| 53 | </para>
|
---|
[cff37d6] | 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
[c479d83d] | 56 | <para>
|
---|
| 57 | Download MD5 sum: &pulseaudio-md5sum;
|
---|
| 58 | </para>
|
---|
[cff37d6] | 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
[c479d83d] | 61 | <para>
|
---|
| 62 | Download size: &pulseaudio-size;
|
---|
| 63 | </para>
|
---|
[cff37d6] | 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
[c479d83d] | 66 | <para>
|
---|
| 67 | Estimated disk space required: &pulseaudio-buildsize;
|
---|
| 68 | </para>
|
---|
[cff37d6] | 69 | </listitem>
|
---|
| 70 | <listitem>
|
---|
[c479d83d] | 71 | <para>
|
---|
| 72 | Estimated build time: &pulseaudio-time;
|
---|
| 73 | </para>
|
---|
[cff37d6] | 74 | </listitem>
|
---|
| 75 | </itemizedlist>
|
---|
| 76 |
|
---|
| 77 | <bridgehead renderas="sect3">PulseAudio Dependencies</bridgehead>
|
---|
| 78 |
|
---|
| 79 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[c479d83d] | 80 | <para role="required">
|
---|
| 81 | <xref linkend="intltool"/>,
|
---|
| 82 | <xref linkend="json-c"/>,
|
---|
[4b141a4] | 83 | <xref linkend="libsndfile"/> and
|
---|
| 84 | <xref linkend="pkgconfig"/>
|
---|
[c479d83d] | 85 | </para>
|
---|
[cff37d6] | 86 |
|
---|
| 87 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[c479d83d] | 88 | <para role="recommended">
|
---|
| 89 | <xref linkend="alsa-lib"/>,
|
---|
[4b141a4] | 90 | <xref linkend="dbus"/>,
|
---|
| 91 | <xref linkend="openssl"/> and
|
---|
| 92 | <xref linkend="speex"/>
|
---|
[c479d83d] | 93 | </para>
|
---|
[cff37d6] | 94 |
|
---|
[c479d83d] | 95 | <bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead>
|
---|
| 96 | <para role="optional">
|
---|
[4b141a4] | 97 | <xref linkend="GConf"/>,
|
---|
| 98 | <xref linkend="gtk2"/> and
|
---|
[c479d83d] | 99 | <xref linkend="xorg7-lib"/>
|
---|
[250cf69] | 100 | </para>
|
---|
| 101 |
|
---|
[cff37d6] | 102 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[ff43ebb] | 103 | <para role="optional">
|
---|
[c479d83d] | 104 | <xref linkend="avahi"/>,
|
---|
| 105 | <ulink url="http://www.bluez.org/">BlueZ</ulink>,
|
---|
| 106 | <ulink url="http://www.fftw.org/">FFTW</ulink>,
|
---|
| 107 | <ulink url="http://jackit.sourceforge.net/">JACK</ulink>,
|
---|
| 108 | <ulink url="http://0pointer.de/lennart/projects/libasyncns/">libasyncns</ulink>,
|
---|
| 109 | <xref linkend="libsamplerate"/>,
|
---|
| 110 | <ulink url="http://www.lirc.org/">LIRC</ulink>,
|
---|
| 111 | <ulink url="http://code.entropywave.com/projects/orc/">ORC</ulink>,
|
---|
| 112 | <ulink url="http://tdb.samba.org/">tdb</ulink> and
|
---|
| 113 | <ulink url="http://valgrind.org/">Valgrind</ulink>
|
---|
| 114 | </para>
|
---|
[cff37d6] | 115 |
|
---|
| 116 | <para condition="html" role="usernotes">User Notes:
|
---|
| 117 | <ulink url="&blfs-wiki;/pulseaudio"/></para>
|
---|
| 118 |
|
---|
| 119 | </sect2>
|
---|
| 120 |
|
---|
| 121 | <sect2 role="installation">
|
---|
| 122 | <title>Installation of PulseAudio</title>
|
---|
| 123 |
|
---|
[1a825ec] | 124 | <para>
|
---|
| 125 | In order for <application>PulseAudio</application> to communicate
|
---|
| 126 | properly with D-BUS, create a unique user. As the <systemitem
|
---|
| 127 | class="username">root</systemitem> user, run:
|
---|
| 128 | </para>
|
---|
| 129 |
|
---|
| 130 | <screen role="root"><userinput>groupadd -g 58 pulse &&
|
---|
| 131 | useradd -c 'Pulseaudio User' -d /dev/null -g pulse \
|
---|
| 132 | -s /bin/false -u 58 pulse</userinput></screen>
|
---|
| 133 |
|
---|
[c479d83d] | 134 | <para>
|
---|
| 135 | Install <application>PulseAudio</application> by running the following
|
---|
| 136 | commands:
|
---|
| 137 | </para>
|
---|
[cff37d6] | 138 |
|
---|
[4b141a4] | 139 | <screen><userinput>find . -name "Makefile.in" | xargs sed -i "s|(libdir)/@PACKAGE@|(libdir)/pulse|" &&
|
---|
| 140 | ./configure --prefix=/usr \
|
---|
[cff37d6] | 141 | --sysconfdir=/etc \
|
---|
[250cf69] | 142 | --localstatedir=/var \
|
---|
| 143 | --libexecdir=/usr/lib \
|
---|
| 144 | --with-module-dir=/usr/lib/pulse/modules &&
|
---|
[cff37d6] | 145 | make</userinput></screen>
|
---|
| 146 |
|
---|
[c479d83d] | 147 | <para>
|
---|
| 148 | To test the results, issue: <command>make check</command>.
|
---|
| 149 | </para>
|
---|
[cff37d6] | 150 |
|
---|
[c479d83d] | 151 | <para>
|
---|
| 152 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 153 | </para>
|
---|
[cff37d6] | 154 |
|
---|
| 155 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 156 |
|
---|
| 157 | </sect2>
|
---|
| 158 |
|
---|
| 159 | <sect2 role="commands">
|
---|
| 160 | <title>Command Explanations</title>
|
---|
| 161 |
|
---|
[c479d83d] | 162 | <para>
|
---|
| 163 | <parameter>--libexecdir=/usr/lib</parameter>: This
|
---|
| 164 | parameter ensures that internal <application>PulseAudio</application>
|
---|
| 165 | helpers are installed in <filename class="directory">/usr/lib/pulse
|
---|
| 166 | </filename> instead of <filename class="directory">/usr/libexec/pulse
|
---|
| 167 | </filename>.
|
---|
| 168 | </para>
|
---|
[cff37d6] | 169 |
|
---|
[c479d83d] | 170 | <para>
|
---|
[4b141a4] | 171 | <parameter>--with-module-dir=/usr/lib/pulse/modules</parameter>:
|
---|
[c479d83d] | 172 | This parameter ensures that <application>PulseAudio</application>
|
---|
| 173 | modules are installed in <filename class="directory">/usr/lib/pulse/modules
|
---|
| 174 | </filename> instead of <filename class="directory">
|
---|
| 175 | /usr/lib/pulse-&pulseaudio-version;/modules</filename>.
|
---|
| 176 | </para>
|
---|
[cff37d6] | 177 |
|
---|
[250cf69] | 178 | </sect2>
|
---|
[cff37d6] | 179 |
|
---|
| 180 | <sect2 role="content">
|
---|
| 181 | <title>Contents</title>
|
---|
| 182 |
|
---|
| 183 | <segmentedlist>
|
---|
| 184 | <segtitle>Installed Programs</segtitle>
|
---|
| 185 | <segtitle>Installed Libraries</segtitle>
|
---|
| 186 | <segtitle>Installed Directories</segtitle>
|
---|
| 187 |
|
---|
| 188 | <seglistitem>
|
---|
[c479d83d] | 189 | <seg>
|
---|
| 190 | esdcompat, pacat, pacmd, pactl, padsp, pamon, paplay, parec,
|
---|
| 191 | parecord, pasuspender, pax11publish, pulseaudio, qpaeq,
|
---|
| 192 | start-pulseaudio-kde and start-pulseaudio-x11
|
---|
| 193 | </seg>
|
---|
| 194 | <seg>
|
---|
[4b141a4] | 195 | libpulsecore-2.0.so, libpulse-mainloop-glib.so,
|
---|
| 196 | libpulse-simple.so and libpulse.so
|
---|
[c479d83d] | 197 | </seg>
|
---|
| 198 | <seg>
|
---|
[4b141a4] | 199 | /etc/pulse,
|
---|
| 200 | /usr/include/pulse,
|
---|
| 201 | /usr/lib/cmake/PulseAudio,
|
---|
| 202 | /usr/lib/pulse and
|
---|
| 203 | /usr/share/pulseaudio
|
---|
[c479d83d] | 204 | </seg>
|
---|
[cff37d6] | 205 | </seglistitem>
|
---|
| 206 | </segmentedlist>
|
---|
| 207 |
|
---|
| 208 | <variablelist>
|
---|
| 209 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 210 | <?dbfo list-presentation="list"?>
|
---|
| 211 | <?dbhtml list-presentation="table"?>
|
---|
| 212 |
|
---|
| 213 | <varlistentry id="esdcompat">
|
---|
| 214 | <term><command>esdcompat</command></term>
|
---|
| 215 | <listitem>
|
---|
[c479d83d] | 216 | <para>
|
---|
| 217 | is the <application>PulseAudio</application> ESD wrapper script.
|
---|
| 218 | </para>
|
---|
[cff37d6] | 219 | <indexterm zone="pulseaudio esdcompat">
|
---|
| 220 | <primary sortas="b-esdcompat">esdcompat</primary>
|
---|
| 221 | </indexterm>
|
---|
| 222 | </listitem>
|
---|
| 223 | </varlistentry>
|
---|
| 224 |
|
---|
| 225 | <varlistentry id="pacat">
|
---|
| 226 | <term><command>pacat</command></term>
|
---|
| 227 | <listitem>
|
---|
[c479d83d] | 228 | <para>
|
---|
| 229 | Plays back or records raw or encoded audio streams on a
|
---|
| 230 | <application>PulseAudio</application> sound server.
|
---|
| 231 | </para>
|
---|
[cff37d6] | 232 | <indexterm zone="pulseaudio pacat">
|
---|
| 233 | <primary sortas="b-pacat">pacat</primary>
|
---|
| 234 | </indexterm>
|
---|
| 235 | </listitem>
|
---|
| 236 | </varlistentry>
|
---|
| 237 |
|
---|
| 238 | <varlistentry id="pacmd">
|
---|
| 239 | <term><command>pacmd</command></term>
|
---|
| 240 | <listitem>
|
---|
[c479d83d] | 241 | <para>
|
---|
| 242 | is a tool used to reconfigure a <application>PulseAudio</application>
|
---|
| 243 | sound server during runtime.
|
---|
| 244 | </para>
|
---|
[cff37d6] | 245 | <indexterm zone="pulseaudio pacmd">
|
---|
| 246 | <primary sortas="b-pacmd">pacmd</primary>
|
---|
| 247 | </indexterm>
|
---|
| 248 | </listitem>
|
---|
| 249 | </varlistentry>
|
---|
| 250 |
|
---|
| 251 | <varlistentry id="pactl">
|
---|
| 252 | <term><command>pactl</command></term>
|
---|
| 253 | <listitem>
|
---|
[c479d83d] | 254 | <para>
|
---|
| 255 | is used to control a running <application>PulseAudio</application>
|
---|
| 256 | sound server.
|
---|
| 257 | </para>
|
---|
[cff37d6] | 258 | <indexterm zone="pulseaudio pactl">
|
---|
| 259 | <primary sortas="b-pactl">pactl</primary>
|
---|
| 260 | </indexterm>
|
---|
| 261 | </listitem>
|
---|
| 262 | </varlistentry>
|
---|
| 263 |
|
---|
| 264 | <varlistentry id="padsp">
|
---|
| 265 | <term><command>padsp</command></term>
|
---|
| 266 | <listitem>
|
---|
[c479d83d] | 267 | <para>
|
---|
| 268 | is the <application>PulseAudio</application> OSS Wrapper.
|
---|
| 269 | </para>
|
---|
[cff37d6] | 270 | <indexterm zone="pulseaudio padsp">
|
---|
| 271 | <primary sortas="b-padsp">padsp</primary>
|
---|
| 272 | </indexterm>
|
---|
| 273 | </listitem>
|
---|
| 274 | </varlistentry>
|
---|
| 275 |
|
---|
[250cf69] | 276 | <varlistentry id="pamon">
|
---|
[cff37d6] | 277 | <term><command>pamon</command></term>
|
---|
| 278 | <listitem>
|
---|
[c479d83d] | 279 | <para>
|
---|
| 280 | is a symbolic link to pacat.
|
---|
| 281 | </para>
|
---|
[cff37d6] | 282 | <indexterm zone="pulseaudio pamon">
|
---|
| 283 | <primary sortas="b-pamon">pamon</primary>
|
---|
| 284 | </indexterm>
|
---|
| 285 | </listitem>
|
---|
[250cf69] | 286 | </varlistentry>
|
---|
[cff37d6] | 287 |
|
---|
| 288 | <varlistentry id="paplay">
|
---|
| 289 | <term><command>paplay</command></term>
|
---|
| 290 | <listitem>
|
---|
[c479d83d] | 291 | <para>
|
---|
| 292 | is used to play audio files on
|
---|
| 293 | <application>PulseAudio</application> sound server.
|
---|
| 294 | </para>
|
---|
[cff37d6] | 295 | <indexterm zone="pulseaudio paplay">
|
---|
| 296 | <primary sortas="b-paplay">paplay</primary>
|
---|
| 297 | </indexterm>
|
---|
| 298 | </listitem>
|
---|
| 299 | </varlistentry>
|
---|
| 300 |
|
---|
[250cf69] | 301 | <varlistentry id="parec">
|
---|
[cff37d6] | 302 | <term><command>parec</command></term>
|
---|
| 303 | <listitem>
|
---|
[c479d83d] | 304 | <para>
|
---|
| 305 | is a symbolic link to pacat.
|
---|
| 306 | </para>
|
---|
[cff37d6] | 307 | <indexterm zone="pulseaudio parec">
|
---|
| 308 | <primary sortas="b-parec">parec</primary>
|
---|
| 309 | </indexterm>
|
---|
| 310 | </listitem>
|
---|
| 311 | </varlistentry>
|
---|
| 312 |
|
---|
| 313 | <varlistentry id="parecord">
|
---|
| 314 | <term><command>parecord</command></term>
|
---|
| 315 | <listitem>
|
---|
[c479d83d] | 316 | <para>
|
---|
| 317 | is a symbolic link to pacat.
|
---|
| 318 | </para>
|
---|
[cff37d6] | 319 | <indexterm zone="pulseaudio parecord">
|
---|
| 320 | <primary sortas="b-parecord">parecord</primary>
|
---|
| 321 | </indexterm>
|
---|
| 322 | </listitem>
|
---|
[250cf69] | 323 | </varlistentry>
|
---|
[cff37d6] | 324 |
|
---|
| 325 | <varlistentry id="pasuspender">
|
---|
| 326 | <term><command>pasuspender</command></term>
|
---|
| 327 | <listitem>
|
---|
[c479d83d] | 328 | <para>
|
---|
| 329 | is a tool that can be used to tell a local
|
---|
| 330 | <application>PulseAudio</application> sound server to temporarily
|
---|
| 331 | suspend access to the audio devices, to allow other applications
|
---|
| 332 | access them directly.
|
---|
| 333 | </para>
|
---|
[cff37d6] | 334 | <indexterm zone="pulseaudio pasuspender">
|
---|
| 335 | <primary sortas="b-pasuspender">pasuspender</primary>
|
---|
| 336 | </indexterm>
|
---|
| 337 | </listitem>
|
---|
| 338 | </varlistentry>
|
---|
| 339 |
|
---|
[250cf69] | 340 | <varlistentry id="pax11publish">
|
---|
[cff37d6] | 341 | <term><command>pax11publish</command></term>
|
---|
| 342 | <listitem>
|
---|
[c479d83d] | 343 | <para>
|
---|
| 344 | is the <application>PulseAudio</application>
|
---|
| 345 | X11 Credential Utility.
|
---|
| 346 | </para>
|
---|
[cff37d6] | 347 | <indexterm zone="pulseaudio pax11publish">
|
---|
| 348 | <primary sortas="b-pax11publish">pax11publish</primary>
|
---|
| 349 | </indexterm>
|
---|
| 350 | </listitem>
|
---|
[250cf69] | 351 | </varlistentry>
|
---|
[cff37d6] | 352 |
|
---|
| 353 | <varlistentry id="pulseaudio-prog">
|
---|
[250cf69] | 354 | <term><command>pulseaudio</command></term>
|
---|
[cff37d6] | 355 | <listitem>
|
---|
[c479d83d] | 356 | <para>
|
---|
| 357 | is a networked low-latency sound server for Linux.
|
---|
| 358 | </para>
|
---|
[cff37d6] | 359 | <indexterm zone="pulseaudio pulseaudio-prog">
|
---|
[c479d83d] | 360 | <primary sortas="b-pulseaudio">pulseaudio</primary>
|
---|
[cff37d6] | 361 | </indexterm>
|
---|
| 362 | </listitem>
|
---|
| 363 | </varlistentry>
|
---|
| 364 |
|
---|
[250cf69] | 365 | <varlistentry id="qpaeq">
|
---|
| 366 | <term><command>qpaeq</command></term>
|
---|
| 367 | <listitem>
|
---|
[c479d83d] | 368 | <para>
|
---|
| 369 | is an equalizer interface for
|
---|
| 370 | <application>PulseAudio</application> equalizer sinks.
|
---|
| 371 | </para>
|
---|
[250cf69] | 372 | <indexterm zone="pulseaudio qpaeq">
|
---|
| 373 | <primary sortas="b-qpaeq">qpaeq</primary>
|
---|
| 374 | </indexterm>
|
---|
| 375 | </listitem>
|
---|
| 376 | </varlistentry>
|
---|
| 377 |
|
---|
| 378 | <varlistentry id="start-pulseaudio-kde">
|
---|
[cff37d6] | 379 | <term><command>start-pulseaudio-kde</command></term>
|
---|
| 380 | <listitem>
|
---|
[c479d83d] | 381 | <para>
|
---|
| 382 | Starts <application>PulseAudio</application> and loads
|
---|
| 383 | module-device-manager to use KDE routing policies.
|
---|
| 384 | </para>
|
---|
[cff37d6] | 385 | <indexterm zone="pulseaudio start-pulseaudio-kde">
|
---|
| 386 | <primary sortas="b-start-pulseaudio-kde">start-pulseaudio-kde</primary>
|
---|
| 387 | </indexterm>
|
---|
| 388 | </listitem>
|
---|
| 389 | </varlistentry>
|
---|
| 390 |
|
---|
| 391 | <varlistentry id="start-pulseaudio-x11">
|
---|
| 392 | <term><command>start-pulseaudio-x11</command></term>
|
---|
| 393 | <listitem>
|
---|
[c479d83d] | 394 | <para>
|
---|
| 395 | Starts <application>PulseAudio</application> and registers it to
|
---|
| 396 | the X11 session manager.
|
---|
| 397 | </para>
|
---|
[cff37d6] | 398 | <indexterm zone="pulseaudio start-pulseaudio-x11">
|
---|
| 399 | <primary sortas="b-start-pulseaudio-x11">start-pulseaudio-x11</primary>
|
---|
| 400 | </indexterm>
|
---|
| 401 | </listitem>
|
---|
[250cf69] | 402 | </varlistentry>
|
---|
[cff37d6] | 403 |
|
---|
| 404 | </variablelist>
|
---|
| 405 |
|
---|
| 406 | </sect2>
|
---|
| 407 |
|
---|
| 408 | </sect1>
|
---|