source: multimedia/libdriv/pulseaudio.xml@ de414da

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 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 de414da was 747db59e, checked in by Bruce Dubbs <bdubbs@…>, 7 years ago

Update to x265_2.3
Tag most of multimedia and dependencies.

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

  • Property mode set to 100644
File size: 15.2 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 " ">
[4b26d03]10 <!ENTITY pulseaudio-md5sum "4950d2799bf55ab91f6b7f990b7f0971">
[d42f02c6]11 <!ENTITY pulseaudio-size "1.5 MB">
[4b26d03]12 <!ENTITY pulseaudio-buildsize "84 MB (add 2 MB for tests)">
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
[747db59e]42 &lfs80_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"/>,
[f1ce80b]102 <phrase revision="sysv"><xref linkend="consolekit"/> (runtime),</phrase>
[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>,
[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 \
[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
[250cf69]177 </sect2>
[cff37d6]178
[e5d2270e]179 <sect2 role="configuration">
180 <title>Configuring PulseAudio</title>
181
182 <sect3 id="pulseaudio-config">
183 <title>Config Files</title>
184 <para>
185 There are system wide configuration files:
186 <filename>/etc/pulse/daemon.conf</filename>,
187 <filename>/etc/pulse/client.conf</filename>,
188 <filename>/etc/pulse/default.pa</filename>, and user configuration
189 files with the same names in
190 <filename class="directory">~/.config/pulse</filename>. User
191 configuration files take precedence over system wide ones.
192 </para>
193
194 <indexterm zone="pulseaudio pulseaudio-config">
195 <primary sortas="e-AA.config-pulse">~/.config/pulse</primary>
196 </indexterm>
197
198 <indexterm zone="pulseaudio pulseaudio-config">
199 <primary
200 sortas="e-etc-pulse-daemon.conf">/etc/pulse/daemon.conf</primary>
201 </indexterm>
202
203 <indexterm zone="pulseaudio pulseaudio-config">
204 <primary
205 sortas="e-etc-pulse-client.conf">/etc/pulse/client.conf</primary>
206 </indexterm>
207
208 <indexterm zone="pulseaudio pulseaudio-config">
209 <primary
210 sortas="e-etc-pulse-default.pa">/etc/pulse/default.pa</primary>
211 </indexterm>
212 </sect3>
213
214 <sect3><title>Configuration Information</title>
215
216 <para>
[03de2e3]217 The default configuration files allow setting up a working installation.
218 However, a reference to Console-Kit needs to be removed if it is
[e5d2270e]219 not installed. For example, issue the following command as the
220 <systemitem class="username">root</systemitem> user:
221 </para>
222
[03de2e3]223<screen role="root"><userinput>sed -i '/load-module module-console-kit/s/^/#/' /etc/pulse/default.pa</userinput></screen>
[e5d2270e]224
225 <para>
[03de2e3]226 You may also have to configure the audio system. You can start
[e5d2270e]227 <application>pulseaudio</application> in command line mode using
[03de2e3]228 <command>pulseaudio -C</command> and then list various
229 information and change settings. See
[e5d2270e]230 <command>man pulse-cli-syntax</command>.
231 </para>
232 </sect3>
233 </sect2>
234
[cff37d6]235 <sect2 role="content">
236 <title>Contents</title>
237
238 <segmentedlist>
239 <segtitle>Installed Programs</segtitle>
240 <segtitle>Installed Libraries</segtitle>
241 <segtitle>Installed Directories</segtitle>
242
243 <seglistitem>
[c479d83d]244 <seg>
[03de2e3]245 esdcompat, pacat, pacmd, pactl, padsp, pamon (symlink to pacat),
[c870dc3]246 paplay (symlink to pacat), parec (symlink to pacat),
[03de2e3]247 parecord (symlink to pacat), pasuspender,
[5622b1b7]248 pax11publish, pulseaudio, and
[e5d2270e]249 <!-- it looks like the equalizer needs FFTW: qpaeq, -->
[5622b1b7]250 start-pulseaudio-x11
[c479d83d]251 </seg>
252 <seg>
[5622b1b7]253 libpulse-mainloop-glib.so,
[d42f02c6]254 libpulse-simple.so and
255 libpulse.so
[c479d83d]256 </seg>
257 <seg>
[4b141a4]258 /etc/pulse,
259 /usr/include/pulse,
[5622b1b7]260 /usr/lib/cmake/PulseAudio,
[d42f02c6]261 /usr/lib/{pulseaudio,pulse-&pulseaudio-major-version;},
[c870dc3]262 /usr/libexec/pulse, and
[4b141a4]263 /usr/share/pulseaudio
[c479d83d]264 </seg>
[cff37d6]265 </seglistitem>
266 </segmentedlist>
267
268 <variablelist>
269 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
270 <?dbfo list-presentation="list"?>
271 <?dbhtml list-presentation="table"?>
272
273 <varlistentry id="esdcompat">
274 <term><command>esdcompat</command></term>
275 <listitem>
[c479d83d]276 <para>
277 is the <application>PulseAudio</application> ESD wrapper script.
278 </para>
[cff37d6]279 <indexterm zone="pulseaudio esdcompat">
280 <primary sortas="b-esdcompat">esdcompat</primary>
281 </indexterm>
282 </listitem>
283 </varlistentry>
284
285 <varlistentry id="pacat">
286 <term><command>pacat</command></term>
287 <listitem>
[c479d83d]288 <para>
[0956cf1]289 plays back or records raw or encoded audio streams on a
[c479d83d]290 <application>PulseAudio</application> sound server.
291 </para>
[cff37d6]292 <indexterm zone="pulseaudio pacat">
293 <primary sortas="b-pacat">pacat</primary>
294 </indexterm>
295 </listitem>
296 </varlistentry>
297
298 <varlistentry id="pacmd">
299 <term><command>pacmd</command></term>
300 <listitem>
[c479d83d]301 <para>
302 is a tool used to reconfigure a <application>PulseAudio</application>
303 sound server during runtime.
304 </para>
[cff37d6]305 <indexterm zone="pulseaudio pacmd">
306 <primary sortas="b-pacmd">pacmd</primary>
307 </indexterm>
308 </listitem>
309 </varlistentry>
310
311 <varlistentry id="pactl">
312 <term><command>pactl</command></term>
313 <listitem>
[c479d83d]314 <para>
[a161de9]315 is used to control a running <application>PulseAudio</application>
[c479d83d]316 sound server.
317 </para>
[cff37d6]318 <indexterm zone="pulseaudio pactl">
319 <primary sortas="b-pactl">pactl</primary>
320 </indexterm>
321 </listitem>
322 </varlistentry>
323
324 <varlistentry id="padsp">
325 <term><command>padsp</command></term>
326 <listitem>
[c479d83d]327 <para>
328 is the <application>PulseAudio</application> OSS Wrapper.
329 </para>
[cff37d6]330 <indexterm zone="pulseaudio padsp">
331 <primary sortas="b-padsp">padsp</primary>
332 </indexterm>
333 </listitem>
334 </varlistentry>
335
[250cf69]336 <varlistentry id="pamon">
[cff37d6]337 <term><command>pamon</command></term>
338 <listitem>
[c479d83d]339 <para>
[a161de9]340 is a symbolic link to <command>pacat</command>.
[c479d83d]341 </para>
[cff37d6]342 <indexterm zone="pulseaudio pamon">
343 <primary sortas="b-pamon">pamon</primary>
344 </indexterm>
345 </listitem>
[250cf69]346 </varlistentry>
[cff37d6]347
348 <varlistentry id="paplay">
349 <term><command>paplay</command></term>
350 <listitem>
[c479d83d]351 <para>
[a161de9]352 is used to play audio files on a
[c479d83d]353 <application>PulseAudio</application> sound server.
354 </para>
[cff37d6]355 <indexterm zone="pulseaudio paplay">
356 <primary sortas="b-paplay">paplay</primary>
357 </indexterm>
358 </listitem>
359 </varlistentry>
360
[250cf69]361 <varlistentry id="parec">
[cff37d6]362 <term><command>parec</command></term>
363 <listitem>
[c479d83d]364 <para>
[a161de9]365 is a symbolic link to <command>pacat</command>.
[c479d83d]366 </para>
[cff37d6]367 <indexterm zone="pulseaudio parec">
368 <primary sortas="b-parec">parec</primary>
369 </indexterm>
370 </listitem>
371 </varlistentry>
372
373 <varlistentry id="parecord">
374 <term><command>parecord</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 parecord">
380 <primary sortas="b-parecord">parecord</primary>
381 </indexterm>
382 </listitem>
[250cf69]383 </varlistentry>
[cff37d6]384
385 <varlistentry id="pasuspender">
386 <term><command>pasuspender</command></term>
387 <listitem>
[c479d83d]388 <para>
389 is a tool that can be used to tell a local
390 <application>PulseAudio</application> sound server to temporarily
391 suspend access to the audio devices, to allow other applications
[a161de9]392 to access them directly.
[c479d83d]393 </para>
[cff37d6]394 <indexterm zone="pulseaudio pasuspender">
395 <primary sortas="b-pasuspender">pasuspender</primary>
396 </indexterm>
397 </listitem>
398 </varlistentry>
399
[250cf69]400 <varlistentry id="pax11publish">
[cff37d6]401 <term><command>pax11publish</command></term>
402 <listitem>
[c479d83d]403 <para>
404 is the <application>PulseAudio</application>
405 X11 Credential Utility.
406 </para>
[cff37d6]407 <indexterm zone="pulseaudio pax11publish">
408 <primary sortas="b-pax11publish">pax11publish</primary>
409 </indexterm>
410 </listitem>
[250cf69]411 </varlistentry>
[cff37d6]412
413 <varlistentry id="pulseaudio-prog">
[250cf69]414 <term><command>pulseaudio</command></term>
[cff37d6]415 <listitem>
[c479d83d]416 <para>
417 is a networked low-latency sound server for Linux.
418 </para>
[cff37d6]419 <indexterm zone="pulseaudio pulseaudio-prog">
[c479d83d]420 <primary sortas="b-pulseaudio">pulseaudio</primary>
[cff37d6]421 </indexterm>
422 </listitem>
423 </varlistentry>
424
[e5d2270e]425<!-- only installed if FFTW is present
[250cf69]426 <varlistentry id="qpaeq">
427 <term><command>qpaeq</command></term>
428 <listitem>
[c479d83d]429 <para>
430 is an equalizer interface for
431 <application>PulseAudio</application> equalizer sinks.
432 </para>
[250cf69]433 <indexterm zone="pulseaudio qpaeq">
434 <primary sortas="b-qpaeq">qpaeq</primary>
435 </indexterm>
436 </listitem>
437 </varlistentry>
[e5d2270e]438-->
[03de2e3]439<!-- Not found in PA 7.0
[758637c]440 <varlistentry id="start-pulseaudio-kde">
441 <term><command>start-pulseaudio-kde</command></term>
442 <listitem>
443 <para>
444 Starts <application>PulseAudio</application> and loads
445 module-device-manager to use KDE routing policies.
446 </para>
447 <indexterm zone="pulseaudio start-pulseaudio-kde">
448 <primary sortas="b-start-pulseaudio-kde">start-pulseaudio-kde</primary>
449 </indexterm>
450 </listitem>
451 </varlistentry>
[03de2e3]452-->
[cff37d6]453 <varlistentry id="start-pulseaudio-x11">
454 <term><command>start-pulseaudio-x11</command></term>
455 <listitem>
[c479d83d]456 <para>
[0956cf1]457 starts <application>PulseAudio</application> and registers it to
[c479d83d]458 the X11 session manager.
459 </para>
[cff37d6]460 <indexterm zone="pulseaudio start-pulseaudio-x11">
461 <primary sortas="b-start-pulseaudio-x11">start-pulseaudio-x11</primary>
462 </indexterm>
463 </listitem>
[250cf69]464 </varlistentry>
[cff37d6]465
466 </variablelist>
467
468 </sect2>
469
470</sect1>
Note: See TracBrowser for help on using the repository browser.