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