source: multimedia/libdriv/pulseaudio.xml@ fab4fb7

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.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 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 fab4fb7 was 96f2797, checked in by Bruce Dubbs <bdubbs@…>, 7 years ago

Add GConf as required dependency for plasma.
Update to List-MoreUtils-0.425 (Perl Module).
Update to pulseaudio-11.0.
Update to vala-0.38.0.

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

  • Property mode set to 100644
File size: 15.7 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
[8dfc5c3]8 "https://www.freedesktop.org/software/pulseaudio/releases/pulseaudio-&pulseaudio-version;.tar.xz">
[cff37d6]9 <!ENTITY pulseaudio-download-ftp " ">
[96f2797]10 <!ENTITY pulseaudio-md5sum "c5fe1cd05f5306b1a0fba5099f0e9e37">
11 <!ENTITY pulseaudio-size "1.6 MB">
12 <!ENTITY pulseaudio-buildsize "88 MB (add 2 MB for tests)">
[4b26d03]13 <!ENTITY pulseaudio-time "1.6 SBU (add 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
[902fb47]42 &lfs81_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"/>,
[576b3dd]100 <xref linkend="bluez"/>,
[d835b55]101 <xref linkend="check"/>,
[f1ce80b]102 <phrase revision="sysv"><xref linkend="consolekit"/> (runtime),</phrase>
[0e6052db]103 <xref linkend="fftw"/>,
[88136e4d]104 <xref linkend="GConf"/>,
105 <xref linkend="gtk3"/>,
[758637c]106 <xref linkend="libsamplerate"/>,
[98e2adf]107 <xref linkend="sbc"/> (Bluetooth support),
108 <xref linkend="valgrind"/>,
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>,
[d42f02c6]112 <ulink url="http://gstreamer.freedesktop.org/src/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
[d42f02c6]116 <ulink url="http://www.xenproject.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 \
[576b3dd]136 --disable-bluez5 \
[5622b1b7]137 --disable-rpath &amp;&amp;
[cff37d6]138make</userinput></screen>
139
[c479d83d]140 <para>
141 To test the results, issue: <command>make check</command>.
142 </para>
[cff37d6]143
[c479d83d]144 <para>
145 Now, as the <systemitem class="username">root</systemitem> user:
146 </para>
[cff37d6]147
148<screen role="root"><userinput>make install</userinput></screen>
149
[88136e4d]150 <!-- http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/SystemWide/ -->
151 <para>
152 While still as the <systemitem class="username">root</systemitem>
153 user, remove the <application>D-Bus</application> configuration file
154 for the system wide daemon to avoid creating unnecessary system
[e7c2eeb]155 users and groups:
[88136e4d]156 </para>
157
[96f2797]158<screen role="root"><userinput>rm -fv /etc/dbus-1/system.d/pulseaudio-system.conf</userinput></screen>
[88136e4d]159
[cff37d6]160 </sect2>
161
162 <sect2 role="commands">
163 <title>Command Explanations</title>
164
[88136e4d]165 <para>
166 <parameter>--disable-bluez4</parameter>: This switch disables
167 support for <application>BlueZ</application> version 4 in favour
168 of <application>BlueZ</application> version 5 since the latter
169 also installs compatibility library for the earlier version.
170 </para>
171
[576b3dd]172 <para>
173 <parameter>--disable-bluez5</parameter>: This switch prevents
174 a runtime error if <xref linkend="dbus"/> and <xref linkend="sbc"/>
175 are both installed but <xref linkend="bluez"/> is not installed.
176 Remove this if you have installed all three packages.
177 </para>
178
[88136e4d]179 <para>
180 <parameter>--disable-rpath</parameter>: This switch prevents
181 linker from adding a hardcoded runtime path to the installed
182 programs and libraries.
183 </para>
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>
[03de2e3]225 The default configuration files allow setting up a working installation.
226 However, a reference to Console-Kit needs to be removed if it is
[e5d2270e]227 not installed. For example, issue the following command as the
228 <systemitem class="username">root</systemitem> user:
229 </para>
230
[03de2e3]231<screen role="root"><userinput>sed -i '/load-module module-console-kit/s/^/#/' /etc/pulse/default.pa</userinput></screen>
[e5d2270e]232
233 <para>
[03de2e3]234 You may also have to configure the audio system. You can start
[e5d2270e]235 <application>pulseaudio</application> in command line mode using
[03de2e3]236 <command>pulseaudio -C</command> and then list various
237 information and change settings. See
[e5d2270e]238 <command>man pulse-cli-syntax</command>.
239 </para>
240 </sect3>
241 </sect2>
242
[cff37d6]243 <sect2 role="content">
244 <title>Contents</title>
245
246 <segmentedlist>
247 <segtitle>Installed Programs</segtitle>
248 <segtitle>Installed Libraries</segtitle>
249 <segtitle>Installed Directories</segtitle>
250
251 <seglistitem>
[c479d83d]252 <seg>
[03de2e3]253 esdcompat, pacat, pacmd, pactl, padsp, pamon (symlink to pacat),
[c870dc3]254 paplay (symlink to pacat), parec (symlink to pacat),
[03de2e3]255 parecord (symlink to pacat), 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>
[d42f02c6]261 libpulse.so
[96f2797]262 libpulse-mainloop-glib.so,
263 libpulse-simple.so,
264 libpulsecommon-&pulseaudio-major-version;.so,
265 libpulsecore-&pulseaudio-major-version;.so, and
266 libpulsedsp.so
267
[c479d83d]268 </seg>
269 <seg>
[4b141a4]270 /etc/pulse,
271 /usr/include/pulse,
[5622b1b7]272 /usr/lib/cmake/PulseAudio,
[d42f02c6]273 /usr/lib/{pulseaudio,pulse-&pulseaudio-major-version;},
[c870dc3]274 /usr/libexec/pulse, and
[4b141a4]275 /usr/share/pulseaudio
[c479d83d]276 </seg>
[cff37d6]277 </seglistitem>
278 </segmentedlist>
279
280 <variablelist>
281 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
282 <?dbfo list-presentation="list"?>
283 <?dbhtml list-presentation="table"?>
284
285 <varlistentry id="esdcompat">
286 <term><command>esdcompat</command></term>
287 <listitem>
[c479d83d]288 <para>
289 is the <application>PulseAudio</application> ESD wrapper script.
290 </para>
[cff37d6]291 <indexterm zone="pulseaudio esdcompat">
292 <primary sortas="b-esdcompat">esdcompat</primary>
293 </indexterm>
294 </listitem>
295 </varlistentry>
296
297 <varlistentry id="pacat">
298 <term><command>pacat</command></term>
299 <listitem>
[c479d83d]300 <para>
[0956cf1]301 plays back or records raw or encoded audio streams on a
[c479d83d]302 <application>PulseAudio</application> sound server.
303 </para>
[cff37d6]304 <indexterm zone="pulseaudio pacat">
305 <primary sortas="b-pacat">pacat</primary>
306 </indexterm>
307 </listitem>
308 </varlistentry>
309
310 <varlistentry id="pacmd">
311 <term><command>pacmd</command></term>
312 <listitem>
[c479d83d]313 <para>
314 is a tool used to reconfigure a <application>PulseAudio</application>
315 sound server during runtime.
316 </para>
[cff37d6]317 <indexterm zone="pulseaudio pacmd">
318 <primary sortas="b-pacmd">pacmd</primary>
319 </indexterm>
320 </listitem>
321 </varlistentry>
322
323 <varlistentry id="pactl">
324 <term><command>pactl</command></term>
325 <listitem>
[c479d83d]326 <para>
[a161de9]327 is used to control a running <application>PulseAudio</application>
[c479d83d]328 sound server.
329 </para>
[cff37d6]330 <indexterm zone="pulseaudio pactl">
331 <primary sortas="b-pactl">pactl</primary>
332 </indexterm>
333 </listitem>
334 </varlistentry>
335
336 <varlistentry id="padsp">
337 <term><command>padsp</command></term>
338 <listitem>
[c479d83d]339 <para>
340 is the <application>PulseAudio</application> OSS Wrapper.
341 </para>
[cff37d6]342 <indexterm zone="pulseaudio padsp">
343 <primary sortas="b-padsp">padsp</primary>
344 </indexterm>
345 </listitem>
346 </varlistentry>
347
[250cf69]348 <varlistentry id="pamon">
[cff37d6]349 <term><command>pamon</command></term>
350 <listitem>
[c479d83d]351 <para>
[a161de9]352 is a symbolic link to <command>pacat</command>.
[c479d83d]353 </para>
[cff37d6]354 <indexterm zone="pulseaudio pamon">
355 <primary sortas="b-pamon">pamon</primary>
356 </indexterm>
357 </listitem>
[250cf69]358 </varlistentry>
[cff37d6]359
360 <varlistentry id="paplay">
361 <term><command>paplay</command></term>
362 <listitem>
[c479d83d]363 <para>
[a161de9]364 is used to play audio files on a
[c479d83d]365 <application>PulseAudio</application> sound server.
366 </para>
[cff37d6]367 <indexterm zone="pulseaudio paplay">
368 <primary sortas="b-paplay">paplay</primary>
369 </indexterm>
370 </listitem>
371 </varlistentry>
372
[250cf69]373 <varlistentry id="parec">
[cff37d6]374 <term><command>parec</command></term>
375 <listitem>
[c479d83d]376 <para>
[a161de9]377 is a symbolic link to <command>pacat</command>.
[c479d83d]378 </para>
[cff37d6]379 <indexterm zone="pulseaudio parec">
380 <primary sortas="b-parec">parec</primary>
381 </indexterm>
382 </listitem>
383 </varlistentry>
384
385 <varlistentry id="parecord">
386 <term><command>parecord</command></term>
387 <listitem>
[c479d83d]388 <para>
[a161de9]389 is a symbolic link to <command>pacat</command>.
[c479d83d]390 </para>
[cff37d6]391 <indexterm zone="pulseaudio parecord">
392 <primary sortas="b-parecord">parecord</primary>
393 </indexterm>
394 </listitem>
[250cf69]395 </varlistentry>
[cff37d6]396
397 <varlistentry id="pasuspender">
398 <term><command>pasuspender</command></term>
399 <listitem>
[c479d83d]400 <para>
401 is a tool that can be used to tell a local
402 <application>PulseAudio</application> sound server to temporarily
403 suspend access to the audio devices, to allow other applications
[a161de9]404 to access them directly.
[c479d83d]405 </para>
[cff37d6]406 <indexterm zone="pulseaudio pasuspender">
407 <primary sortas="b-pasuspender">pasuspender</primary>
408 </indexterm>
409 </listitem>
410 </varlistentry>
411
[250cf69]412 <varlistentry id="pax11publish">
[cff37d6]413 <term><command>pax11publish</command></term>
414 <listitem>
[c479d83d]415 <para>
416 is the <application>PulseAudio</application>
417 X11 Credential Utility.
418 </para>
[cff37d6]419 <indexterm zone="pulseaudio pax11publish">
420 <primary sortas="b-pax11publish">pax11publish</primary>
421 </indexterm>
422 </listitem>
[250cf69]423 </varlistentry>
[cff37d6]424
425 <varlistentry id="pulseaudio-prog">
[250cf69]426 <term><command>pulseaudio</command></term>
[cff37d6]427 <listitem>
[c479d83d]428 <para>
429 is a networked low-latency sound server for Linux.
430 </para>
[cff37d6]431 <indexterm zone="pulseaudio pulseaudio-prog">
[c479d83d]432 <primary sortas="b-pulseaudio">pulseaudio</primary>
[cff37d6]433 </indexterm>
434 </listitem>
435 </varlistentry>
436
[e5d2270e]437<!-- only installed if FFTW is present
[250cf69]438 <varlistentry id="qpaeq">
439 <term><command>qpaeq</command></term>
440 <listitem>
[c479d83d]441 <para>
442 is an equalizer interface for
443 <application>PulseAudio</application> equalizer sinks.
444 </para>
[250cf69]445 <indexterm zone="pulseaudio qpaeq">
446 <primary sortas="b-qpaeq">qpaeq</primary>
447 </indexterm>
448 </listitem>
449 </varlistentry>
[e5d2270e]450-->
[03de2e3]451<!-- Not found in PA 7.0
[758637c]452 <varlistentry id="start-pulseaudio-kde">
453 <term><command>start-pulseaudio-kde</command></term>
454 <listitem>
455 <para>
456 Starts <application>PulseAudio</application> and loads
457 module-device-manager to use KDE routing policies.
458 </para>
459 <indexterm zone="pulseaudio start-pulseaudio-kde">
460 <primary sortas="b-start-pulseaudio-kde">start-pulseaudio-kde</primary>
461 </indexterm>
462 </listitem>
463 </varlistentry>
[03de2e3]464-->
[cff37d6]465 <varlistentry id="start-pulseaudio-x11">
466 <term><command>start-pulseaudio-x11</command></term>
467 <listitem>
[c479d83d]468 <para>
[0956cf1]469 starts <application>PulseAudio</application> and registers it to
[c479d83d]470 the X11 session manager.
471 </para>
[cff37d6]472 <indexterm zone="pulseaudio start-pulseaudio-x11">
473 <primary sortas="b-start-pulseaudio-x11">start-pulseaudio-x11</primary>
474 </indexterm>
475 </listitem>
[250cf69]476 </varlistentry>
[cff37d6]477
478 </variablelist>
479
480 </sect2>
481
482</sect1>
Note: See TracBrowser for help on using the repository browser.