source: multimedia/libdriv/pulseaudio.xml@ c1449a76

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since c1449a76 was 5622b1b7, checked in by Bruce Dubbs <bdubbs@…>, 9 years ago

Update to wpa_supplicant-2.4.
Update to File::Which-1.12.
Update to pulseaudio-6.0.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@15724 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 15.5 KB
RevLine 
[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
[f6aa5d4]7 <!ENTITY pulseaudio-download-http
8 "http://freedesktop.org/software/pulseaudio/releases/pulseaudio-&pulseaudio-version;.tar.xz">
[cff37d6]9 <!ENTITY pulseaudio-download-ftp " ">
[5622b1b7]10 <!ENTITY pulseaudio-md5sum "b691e83b7434c678dffacfa3a027750e">
[758637c]11 <!ENTITY pulseaudio-size "1.4 MB">
[5622b1b7]12 <!ENTITY pulseaudio-buildsize "95 MB">
13 <!ENTITY pulseaudio-time "1.0 SBU (additional 0.6 SBU for tests)">
[cff37d6]14]>
15
16<sect1 id="pulseaudio" xreflabel="PulseAudio-&pulseaudio-version;">
17 <?dbhtml filename="pulseaudio.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>PulseAudio-&pulseaudio-version;</title>
25
26 <indexterm zone="pulseaudio">
27 <primary sortas="a-PulseAudio">PulseAudio</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to PulseAudio</title>
32
[c479d83d]33 <para>
[a161de9]34 <application>PulseAudio</application> is a sound system for POSIX OSes,
35 meaning that it is a proxy for sound applications. It allows you to do
[0956cf1]36 advanced operations on your sound data as it passes between your
37 application and your hardware. Things like transferring the audio to a
38 different machine, changing the sample format or channel count and mixing
39 several sounds into one are easily achieved using a sound server.
[c479d83d]40 </para>
[cff37d6]41
[ab5eec7e]42 &lfs77_checked;
[cff37d6]43
44 <bridgehead renderas="sect3">Package Information</bridgehead>
45 <itemizedlist spacing="compact">
46 <listitem>
[c479d83d]47 <para>
48 Download (HTTP): <ulink url="&pulseaudio-download-http;"/>
49 </para>
[cff37d6]50 </listitem>
51 <listitem>
[c479d83d]52 <para>
53 Download (FTP): <ulink url="&pulseaudio-download-ftp;"/>
54 </para>
[cff37d6]55 </listitem>
56 <listitem>
[c479d83d]57 <para>
58 Download MD5 sum: &pulseaudio-md5sum;
59 </para>
[cff37d6]60 </listitem>
61 <listitem>
[c479d83d]62 <para>
63 Download size: &pulseaudio-size;
64 </para>
[cff37d6]65 </listitem>
66 <listitem>
[c479d83d]67 <para>
68 Estimated disk space required: &pulseaudio-buildsize;
69 </para>
[cff37d6]70 </listitem>
71 <listitem>
[c479d83d]72 <para>
73 Estimated build time: &pulseaudio-time;
74 </para>
[cff37d6]75 </listitem>
76 </itemizedlist>
77
78 <bridgehead renderas="sect3">PulseAudio Dependencies</bridgehead>
79
80 <bridgehead renderas="sect4">Required</bridgehead>
[c479d83d]81 <para role="required">
[56605b9]82 <xref linkend="json-c"/> and
[adf6dd9a]83 <xref linkend="libsndfile"/>
[c479d83d]84 </para>
[cff37d6]85
86 <bridgehead renderas="sect4">Recommended</bridgehead>
[c479d83d]87 <para role="recommended">
88 <xref linkend="alsa-lib"/>,
[54666831]89 <xref linkend="dbus"/>,
[88136e4d]90 <xref linkend="glib2"/>,
[56605b9]91 <xref linkend="libcap-pam"/>,
[d835b55]92 <xref linkend="openssl"/>,
93 <xref linkend="speex"/> and
[88136e4d]94 <xref linkend="xorg7-lib"/>
[250cf69]95 </para>
96
[cff37d6]97 <bridgehead renderas="sect4">Optional</bridgehead>
[ff43ebb]98 <para role="optional">
[c479d83d]99 <xref linkend="avahi"/>,
[88136e4d]100 <xref linkend="bluez"/> (runtime),
[d835b55]101 <xref linkend="check"/>,
[e5d2270e]102 <xref linkend="consolekit"/> (runtime),
[88136e4d]103 <xref linkend="GConf"/>,
104 <xref linkend="gtk3"/>,
[758637c]105 <xref linkend="libsamplerate"/>,
[98e2adf]106 <xref linkend="sbc"/> (Bluetooth support),
107 <xref linkend="valgrind"/>,
108 <ulink url="http://www.fftw.org/">FFTW</ulink>,
109 <ulink url="http://www.jackaudio.org/">JACK</ulink>,
[ded78c6]110 <ulink url="http://0pointer.de/lennart/projects/libasyncns/">libasyncns</ulink>,
[c479d83d]111 <ulink url="http://www.lirc.org/">LIRC</ulink>,
112 <ulink url="http://code.entropywave.com/projects/orc/">ORC</ulink>,
[d835b55]113 <ulink url="http://tdb.samba.org/">TDB</ulink>,
114 <ulink url="http://freedesktop.org/software/pulseaudio/webrtc-audio-processing/">
115 WebRTC AudioProcessing</ulink> and
116 <ulink url="http://www.xen.org/">XEN</ulink>
[c479d83d]117 </para>
[88136e4d]118
[cff37d6]119 <para condition="html" role="usernotes">User Notes:
[6f57c53]120 <ulink url="&blfs-wiki;/pulseaudio"/>
121 </para>
[cff37d6]122 </sect2>
123
124 <sect2 role="installation">
125 <title>Installation of PulseAudio</title>
126
[c479d83d]127 <para>
128 Install <application>PulseAudio</application> by running the following
129 commands:
130 </para>
[cff37d6]131
[5622b1b7]132<screen><userinput>./configure --prefix=/usr \
[758637c]133 --sysconfdir=/etc \
134 --localstatedir=/var \
135 --disable-bluez4 \
[5622b1b7]136 --disable-rpath &amp;&amp;
[cff37d6]137make</userinput></screen>
138
[c479d83d]139 <para>
140 To test the results, issue: <command>make check</command>.
141 </para>
[cff37d6]142
[c479d83d]143 <para>
144 Now, as the <systemitem class="username">root</systemitem> user:
145 </para>
[cff37d6]146
147<screen role="root"><userinput>make install</userinput></screen>
148
[88136e4d]149 <!-- http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/SystemWide/ -->
150 <para>
151 While still as the <systemitem class="username">root</systemitem>
152 user, remove the <application>D-Bus</application> configuration file
153 for the system wide daemon to avoid creating unnecessary system
[e7c2eeb]154 users and groups:
[88136e4d]155 </para>
156
157<screen role="root"><userinput>rm /etc/dbus-1/system.d/pulseaudio-system.conf</userinput></screen>
158
[cff37d6]159 </sect2>
160
161 <sect2 role="commands">
162 <title>Command Explanations</title>
163
[88136e4d]164 <para>
165 <parameter>--disable-bluez4</parameter>: This switch disables
166 support for <application>BlueZ</application> version 4 in favour
167 of <application>BlueZ</application> version 5 since the latter
168 also installs compatibility library for the earlier version.
169 </para>
170
171 <para>
172 <parameter>--disable-rpath</parameter>: This switch prevents
173 linker from adding a hardcoded runtime path to the installed
174 programs and libraries.
175 </para>
176
[0956cf1]177 <para>
178 <parameter>--with-module-dir=/usr/lib/pulse/modules</parameter>: This
179 parameter ensures that <application>PulseAudio</application> modules are
180 installed in <filename class="directory">/usr/lib/pulse/modules
[c479d83d]181 </filename> instead of <filename class="directory">
[88136e4d]182 /usr/lib/pulse-&pulseaudio-major-version;/modules</filename>.
[c479d83d]183 </para>
[cff37d6]184
[250cf69]185 </sect2>
[cff37d6]186
[e5d2270e]187 <sect2 role="configuration">
188 <title>Configuring PulseAudio</title>
189
190 <sect3 id="pulseaudio-config">
191 <title>Config Files</title>
192 <para>
193 There are system wide configuration files:
194 <filename>/etc/pulse/daemon.conf</filename>,
195 <filename>/etc/pulse/client.conf</filename>,
196 <filename>/etc/pulse/default.pa</filename>, and user configuration
197 files with the same names in
198 <filename class="directory">~/.config/pulse</filename>. User
199 configuration files take precedence over system wide ones.
200 </para>
201
202 <indexterm zone="pulseaudio pulseaudio-config">
203 <primary sortas="e-AA.config-pulse">~/.config/pulse</primary>
204 </indexterm>
205
206 <indexterm zone="pulseaudio pulseaudio-config">
207 <primary
208 sortas="e-etc-pulse-daemon.conf">/etc/pulse/daemon.conf</primary>
209 </indexterm>
210
211 <indexterm zone="pulseaudio pulseaudio-config">
212 <primary
213 sortas="e-etc-pulse-client.conf">/etc/pulse/client.conf</primary>
214 </indexterm>
215
216 <indexterm zone="pulseaudio pulseaudio-config">
217 <primary
218 sortas="e-etc-pulse-default.pa">/etc/pulse/default.pa</primary>
219 </indexterm>
220 </sect3>
221
222 <sect3><title>Configuration Information</title>
223
224 <para>
225 The default configuration files allow to set up a working installation,
226 except that you need to remove a reference to Console-Kit if it is
227 not installed. For example, issue the following command as the
228 <systemitem class="username">root</systemitem> user:
229 </para>
230
231<screen role="root"><userinput>sed '/load-module module-console-kit/s/^/#/' \
232 -i /etc/pulse/default.pa</userinput></screen>
233
234 <para>
235 You may also have to configure the audio system. You may start
236 <application>pulseaudio</application> in command line mode using
237 <command>pulseaudio -C</command>. You can then list various
238 informations and change some settings. See
239 <command>man pulse-cli-syntax</command>.
240 </para>
241 </sect3>
242 </sect2>
243
[cff37d6]244 <sect2 role="content">
245 <title>Contents</title>
246
247 <segmentedlist>
248 <segtitle>Installed Programs</segtitle>
249 <segtitle>Installed Libraries</segtitle>
250 <segtitle>Installed Directories</segtitle>
251
252 <seglistitem>
[c479d83d]253 <seg>
[88136e4d]254 esdcompat, pacat, pacmd, pactl, padsp, pamon (symlink),
255 paplay (symlink), parec (symlink), parecord (symlink), pasuspender,
[5622b1b7]256 pax11publish, pulseaudio, and
[e5d2270e]257 <!-- it looks like the equalizer needs FFTW: qpaeq, -->
[5622b1b7]258 start-pulseaudio-x11
[c479d83d]259 </seg>
260 <seg>
[5622b1b7]261 libpulse.so,
262 libpulse-mainloop-glib.so,
263 libpulse-simple.so, and
264 libpulsecore-&pulseaudio-major-version;.so
[c479d83d]265 </seg>
266 <seg>
[4b141a4]267 /etc/pulse,
268 /usr/include/pulse,
[5622b1b7]269 /usr/lib/{pulseaudio,pulse-6.0},
270 /usr/lib/cmake/PulseAudio,
[0956cf1]271 /usr/libexec/pulse, and
[4b141a4]272 /usr/share/pulseaudio
[c479d83d]273 </seg>
[cff37d6]274 </seglistitem>
275 </segmentedlist>
276
277 <variablelist>
278 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
279 <?dbfo list-presentation="list"?>
280 <?dbhtml list-presentation="table"?>
281
282 <varlistentry id="esdcompat">
283 <term><command>esdcompat</command></term>
284 <listitem>
[c479d83d]285 <para>
286 is the <application>PulseAudio</application> ESD wrapper script.
287 </para>
[cff37d6]288 <indexterm zone="pulseaudio esdcompat">
289 <primary sortas="b-esdcompat">esdcompat</primary>
290 </indexterm>
291 </listitem>
292 </varlistentry>
293
294 <varlistentry id="pacat">
295 <term><command>pacat</command></term>
296 <listitem>
[c479d83d]297 <para>
[0956cf1]298 plays back or records raw or encoded audio streams on a
[c479d83d]299 <application>PulseAudio</application> sound server.
300 </para>
[cff37d6]301 <indexterm zone="pulseaudio pacat">
302 <primary sortas="b-pacat">pacat</primary>
303 </indexterm>
304 </listitem>
305 </varlistentry>
306
307 <varlistentry id="pacmd">
308 <term><command>pacmd</command></term>
309 <listitem>
[c479d83d]310 <para>
311 is a tool used to reconfigure a <application>PulseAudio</application>
312 sound server during runtime.
313 </para>
[cff37d6]314 <indexterm zone="pulseaudio pacmd">
315 <primary sortas="b-pacmd">pacmd</primary>
316 </indexterm>
317 </listitem>
318 </varlistentry>
319
320 <varlistentry id="pactl">
321 <term><command>pactl</command></term>
322 <listitem>
[c479d83d]323 <para>
[a161de9]324 is used to control a running <application>PulseAudio</application>
[c479d83d]325 sound server.
326 </para>
[cff37d6]327 <indexterm zone="pulseaudio pactl">
328 <primary sortas="b-pactl">pactl</primary>
329 </indexterm>
330 </listitem>
331 </varlistentry>
332
333 <varlistentry id="padsp">
334 <term><command>padsp</command></term>
335 <listitem>
[c479d83d]336 <para>
337 is the <application>PulseAudio</application> OSS Wrapper.
338 </para>
[cff37d6]339 <indexterm zone="pulseaudio padsp">
340 <primary sortas="b-padsp">padsp</primary>
341 </indexterm>
342 </listitem>
343 </varlistentry>
344
[250cf69]345 <varlistentry id="pamon">
[cff37d6]346 <term><command>pamon</command></term>
347 <listitem>
[c479d83d]348 <para>
[a161de9]349 is a symbolic link to <command>pacat</command>.
[c479d83d]350 </para>
[cff37d6]351 <indexterm zone="pulseaudio pamon">
352 <primary sortas="b-pamon">pamon</primary>
353 </indexterm>
354 </listitem>
[250cf69]355 </varlistentry>
[cff37d6]356
357 <varlistentry id="paplay">
358 <term><command>paplay</command></term>
359 <listitem>
[c479d83d]360 <para>
[a161de9]361 is used to play audio files on a
[c479d83d]362 <application>PulseAudio</application> sound server.
363 </para>
[cff37d6]364 <indexterm zone="pulseaudio paplay">
365 <primary sortas="b-paplay">paplay</primary>
366 </indexterm>
367 </listitem>
368 </varlistentry>
369
[250cf69]370 <varlistentry id="parec">
[cff37d6]371 <term><command>parec</command></term>
372 <listitem>
[c479d83d]373 <para>
[a161de9]374 is a symbolic link to <command>pacat</command>.
[c479d83d]375 </para>
[cff37d6]376 <indexterm zone="pulseaudio parec">
377 <primary sortas="b-parec">parec</primary>
378 </indexterm>
379 </listitem>
380 </varlistentry>
381
382 <varlistentry id="parecord">
383 <term><command>parecord</command></term>
384 <listitem>
[c479d83d]385 <para>
[a161de9]386 is a symbolic link to <command>pacat</command>.
[c479d83d]387 </para>
[cff37d6]388 <indexterm zone="pulseaudio parecord">
389 <primary sortas="b-parecord">parecord</primary>
390 </indexterm>
391 </listitem>
[250cf69]392 </varlistentry>
[cff37d6]393
394 <varlistentry id="pasuspender">
395 <term><command>pasuspender</command></term>
396 <listitem>
[c479d83d]397 <para>
398 is a tool that can be used to tell a local
399 <application>PulseAudio</application> sound server to temporarily
400 suspend access to the audio devices, to allow other applications
[a161de9]401 to access them directly.
[c479d83d]402 </para>
[cff37d6]403 <indexterm zone="pulseaudio pasuspender">
404 <primary sortas="b-pasuspender">pasuspender</primary>
405 </indexterm>
406 </listitem>
407 </varlistentry>
408
[250cf69]409 <varlistentry id="pax11publish">
[cff37d6]410 <term><command>pax11publish</command></term>
411 <listitem>
[c479d83d]412 <para>
413 is the <application>PulseAudio</application>
414 X11 Credential Utility.
415 </para>
[cff37d6]416 <indexterm zone="pulseaudio pax11publish">
417 <primary sortas="b-pax11publish">pax11publish</primary>
418 </indexterm>
419 </listitem>
[250cf69]420 </varlistentry>
[cff37d6]421
422 <varlistentry id="pulseaudio-prog">
[250cf69]423 <term><command>pulseaudio</command></term>
[cff37d6]424 <listitem>
[c479d83d]425 <para>
426 is a networked low-latency sound server for Linux.
427 </para>
[cff37d6]428 <indexterm zone="pulseaudio pulseaudio-prog">
[c479d83d]429 <primary sortas="b-pulseaudio">pulseaudio</primary>
[cff37d6]430 </indexterm>
431 </listitem>
432 </varlistentry>
433
[e5d2270e]434<!-- only installed if FFTW is present
[250cf69]435 <varlistentry id="qpaeq">
436 <term><command>qpaeq</command></term>
437 <listitem>
[c479d83d]438 <para>
439 is an equalizer interface for
440 <application>PulseAudio</application> equalizer sinks.
441 </para>
[250cf69]442 <indexterm zone="pulseaudio qpaeq">
443 <primary sortas="b-qpaeq">qpaeq</primary>
444 </indexterm>
445 </listitem>
446 </varlistentry>
[e5d2270e]447-->
[758637c]448 <varlistentry id="start-pulseaudio-kde">
449 <term><command>start-pulseaudio-kde</command></term>
450 <listitem>
451 <para>
452 Starts <application>PulseAudio</application> and loads
453 module-device-manager to use KDE routing policies.
454 </para>
455 <indexterm zone="pulseaudio start-pulseaudio-kde">
456 <primary sortas="b-start-pulseaudio-kde">start-pulseaudio-kde</primary>
457 </indexterm>
458 </listitem>
459 </varlistentry>
460
[cff37d6]461 <varlistentry id="start-pulseaudio-x11">
462 <term><command>start-pulseaudio-x11</command></term>
463 <listitem>
[c479d83d]464 <para>
[0956cf1]465 starts <application>PulseAudio</application> and registers it to
[c479d83d]466 the X11 session manager.
467 </para>
[cff37d6]468 <indexterm zone="pulseaudio start-pulseaudio-x11">
469 <primary sortas="b-start-pulseaudio-x11">start-pulseaudio-x11</primary>
470 </indexterm>
471 </listitem>
[250cf69]472 </varlistentry>
[cff37d6]473
474 </variablelist>
475
476 </sect2>
477
478</sect1>
Note: See TracBrowser for help on using the repository browser.