[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 " ">
|
---|
[d835b55] | 9 | <!ENTITY pulseaudio-md5sum "47fd7eca8479c757822bee68a1feef25">
|
---|
| 10 | <!ENTITY pulseaudio-size "1.4 MB">
|
---|
| 11 | <!ENTITY pulseaudio-buildsize "105 MB">
|
---|
[6f57c53] | 12 | <!ENTITY pulseaudio-time "1.6 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 |
|
---|
[b9b17d1b] | 41 | &lfs72_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"/>,
|
---|
[d835b55] | 91 | <xref linkend="libcap2"/>,
|
---|
| 92 | <xref linkend="openssl"/>,
|
---|
| 93 | <xref linkend="speex"/> and
|
---|
| 94 | <xref linkend="xorg7-lib"/> <!-- Useful for KDE, too -->
|
---|
[c479d83d] | 95 | </para>
|
---|
[cff37d6] | 96 |
|
---|
[c479d83d] | 97 | <bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead>
|
---|
| 98 | <para role="optional">
|
---|
[4b141a4] | 99 | <xref linkend="GConf"/>,
|
---|
[d835b55] | 100 | <xref linkend="glib2"/> and
|
---|
| 101 | <xref linkend="gtk2"/>
|
---|
[250cf69] | 102 | </para>
|
---|
| 103 |
|
---|
[cff37d6] | 104 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[ff43ebb] | 105 | <para role="optional">
|
---|
[c479d83d] | 106 | <xref linkend="avahi"/>,
|
---|
[d835b55] | 107 | <xref linkend="bluez"/> and <xref linkend="sbc"/>,
|
---|
| 108 | <xref linkend="check"/>,
|
---|
[c479d83d] | 109 | <ulink url="http://www.fftw.org/">FFTW</ulink>,
|
---|
[6f57c53] | 110 | <ulink url="http://www.jackaudio.org/">JACK</ulink>,
|
---|
[c479d83d] | 111 | <ulink url="http://0pointer.de/lennart/projects/libasyncns/">libasyncns</ulink>,
|
---|
| 112 | <xref linkend="libsamplerate"/>,
|
---|
| 113 | <ulink url="http://www.lirc.org/">LIRC</ulink>,
|
---|
| 114 | <ulink url="http://code.entropywave.com/projects/orc/">ORC</ulink>,
|
---|
[d835b55] | 115 | <ulink url="http://tdb.samba.org/">TDB</ulink>,
|
---|
| 116 | <ulink url="http://valgrind.org/">Valgrind</ulink>,
|
---|
| 117 | <ulink url="http://freedesktop.org/software/pulseaudio/webrtc-audio-processing/">
|
---|
| 118 | WebRTC AudioProcessing</ulink> and
|
---|
| 119 | <ulink url="http://www.xen.org/">XEN</ulink>
|
---|
[c479d83d] | 120 | </para>
|
---|
[cff37d6] | 121 | <para condition="html" role="usernotes">User Notes:
|
---|
[6f57c53] | 122 | <ulink url="&blfs-wiki;/pulseaudio"/>
|
---|
| 123 | </para>
|
---|
[cff37d6] | 124 | </sect2>
|
---|
| 125 |
|
---|
| 126 | <sect2 role="installation">
|
---|
| 127 | <title>Installation of PulseAudio</title>
|
---|
| 128 |
|
---|
[1a825ec] | 129 | <para>
|
---|
| 130 | In order for <application>PulseAudio</application> to communicate
|
---|
[6f57c53] | 131 | properly with D-BUS, create a unique user. As the <systemitem
|
---|
[1a825ec] | 132 | class="username">root</systemitem> user, run:
|
---|
| 133 | </para>
|
---|
| 134 |
|
---|
| 135 | <screen role="root"><userinput>groupadd -g 58 pulse &&
|
---|
[8c62c89] | 136 | groupadd -g 59 pulse-access &&
|
---|
| 137 | useradd -c "Pulseaudio User" -d /var/run/pulse -g pulse \
|
---|
| 138 | -s /bin/false -u 58 pulse &&
|
---|
| 139 | usermod -a -G audio pulse</userinput></screen>
|
---|
[1a825ec] | 140 |
|
---|
[c479d83d] | 141 | <para>
|
---|
| 142 | Install <application>PulseAudio</application> by running the following
|
---|
| 143 | commands:
|
---|
| 144 | </para>
|
---|
[cff37d6] | 145 |
|
---|
[4b141a4] | 146 | <screen><userinput>find . -name "Makefile.in" | xargs sed -i "s|(libdir)/@PACKAGE@|(libdir)/pulse|" &&
|
---|
| 147 | ./configure --prefix=/usr \
|
---|
[cff37d6] | 148 | --sysconfdir=/etc \
|
---|
[250cf69] | 149 | --localstatedir=/var \
|
---|
| 150 | --libexecdir=/usr/lib \
|
---|
| 151 | --with-module-dir=/usr/lib/pulse/modules &&
|
---|
[cff37d6] | 152 | make</userinput></screen>
|
---|
| 153 |
|
---|
[c479d83d] | 154 | <para>
|
---|
| 155 | To test the results, issue: <command>make check</command>.
|
---|
| 156 | </para>
|
---|
[cff37d6] | 157 |
|
---|
[c479d83d] | 158 | <para>
|
---|
| 159 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 160 | </para>
|
---|
[cff37d6] | 161 |
|
---|
| 162 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 163 |
|
---|
| 164 | </sect2>
|
---|
| 165 |
|
---|
| 166 | <sect2 role="commands">
|
---|
| 167 | <title>Command Explanations</title>
|
---|
| 168 |
|
---|
[6f57c53] | 169 | <para>
|
---|
| 170 | <command>find . -name Makefile.in ...</command>: This command changes
|
---|
| 171 | the build system to install <application>PulseAudio</application>
|
---|
| 172 | private libraries into
|
---|
| 173 | <filename class="directory">/usr/lib/pulse</filename> instead of
|
---|
| 174 | <filename class="directory">/usr/lib/pulseaudio</filename>.
|
---|
| 175 | </para>
|
---|
| 176 |
|
---|
[c479d83d] | 177 | <para>
|
---|
[4b141a4] | 178 | <parameter>--with-module-dir=/usr/lib/pulse/modules</parameter>:
|
---|
[c479d83d] | 179 | This parameter ensures that <application>PulseAudio</application>
|
---|
| 180 | modules are installed in <filename class="directory">/usr/lib/pulse/modules
|
---|
| 181 | </filename> instead of <filename class="directory">
|
---|
| 182 | /usr/lib/pulse-&pulseaudio-version;/modules</filename>.
|
---|
| 183 | </para>
|
---|
[cff37d6] | 184 |
|
---|
[250cf69] | 185 | </sect2>
|
---|
[cff37d6] | 186 |
|
---|
| 187 | <sect2 role="content">
|
---|
| 188 | <title>Contents</title>
|
---|
| 189 |
|
---|
| 190 | <segmentedlist>
|
---|
| 191 | <segtitle>Installed Programs</segtitle>
|
---|
| 192 | <segtitle>Installed Libraries</segtitle>
|
---|
| 193 | <segtitle>Installed Directories</segtitle>
|
---|
| 194 |
|
---|
| 195 | <seglistitem>
|
---|
[c479d83d] | 196 | <seg>
|
---|
| 197 | esdcompat, pacat, pacmd, pactl, padsp, pamon, paplay, parec,
|
---|
| 198 | parecord, pasuspender, pax11publish, pulseaudio, qpaeq,
|
---|
| 199 | start-pulseaudio-kde and start-pulseaudio-x11
|
---|
| 200 | </seg>
|
---|
| 201 | <seg>
|
---|
[6f57c53] | 202 | libpulsecore-&pulseaudio-version;.so, libpulse-mainloop-glib.so,
|
---|
[4b141a4] | 203 | libpulse-simple.so and libpulse.so
|
---|
[c479d83d] | 204 | </seg>
|
---|
| 205 | <seg>
|
---|
[4b141a4] | 206 | /etc/pulse,
|
---|
| 207 | /usr/include/pulse,
|
---|
| 208 | /usr/lib/cmake/PulseAudio,
|
---|
| 209 | /usr/lib/pulse and
|
---|
| 210 | /usr/share/pulseaudio
|
---|
[c479d83d] | 211 | </seg>
|
---|
[cff37d6] | 212 | </seglistitem>
|
---|
| 213 | </segmentedlist>
|
---|
| 214 |
|
---|
| 215 | <variablelist>
|
---|
| 216 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 217 | <?dbfo list-presentation="list"?>
|
---|
| 218 | <?dbhtml list-presentation="table"?>
|
---|
| 219 |
|
---|
| 220 | <varlistentry id="esdcompat">
|
---|
| 221 | <term><command>esdcompat</command></term>
|
---|
| 222 | <listitem>
|
---|
[c479d83d] | 223 | <para>
|
---|
| 224 | is the <application>PulseAudio</application> ESD wrapper script.
|
---|
| 225 | </para>
|
---|
[cff37d6] | 226 | <indexterm zone="pulseaudio esdcompat">
|
---|
| 227 | <primary sortas="b-esdcompat">esdcompat</primary>
|
---|
| 228 | </indexterm>
|
---|
| 229 | </listitem>
|
---|
| 230 | </varlistentry>
|
---|
| 231 |
|
---|
| 232 | <varlistentry id="pacat">
|
---|
| 233 | <term><command>pacat</command></term>
|
---|
| 234 | <listitem>
|
---|
[c479d83d] | 235 | <para>
|
---|
| 236 | Plays back or records raw or encoded audio streams on a
|
---|
| 237 | <application>PulseAudio</application> sound server.
|
---|
| 238 | </para>
|
---|
[cff37d6] | 239 | <indexterm zone="pulseaudio pacat">
|
---|
| 240 | <primary sortas="b-pacat">pacat</primary>
|
---|
| 241 | </indexterm>
|
---|
| 242 | </listitem>
|
---|
| 243 | </varlistentry>
|
---|
| 244 |
|
---|
| 245 | <varlistentry id="pacmd">
|
---|
| 246 | <term><command>pacmd</command></term>
|
---|
| 247 | <listitem>
|
---|
[c479d83d] | 248 | <para>
|
---|
| 249 | is a tool used to reconfigure a <application>PulseAudio</application>
|
---|
| 250 | sound server during runtime.
|
---|
| 251 | </para>
|
---|
[cff37d6] | 252 | <indexterm zone="pulseaudio pacmd">
|
---|
| 253 | <primary sortas="b-pacmd">pacmd</primary>
|
---|
| 254 | </indexterm>
|
---|
| 255 | </listitem>
|
---|
| 256 | </varlistentry>
|
---|
| 257 |
|
---|
| 258 | <varlistentry id="pactl">
|
---|
| 259 | <term><command>pactl</command></term>
|
---|
| 260 | <listitem>
|
---|
[c479d83d] | 261 | <para>
|
---|
| 262 | is used to control a running <application>PulseAudio</application>
|
---|
| 263 | sound server.
|
---|
| 264 | </para>
|
---|
[cff37d6] | 265 | <indexterm zone="pulseaudio pactl">
|
---|
| 266 | <primary sortas="b-pactl">pactl</primary>
|
---|
| 267 | </indexterm>
|
---|
| 268 | </listitem>
|
---|
| 269 | </varlistentry>
|
---|
| 270 |
|
---|
| 271 | <varlistentry id="padsp">
|
---|
| 272 | <term><command>padsp</command></term>
|
---|
| 273 | <listitem>
|
---|
[c479d83d] | 274 | <para>
|
---|
| 275 | is the <application>PulseAudio</application> OSS Wrapper.
|
---|
| 276 | </para>
|
---|
[cff37d6] | 277 | <indexterm zone="pulseaudio padsp">
|
---|
| 278 | <primary sortas="b-padsp">padsp</primary>
|
---|
| 279 | </indexterm>
|
---|
| 280 | </listitem>
|
---|
| 281 | </varlistentry>
|
---|
| 282 |
|
---|
[250cf69] | 283 | <varlistentry id="pamon">
|
---|
[cff37d6] | 284 | <term><command>pamon</command></term>
|
---|
| 285 | <listitem>
|
---|
[c479d83d] | 286 | <para>
|
---|
| 287 | is a symbolic link to pacat.
|
---|
| 288 | </para>
|
---|
[cff37d6] | 289 | <indexterm zone="pulseaudio pamon">
|
---|
| 290 | <primary sortas="b-pamon">pamon</primary>
|
---|
| 291 | </indexterm>
|
---|
| 292 | </listitem>
|
---|
[250cf69] | 293 | </varlistentry>
|
---|
[cff37d6] | 294 |
|
---|
| 295 | <varlistentry id="paplay">
|
---|
| 296 | <term><command>paplay</command></term>
|
---|
| 297 | <listitem>
|
---|
[c479d83d] | 298 | <para>
|
---|
| 299 | is used to play audio files on
|
---|
| 300 | <application>PulseAudio</application> sound server.
|
---|
| 301 | </para>
|
---|
[cff37d6] | 302 | <indexterm zone="pulseaudio paplay">
|
---|
| 303 | <primary sortas="b-paplay">paplay</primary>
|
---|
| 304 | </indexterm>
|
---|
| 305 | </listitem>
|
---|
| 306 | </varlistentry>
|
---|
| 307 |
|
---|
[250cf69] | 308 | <varlistentry id="parec">
|
---|
[cff37d6] | 309 | <term><command>parec</command></term>
|
---|
| 310 | <listitem>
|
---|
[c479d83d] | 311 | <para>
|
---|
| 312 | is a symbolic link to pacat.
|
---|
| 313 | </para>
|
---|
[cff37d6] | 314 | <indexterm zone="pulseaudio parec">
|
---|
| 315 | <primary sortas="b-parec">parec</primary>
|
---|
| 316 | </indexterm>
|
---|
| 317 | </listitem>
|
---|
| 318 | </varlistentry>
|
---|
| 319 |
|
---|
| 320 | <varlistentry id="parecord">
|
---|
| 321 | <term><command>parecord</command></term>
|
---|
| 322 | <listitem>
|
---|
[c479d83d] | 323 | <para>
|
---|
| 324 | is a symbolic link to pacat.
|
---|
| 325 | </para>
|
---|
[cff37d6] | 326 | <indexterm zone="pulseaudio parecord">
|
---|
| 327 | <primary sortas="b-parecord">parecord</primary>
|
---|
| 328 | </indexterm>
|
---|
| 329 | </listitem>
|
---|
[250cf69] | 330 | </varlistentry>
|
---|
[cff37d6] | 331 |
|
---|
| 332 | <varlistentry id="pasuspender">
|
---|
| 333 | <term><command>pasuspender</command></term>
|
---|
| 334 | <listitem>
|
---|
[c479d83d] | 335 | <para>
|
---|
| 336 | is a tool that can be used to tell a local
|
---|
| 337 | <application>PulseAudio</application> sound server to temporarily
|
---|
| 338 | suspend access to the audio devices, to allow other applications
|
---|
| 339 | access them directly.
|
---|
| 340 | </para>
|
---|
[cff37d6] | 341 | <indexterm zone="pulseaudio pasuspender">
|
---|
| 342 | <primary sortas="b-pasuspender">pasuspender</primary>
|
---|
| 343 | </indexterm>
|
---|
| 344 | </listitem>
|
---|
| 345 | </varlistentry>
|
---|
| 346 |
|
---|
[250cf69] | 347 | <varlistentry id="pax11publish">
|
---|
[cff37d6] | 348 | <term><command>pax11publish</command></term>
|
---|
| 349 | <listitem>
|
---|
[c479d83d] | 350 | <para>
|
---|
| 351 | is the <application>PulseAudio</application>
|
---|
| 352 | X11 Credential Utility.
|
---|
| 353 | </para>
|
---|
[cff37d6] | 354 | <indexterm zone="pulseaudio pax11publish">
|
---|
| 355 | <primary sortas="b-pax11publish">pax11publish</primary>
|
---|
| 356 | </indexterm>
|
---|
| 357 | </listitem>
|
---|
[250cf69] | 358 | </varlistentry>
|
---|
[cff37d6] | 359 |
|
---|
| 360 | <varlistentry id="pulseaudio-prog">
|
---|
[250cf69] | 361 | <term><command>pulseaudio</command></term>
|
---|
[cff37d6] | 362 | <listitem>
|
---|
[c479d83d] | 363 | <para>
|
---|
| 364 | is a networked low-latency sound server for Linux.
|
---|
| 365 | </para>
|
---|
[cff37d6] | 366 | <indexterm zone="pulseaudio pulseaudio-prog">
|
---|
[c479d83d] | 367 | <primary sortas="b-pulseaudio">pulseaudio</primary>
|
---|
[cff37d6] | 368 | </indexterm>
|
---|
| 369 | </listitem>
|
---|
| 370 | </varlistentry>
|
---|
| 371 |
|
---|
[250cf69] | 372 | <varlistentry id="qpaeq">
|
---|
| 373 | <term><command>qpaeq</command></term>
|
---|
| 374 | <listitem>
|
---|
[c479d83d] | 375 | <para>
|
---|
| 376 | is an equalizer interface for
|
---|
| 377 | <application>PulseAudio</application> equalizer sinks.
|
---|
| 378 | </para>
|
---|
[250cf69] | 379 | <indexterm zone="pulseaudio qpaeq">
|
---|
| 380 | <primary sortas="b-qpaeq">qpaeq</primary>
|
---|
| 381 | </indexterm>
|
---|
| 382 | </listitem>
|
---|
| 383 | </varlistentry>
|
---|
| 384 |
|
---|
| 385 | <varlistentry id="start-pulseaudio-kde">
|
---|
[cff37d6] | 386 | <term><command>start-pulseaudio-kde</command></term>
|
---|
| 387 | <listitem>
|
---|
[c479d83d] | 388 | <para>
|
---|
| 389 | Starts <application>PulseAudio</application> and loads
|
---|
| 390 | module-device-manager to use KDE routing policies.
|
---|
| 391 | </para>
|
---|
[cff37d6] | 392 | <indexterm zone="pulseaudio start-pulseaudio-kde">
|
---|
| 393 | <primary sortas="b-start-pulseaudio-kde">start-pulseaudio-kde</primary>
|
---|
| 394 | </indexterm>
|
---|
| 395 | </listitem>
|
---|
| 396 | </varlistentry>
|
---|
| 397 |
|
---|
| 398 | <varlistentry id="start-pulseaudio-x11">
|
---|
| 399 | <term><command>start-pulseaudio-x11</command></term>
|
---|
| 400 | <listitem>
|
---|
[c479d83d] | 401 | <para>
|
---|
| 402 | Starts <application>PulseAudio</application> and registers it to
|
---|
| 403 | the X11 session manager.
|
---|
| 404 | </para>
|
---|
[cff37d6] | 405 | <indexterm zone="pulseaudio start-pulseaudio-x11">
|
---|
| 406 | <primary sortas="b-start-pulseaudio-x11">start-pulseaudio-x11</primary>
|
---|
| 407 | </indexterm>
|
---|
| 408 | </listitem>
|
---|
[250cf69] | 409 | </varlistentry>
|
---|
[cff37d6] | 410 |
|
---|
| 411 | </variablelist>
|
---|
| 412 |
|
---|
| 413 | </sect2>
|
---|
| 414 |
|
---|
| 415 | </sect1>
|
---|