source: multimedia/libdriv/pulseaudio.xml@ 55a66dab

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 55a66dab was 55a66dab, checked in by Bruce Dubbs <bdubbs@…>, 7 years ago

Update to LibRaw-0.18.5.
Update to cmake-3.9.3.
Update to gnupg-2.2.1.
Update to pulseaudio-11.1.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19288 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 " ">
[55a66dab]10 <!ENTITY pulseaudio-md5sum "390de38231d5cdd6b43ada8939eb74f1">
[96f2797]11 <!ENTITY pulseaudio-size "1.6 MB">
12 <!ENTITY pulseaudio-buildsize "88 MB (add 2 MB for tests)">
[55a66dab]13 <!ENTITY pulseaudio-time "1.5 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"/>,
[f5fc7d0]102 <phrase revision="sysv">
103 <xref role="runtime" linkend="consolekit"/> (runtime),</phrase>
[0e6052db]104 <xref linkend="fftw"/>,
[88136e4d]105 <xref linkend="GConf"/>,
106 <xref linkend="gtk3"/>,
[758637c]107 <xref linkend="libsamplerate"/>,
[98e2adf]108 <xref linkend="sbc"/> (Bluetooth support),
109 <xref linkend="valgrind"/>,
110 <ulink url="http://www.jackaudio.org/">JACK</ulink>,
[ded78c6]111 <ulink url="http://0pointer.de/lennart/projects/libasyncns/">libasyncns</ulink>,
[c479d83d]112 <ulink url="http://www.lirc.org/">LIRC</ulink>,
[d42f02c6]113 <ulink url="http://gstreamer.freedesktop.org/src/orc/">ORC</ulink>,
[d835b55]114 <ulink url="http://tdb.samba.org/">TDB</ulink>,
115 <ulink url="http://freedesktop.org/software/pulseaudio/webrtc-audio-processing/">
116 WebRTC AudioProcessing</ulink> and
[d42f02c6]117 <ulink url="http://www.xenproject.org/">XEN</ulink>
[c479d83d]118 </para>
[88136e4d]119
[cff37d6]120 <para condition="html" role="usernotes">User Notes:
[6f57c53]121 <ulink url="&blfs-wiki;/pulseaudio"/>
122 </para>
[cff37d6]123 </sect2>
124
125 <sect2 role="installation">
126 <title>Installation of PulseAudio</title>
127
[c479d83d]128 <para>
129 Install <application>PulseAudio</application> by running the following
130 commands:
131 </para>
[cff37d6]132
[5622b1b7]133<screen><userinput>./configure --prefix=/usr \
[758637c]134 --sysconfdir=/etc \
135 --localstatedir=/var \
136 --disable-bluez4 \
[576b3dd]137 --disable-bluez5 \
[5622b1b7]138 --disable-rpath &amp;&amp;
[cff37d6]139make</userinput></screen>
140
[c479d83d]141 <para>
142 To test the results, issue: <command>make check</command>.
143 </para>
[cff37d6]144
[c479d83d]145 <para>
146 Now, as the <systemitem class="username">root</systemitem> user:
147 </para>
[cff37d6]148
149<screen role="root"><userinput>make install</userinput></screen>
150
[88136e4d]151 <!-- http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/SystemWide/ -->
152 <para>
153 While still as the <systemitem class="username">root</systemitem>
154 user, remove the <application>D-Bus</application> configuration file
155 for the system wide daemon to avoid creating unnecessary system
[e7c2eeb]156 users and groups:
[88136e4d]157 </para>
158
[96f2797]159<screen role="root"><userinput>rm -fv /etc/dbus-1/system.d/pulseaudio-system.conf</userinput></screen>
[88136e4d]160
[cff37d6]161 </sect2>
162
163 <sect2 role="commands">
164 <title>Command Explanations</title>
165
[88136e4d]166 <para>
167 <parameter>--disable-bluez4</parameter>: This switch disables
168 support for <application>BlueZ</application> version 4 in favour
169 of <application>BlueZ</application> version 5 since the latter
170 also installs compatibility library for the earlier version.
171 </para>
172
[576b3dd]173 <para>
174 <parameter>--disable-bluez5</parameter>: This switch prevents
175 a runtime error if <xref linkend="dbus"/> and <xref linkend="sbc"/>
176 are both installed but <xref linkend="bluez"/> is not installed.
177 Remove this if you have installed all three packages.
178 </para>
179
[88136e4d]180 <para>
181 <parameter>--disable-rpath</parameter>: This switch prevents
182 linker from adding a hardcoded runtime path to the installed
183 programs and libraries.
184 </para>
185
[250cf69]186 </sect2>
[cff37d6]187
[e5d2270e]188 <sect2 role="configuration">
189 <title>Configuring PulseAudio</title>
190
191 <sect3 id="pulseaudio-config">
192 <title>Config Files</title>
193 <para>
194 There are system wide configuration files:
195 <filename>/etc/pulse/daemon.conf</filename>,
196 <filename>/etc/pulse/client.conf</filename>,
197 <filename>/etc/pulse/default.pa</filename>, and user configuration
198 files with the same names in
199 <filename class="directory">~/.config/pulse</filename>. User
200 configuration files take precedence over system wide ones.
201 </para>
202
203 <indexterm zone="pulseaudio pulseaudio-config">
204 <primary sortas="e-AA.config-pulse">~/.config/pulse</primary>
205 </indexterm>
206
207 <indexterm zone="pulseaudio pulseaudio-config">
208 <primary
209 sortas="e-etc-pulse-daemon.conf">/etc/pulse/daemon.conf</primary>
210 </indexterm>
211
212 <indexterm zone="pulseaudio pulseaudio-config">
213 <primary
214 sortas="e-etc-pulse-client.conf">/etc/pulse/client.conf</primary>
215 </indexterm>
216
217 <indexterm zone="pulseaudio pulseaudio-config">
218 <primary
219 sortas="e-etc-pulse-default.pa">/etc/pulse/default.pa</primary>
220 </indexterm>
221 </sect3>
222
223 <sect3><title>Configuration Information</title>
224
225 <para>
[03de2e3]226 The default configuration files allow setting up a working installation.
227 However, a reference to Console-Kit needs to be removed if it is
[e5d2270e]228 not installed. For example, issue the following command as the
229 <systemitem class="username">root</systemitem> user:
230 </para>
231
[03de2e3]232<screen role="root"><userinput>sed -i '/load-module module-console-kit/s/^/#/' /etc/pulse/default.pa</userinput></screen>
[e5d2270e]233
234 <para>
[03de2e3]235 You may also have to configure the audio system. You can start
[e5d2270e]236 <application>pulseaudio</application> in command line mode using
[03de2e3]237 <command>pulseaudio -C</command> and then list various
238 information and change settings. See
[e5d2270e]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>
[03de2e3]254 esdcompat, pacat, pacmd, pactl, padsp, pamon (symlink to pacat),
[c870dc3]255 paplay (symlink to pacat), parec (symlink to pacat),
[03de2e3]256 parecord (symlink to pacat), pasuspender,
[5622b1b7]257 pax11publish, pulseaudio, and
[e5d2270e]258 <!-- it looks like the equalizer needs FFTW: qpaeq, -->
[5622b1b7]259 start-pulseaudio-x11
[c479d83d]260 </seg>
261 <seg>
[d42f02c6]262 libpulse.so
[96f2797]263 libpulse-mainloop-glib.so,
264 libpulse-simple.so,
265 libpulsecommon-&pulseaudio-major-version;.so,
266 libpulsecore-&pulseaudio-major-version;.so, and
267 libpulsedsp.so
268
[c479d83d]269 </seg>
270 <seg>
[4b141a4]271 /etc/pulse,
272 /usr/include/pulse,
[5622b1b7]273 /usr/lib/cmake/PulseAudio,
[d42f02c6]274 /usr/lib/{pulseaudio,pulse-&pulseaudio-major-version;},
[c870dc3]275 /usr/libexec/pulse, and
[4b141a4]276 /usr/share/pulseaudio
[c479d83d]277 </seg>
[cff37d6]278 </seglistitem>
279 </segmentedlist>
280
281 <variablelist>
282 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
283 <?dbfo list-presentation="list"?>
284 <?dbhtml list-presentation="table"?>
285
286 <varlistentry id="esdcompat">
287 <term><command>esdcompat</command></term>
288 <listitem>
[c479d83d]289 <para>
290 is the <application>PulseAudio</application> ESD wrapper script.
291 </para>
[cff37d6]292 <indexterm zone="pulseaudio esdcompat">
293 <primary sortas="b-esdcompat">esdcompat</primary>
294 </indexterm>
295 </listitem>
296 </varlistentry>
297
298 <varlistentry id="pacat">
299 <term><command>pacat</command></term>
300 <listitem>
[c479d83d]301 <para>
[0956cf1]302 plays back or records raw or encoded audio streams on a
[c479d83d]303 <application>PulseAudio</application> sound server.
304 </para>
[cff37d6]305 <indexterm zone="pulseaudio pacat">
306 <primary sortas="b-pacat">pacat</primary>
307 </indexterm>
308 </listitem>
309 </varlistentry>
310
311 <varlistentry id="pacmd">
312 <term><command>pacmd</command></term>
313 <listitem>
[c479d83d]314 <para>
315 is a tool used to reconfigure a <application>PulseAudio</application>
316 sound server during runtime.
317 </para>
[cff37d6]318 <indexterm zone="pulseaudio pacmd">
319 <primary sortas="b-pacmd">pacmd</primary>
320 </indexterm>
321 </listitem>
322 </varlistentry>
323
324 <varlistentry id="pactl">
325 <term><command>pactl</command></term>
326 <listitem>
[c479d83d]327 <para>
[a161de9]328 is used to control a running <application>PulseAudio</application>
[c479d83d]329 sound server.
330 </para>
[cff37d6]331 <indexterm zone="pulseaudio pactl">
332 <primary sortas="b-pactl">pactl</primary>
333 </indexterm>
334 </listitem>
335 </varlistentry>
336
337 <varlistentry id="padsp">
338 <term><command>padsp</command></term>
339 <listitem>
[c479d83d]340 <para>
341 is the <application>PulseAudio</application> OSS Wrapper.
342 </para>
[cff37d6]343 <indexterm zone="pulseaudio padsp">
344 <primary sortas="b-padsp">padsp</primary>
345 </indexterm>
346 </listitem>
347 </varlistentry>
348
[250cf69]349 <varlistentry id="pamon">
[cff37d6]350 <term><command>pamon</command></term>
351 <listitem>
[c479d83d]352 <para>
[a161de9]353 is a symbolic link to <command>pacat</command>.
[c479d83d]354 </para>
[cff37d6]355 <indexterm zone="pulseaudio pamon">
356 <primary sortas="b-pamon">pamon</primary>
357 </indexterm>
358 </listitem>
[250cf69]359 </varlistentry>
[cff37d6]360
361 <varlistentry id="paplay">
362 <term><command>paplay</command></term>
363 <listitem>
[c479d83d]364 <para>
[a161de9]365 is used to play audio files on a
[c479d83d]366 <application>PulseAudio</application> sound server.
367 </para>
[cff37d6]368 <indexterm zone="pulseaudio paplay">
369 <primary sortas="b-paplay">paplay</primary>
370 </indexterm>
371 </listitem>
372 </varlistentry>
373
[250cf69]374 <varlistentry id="parec">
[cff37d6]375 <term><command>parec</command></term>
376 <listitem>
[c479d83d]377 <para>
[a161de9]378 is a symbolic link to <command>pacat</command>.
[c479d83d]379 </para>
[cff37d6]380 <indexterm zone="pulseaudio parec">
381 <primary sortas="b-parec">parec</primary>
382 </indexterm>
383 </listitem>
384 </varlistentry>
385
386 <varlistentry id="parecord">
387 <term><command>parecord</command></term>
388 <listitem>
[c479d83d]389 <para>
[a161de9]390 is a symbolic link to <command>pacat</command>.
[c479d83d]391 </para>
[cff37d6]392 <indexterm zone="pulseaudio parecord">
393 <primary sortas="b-parecord">parecord</primary>
394 </indexterm>
395 </listitem>
[250cf69]396 </varlistentry>
[cff37d6]397
398 <varlistentry id="pasuspender">
399 <term><command>pasuspender</command></term>
400 <listitem>
[c479d83d]401 <para>
402 is a tool that can be used to tell a local
403 <application>PulseAudio</application> sound server to temporarily
404 suspend access to the audio devices, to allow other applications
[a161de9]405 to access them directly.
[c479d83d]406 </para>
[cff37d6]407 <indexterm zone="pulseaudio pasuspender">
408 <primary sortas="b-pasuspender">pasuspender</primary>
409 </indexterm>
410 </listitem>
411 </varlistentry>
412
[250cf69]413 <varlistentry id="pax11publish">
[cff37d6]414 <term><command>pax11publish</command></term>
415 <listitem>
[c479d83d]416 <para>
417 is the <application>PulseAudio</application>
418 X11 Credential Utility.
419 </para>
[cff37d6]420 <indexterm zone="pulseaudio pax11publish">
421 <primary sortas="b-pax11publish">pax11publish</primary>
422 </indexterm>
423 </listitem>
[250cf69]424 </varlistentry>
[cff37d6]425
426 <varlistentry id="pulseaudio-prog">
[250cf69]427 <term><command>pulseaudio</command></term>
[cff37d6]428 <listitem>
[c479d83d]429 <para>
430 is a networked low-latency sound server for Linux.
431 </para>
[cff37d6]432 <indexterm zone="pulseaudio pulseaudio-prog">
[c479d83d]433 <primary sortas="b-pulseaudio">pulseaudio</primary>
[cff37d6]434 </indexterm>
435 </listitem>
436 </varlistentry>
437
[e5d2270e]438<!-- only installed if FFTW is present
[250cf69]439 <varlistentry id="qpaeq">
440 <term><command>qpaeq</command></term>
441 <listitem>
[c479d83d]442 <para>
443 is an equalizer interface for
444 <application>PulseAudio</application> equalizer sinks.
445 </para>
[250cf69]446 <indexterm zone="pulseaudio qpaeq">
447 <primary sortas="b-qpaeq">qpaeq</primary>
448 </indexterm>
449 </listitem>
450 </varlistentry>
[e5d2270e]451-->
[03de2e3]452<!-- Not found in PA 7.0
[758637c]453 <varlistentry id="start-pulseaudio-kde">
454 <term><command>start-pulseaudio-kde</command></term>
455 <listitem>
456 <para>
457 Starts <application>PulseAudio</application> and loads
458 module-device-manager to use KDE routing policies.
459 </para>
460 <indexterm zone="pulseaudio start-pulseaudio-kde">
461 <primary sortas="b-start-pulseaudio-kde">start-pulseaudio-kde</primary>
462 </indexterm>
463 </listitem>
464 </varlistentry>
[03de2e3]465-->
[cff37d6]466 <varlistentry id="start-pulseaudio-x11">
467 <term><command>start-pulseaudio-x11</command></term>
468 <listitem>
[c479d83d]469 <para>
[0956cf1]470 starts <application>PulseAudio</application> and registers it to
[c479d83d]471 the X11 session manager.
472 </para>
[cff37d6]473 <indexterm zone="pulseaudio start-pulseaudio-x11">
474 <primary sortas="b-start-pulseaudio-x11">start-pulseaudio-x11</primary>
475 </indexterm>
476 </listitem>
[250cf69]477 </varlistentry>
[cff37d6]478
479 </variablelist>
480
481 </sect2>
482
483</sect1>
Note: See TracBrowser for help on using the repository browser.