source: multimedia/libdriv/pulseaudio.xml@ 436cc4d2

10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 gimp3 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 436cc4d2 was 62c0ce6, checked in by Douglas R. Reno <renodr@…>, 4 years ago

Update to x264-20200218
Tags for webkitgtk dependencies

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

  • Property mode set to 100644
File size: 17.0 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 " ">
[d8f80e9]10 <!ENTITY pulseaudio-md5sum "e41d606f90254ed45c90520faf83d95c">
11 <!ENTITY pulseaudio-size "1.8 MB">
12 <!ENTITY pulseaudio-buildsize "93 MB (add 2 MB for tests)">
13 <!ENTITY pulseaudio-time "0.5 SBU (Using parallelism=4; 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
[62c0ce6]42 &lfs10_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">
[adf6dd9a]82 <xref linkend="libsndfile"/>
[c479d83d]83 </para>
[cff37d6]84
85 <bridgehead renderas="sect4">Recommended</bridgehead>
[c479d83d]86 <para role="recommended">
87 <xref linkend="alsa-lib"/>,
[54666831]88 <xref linkend="dbus"/>,
[51dfb3e]89 <phrase revision="sysv"><xref linkend="elogind"/>,</phrase>
[88136e4d]90 <xref linkend="glib2"/>,
[56605b9]91 <xref linkend="libcap-pam"/>,
[d835b55]92 <xref linkend="speex"/> and
[88136e4d]93 <xref linkend="xorg7-lib"/>
[250cf69]94 </para>
95
[cff37d6]96 <bridgehead renderas="sect4">Optional</bridgehead>
[ff43ebb]97 <para role="optional">
[c479d83d]98 <xref linkend="avahi"/>,
[576b3dd]99 <xref linkend="bluez"/>,
[0e6052db]100 <xref linkend="fftw"/>,
[88136e4d]101 <xref linkend="GConf"/>,
102 <xref linkend="gtk3"/>,
[758637c]103 <xref linkend="libsamplerate"/>,
[98e2adf]104 <xref linkend="sbc"/> (Bluetooth support),
105 <xref linkend="valgrind"/>,
106 <ulink url="http://www.jackaudio.org/">JACK</ulink>,
[ded78c6]107 <ulink url="http://0pointer.de/lennart/projects/libasyncns/">libasyncns</ulink>,
[c479d83d]108 <ulink url="http://www.lirc.org/">LIRC</ulink>,
[d42f02c6]109 <ulink url="http://gstreamer.freedesktop.org/src/orc/">ORC</ulink>,
[2f461be]110 <ulink url="https://sourceforge.net/projects/soxr/">soxr</ulink>,
[d835b55]111 <ulink url="http://tdb.samba.org/">TDB</ulink>,
112 <ulink url="http://freedesktop.org/software/pulseaudio/webrtc-audio-processing/">
113 WebRTC AudioProcessing</ulink> and
[d42f02c6]114 <ulink url="http://www.xenproject.org/">XEN</ulink>
[c479d83d]115 </para>
[88136e4d]116
[cff37d6]117 <para condition="html" role="usernotes">User Notes:
[6f57c53]118 <ulink url="&blfs-wiki;/pulseaudio"/>
119 </para>
[cff37d6]120 </sect2>
121
122 <sect2 role="installation">
123 <title>Installation of PulseAudio</title>
124
[c479d83d]125 <para>
126 Install <application>PulseAudio</application> by running the following
127 commands:
128 </para>
[8e4d9e6e]129
[d8f80e9]130<screen revision="sysv"><userinput>./configure --prefix=/usr \
[51dfb3e]131 --sysconfdir=/etc \
132 --localstatedir=/var \
133 --disable-bluez5 \
134 --disable-rpath \
135 --with-systemduserunitdir=no &amp;&amp;
136make</userinput></screen>
137
[d8f80e9]138<screen revision="systemd"><userinput>./configure --prefix=/usr \
[758637c]139 --sysconfdir=/etc \
140 --localstatedir=/var \
[576b3dd]141 --disable-bluez5 \
[5622b1b7]142 --disable-rpath &amp;&amp;
[cff37d6]143make</userinput></screen>
144
[c479d83d]145 <para>
146 To test the results, issue: <command>make check</command>.
147 </para>
[cff37d6]148
[c479d83d]149 <para>
150 Now, as the <systemitem class="username">root</systemitem> user:
151 </para>
[cff37d6]152
153<screen role="root"><userinput>make install</userinput></screen>
154
[88136e4d]155 <!-- http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/SystemWide/ -->
156 <para>
157 While still as the <systemitem class="username">root</systemitem>
158 user, remove the <application>D-Bus</application> configuration file
159 for the system wide daemon to avoid creating unnecessary system
[e7c2eeb]160 users and groups:
[88136e4d]161 </para>
162
[96f2797]163<screen role="root"><userinput>rm -fv /etc/dbus-1/system.d/pulseaudio-system.conf</userinput></screen>
[88136e4d]164
[cff37d6]165 </sect2>
166
167 <sect2 role="commands">
168 <title>Command Explanations</title>
[88136e4d]169
[576b3dd]170 <para>
171 <parameter>--disable-bluez5</parameter>: This switch prevents
172 a runtime error if <xref linkend="dbus"/> and <xref linkend="sbc"/>
173 are both installed but <xref linkend="bluez"/> is not installed.
174 Remove this if you have installed all three packages.
175 </para>
176
[88136e4d]177 <para>
178 <parameter>--disable-rpath</parameter>: This switch prevents
179 linker from adding a hardcoded runtime path to the installed
180 programs and libraries.
181 </para>
182
[250cf69]183 </sect2>
[cff37d6]184
[e5d2270e]185 <sect2 role="configuration">
186 <title>Configuring PulseAudio</title>
187
188 <sect3 id="pulseaudio-config">
189 <title>Config Files</title>
190 <para>
191 There are system wide configuration files:
192 <filename>/etc/pulse/daemon.conf</filename>,
193 <filename>/etc/pulse/client.conf</filename>,
194 <filename>/etc/pulse/default.pa</filename>, and user configuration
195 files with the same names in
196 <filename class="directory">~/.config/pulse</filename>. User
197 configuration files take precedence over system wide ones.
198 </para>
199
200 <indexterm zone="pulseaudio pulseaudio-config">
201 <primary sortas="e-AA.config-pulse">~/.config/pulse</primary>
202 </indexterm>
203
204 <indexterm zone="pulseaudio pulseaudio-config">
205 <primary
206 sortas="e-etc-pulse-daemon.conf">/etc/pulse/daemon.conf</primary>
207 </indexterm>
208
209 <indexterm zone="pulseaudio pulseaudio-config">
210 <primary
211 sortas="e-etc-pulse-client.conf">/etc/pulse/client.conf</primary>
212 </indexterm>
213
214 <indexterm zone="pulseaudio pulseaudio-config">
215 <primary
216 sortas="e-etc-pulse-default.pa">/etc/pulse/default.pa</primary>
217 </indexterm>
218 </sect3>
219
220 <sect3><title>Configuration Information</title>
[d8f80e9]221<!--
[e5d2270e]222 <para>
[03de2e3]223 The default configuration files allow setting up a working installation.
[d43c7a12]224 However, a reference to Console-Kit needs to be removed.
225 Issue the following command as the
[e5d2270e]226 <systemitem class="username">root</systemitem> user:
227 </para>
228
[03de2e3]229<screen role="root"><userinput>sed -i '/load-module module-console-kit/s/^/#/' /etc/pulse/default.pa</userinput></screen>
[e5d2270e]230
[d8f80e9]231 In 13.0 this is protected via .ifexists module-console-kit.so
232-->
[e5d2270e]233 <para>
[d8f80e9]234 You may 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>
[a8f5df3]240
241 <para>
242 If <application>pulseaudio</application> was working but you no-longer
243 have sound, after checking for hardware issues (speakers or headphones
244 not connected, external amplifier not connected) you may need to fix it.
245 </para>
246
247 <para>
248 One suggestion is to close the application, such as
249 <application>firefox</application> where sound has stopped working, then
250 run: <command>pactl list short sinks</command> followed by:
251 <command>pacmd set-default-sink &lt;sink #&gt;</command> and then
252 restart the application.
253 </para>
254
255 <para>
256 If that does not work, a more drastic approach often works. After closing
257 the application, close pulseaudio, either using <command>pulseaudio
258 --kill</command> or, if that fails, <command>killall -KILL
259 pulseaudio</command> and then <command>rm -rf
260 ~/.config/pulse/*</command> (and perhaps also
261 <command>rm -rf ~/.pulse/*</command> if you have used a very old version
262 of pulse on this machine, then run <command>pulseaudio
263 --verbose</command> to restart it. If the daemon starts, restart the
264 application. See <command>man pulseaudio</command> for more options.
265 </para>
266
[e5d2270e]267 </sect3>
268 </sect2>
269
[cff37d6]270 <sect2 role="content">
271 <title>Contents</title>
272
273 <segmentedlist>
274 <segtitle>Installed Programs</segtitle>
275 <segtitle>Installed Libraries</segtitle>
276 <segtitle>Installed Directories</segtitle>
277
278 <seglistitem>
[c479d83d]279 <seg>
[03de2e3]280 esdcompat, pacat, pacmd, pactl, padsp, pamon (symlink to pacat),
[c870dc3]281 paplay (symlink to pacat), parec (symlink to pacat),
[d8f80e9]282 parecord (symlink to pacat), qpaeq, pasuspender,
[5622b1b7]283 pax11publish, pulseaudio, and
[e5d2270e]284 <!-- it looks like the equalizer needs FFTW: qpaeq, -->
[5622b1b7]285 start-pulseaudio-x11
[c479d83d]286 </seg>
287 <seg>
[11eb3ae5]288 libpulse.so,
[96f2797]289 libpulse-mainloop-glib.so,
290 libpulse-simple.so,
291 libpulsecommon-&pulseaudio-major-version;.so,
292 libpulsecore-&pulseaudio-major-version;.so, and
293 libpulsedsp.so
[c479d83d]294 </seg>
295 <seg>
[4b141a4]296 /etc/pulse,
297 /usr/include/pulse,
[5622b1b7]298 /usr/lib/cmake/PulseAudio,
[d42f02c6]299 /usr/lib/{pulseaudio,pulse-&pulseaudio-major-version;},
[c870dc3]300 /usr/libexec/pulse, and
[4b141a4]301 /usr/share/pulseaudio
[c479d83d]302 </seg>
[cff37d6]303 </seglistitem>
304 </segmentedlist>
305
306 <variablelist>
307 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
308 <?dbfo list-presentation="list"?>
309 <?dbhtml list-presentation="table"?>
310
311 <varlistentry id="esdcompat">
312 <term><command>esdcompat</command></term>
313 <listitem>
[c479d83d]314 <para>
315 is the <application>PulseAudio</application> ESD wrapper script.
316 </para>
[cff37d6]317 <indexterm zone="pulseaudio esdcompat">
318 <primary sortas="b-esdcompat">esdcompat</primary>
319 </indexterm>
320 </listitem>
321 </varlistentry>
322
323 <varlistentry id="pacat">
324 <term><command>pacat</command></term>
325 <listitem>
[c479d83d]326 <para>
[0956cf1]327 plays back or records raw or encoded audio streams on a
[c479d83d]328 <application>PulseAudio</application> sound server.
329 </para>
[cff37d6]330 <indexterm zone="pulseaudio pacat">
331 <primary sortas="b-pacat">pacat</primary>
332 </indexterm>
333 </listitem>
334 </varlistentry>
335
336 <varlistentry id="pacmd">
337 <term><command>pacmd</command></term>
338 <listitem>
[c479d83d]339 <para>
340 is a tool used to reconfigure a <application>PulseAudio</application>
341 sound server during runtime.
342 </para>
[cff37d6]343 <indexterm zone="pulseaudio pacmd">
344 <primary sortas="b-pacmd">pacmd</primary>
345 </indexterm>
346 </listitem>
347 </varlistentry>
348
349 <varlistentry id="pactl">
350 <term><command>pactl</command></term>
351 <listitem>
[c479d83d]352 <para>
[a161de9]353 is used to control a running <application>PulseAudio</application>
[c479d83d]354 sound server.
355 </para>
[cff37d6]356 <indexterm zone="pulseaudio pactl">
357 <primary sortas="b-pactl">pactl</primary>
358 </indexterm>
359 </listitem>
360 </varlistentry>
361
362 <varlistentry id="padsp">
363 <term><command>padsp</command></term>
364 <listitem>
[c479d83d]365 <para>
366 is the <application>PulseAudio</application> OSS Wrapper.
367 </para>
[cff37d6]368 <indexterm zone="pulseaudio padsp">
369 <primary sortas="b-padsp">padsp</primary>
370 </indexterm>
371 </listitem>
372 </varlistentry>
373
[250cf69]374 <varlistentry id="pamon">
[cff37d6]375 <term><command>pamon</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 pamon">
381 <primary sortas="b-pamon">pamon</primary>
382 </indexterm>
383 </listitem>
[250cf69]384 </varlistentry>
[cff37d6]385
386 <varlistentry id="paplay">
387 <term><command>paplay</command></term>
388 <listitem>
[c479d83d]389 <para>
[a161de9]390 is used to play audio files on a
[c479d83d]391 <application>PulseAudio</application> sound server.
392 </para>
[cff37d6]393 <indexterm zone="pulseaudio paplay">
394 <primary sortas="b-paplay">paplay</primary>
395 </indexterm>
396 </listitem>
397 </varlistentry>
398
[250cf69]399 <varlistentry id="parec">
[cff37d6]400 <term><command>parec</command></term>
401 <listitem>
[c479d83d]402 <para>
[a161de9]403 is a symbolic link to <command>pacat</command>.
[c479d83d]404 </para>
[cff37d6]405 <indexterm zone="pulseaudio parec">
406 <primary sortas="b-parec">parec</primary>
407 </indexterm>
408 </listitem>
409 </varlistentry>
410
411 <varlistentry id="parecord">
412 <term><command>parecord</command></term>
413 <listitem>
[c479d83d]414 <para>
[a161de9]415 is a symbolic link to <command>pacat</command>.
[c479d83d]416 </para>
[cff37d6]417 <indexterm zone="pulseaudio parecord">
418 <primary sortas="b-parecord">parecord</primary>
419 </indexterm>
420 </listitem>
[250cf69]421 </varlistentry>
[cff37d6]422
423 <varlistentry id="pasuspender">
424 <term><command>pasuspender</command></term>
425 <listitem>
[c479d83d]426 <para>
427 is a tool that can be used to tell a local
428 <application>PulseAudio</application> sound server to temporarily
429 suspend access to the audio devices, to allow other applications
[a161de9]430 to access them directly.
[c479d83d]431 </para>
[cff37d6]432 <indexterm zone="pulseaudio pasuspender">
433 <primary sortas="b-pasuspender">pasuspender</primary>
434 </indexterm>
435 </listitem>
436 </varlistentry>
437
[250cf69]438 <varlistentry id="pax11publish">
[cff37d6]439 <term><command>pax11publish</command></term>
440 <listitem>
[c479d83d]441 <para>
442 is the <application>PulseAudio</application>
443 X11 Credential Utility.
444 </para>
[cff37d6]445 <indexterm zone="pulseaudio pax11publish">
446 <primary sortas="b-pax11publish">pax11publish</primary>
447 </indexterm>
448 </listitem>
[250cf69]449 </varlistentry>
[cff37d6]450
451 <varlistentry id="pulseaudio-prog">
[250cf69]452 <term><command>pulseaudio</command></term>
[cff37d6]453 <listitem>
[c479d83d]454 <para>
455 is a networked low-latency sound server for Linux.
456 </para>
[cff37d6]457 <indexterm zone="pulseaudio pulseaudio-prog">
[c479d83d]458 <primary sortas="b-pulseaudio">pulseaudio</primary>
[cff37d6]459 </indexterm>
460 </listitem>
461 </varlistentry>
462
[d8f80e9]463<!-- only installed if FFTW is present -->
[250cf69]464 <varlistentry id="qpaeq">
465 <term><command>qpaeq</command></term>
466 <listitem>
[c479d83d]467 <para>
468 is an equalizer interface for
[d8f80e9]469 <application>PulseAudio</application> equalizer sinks
470 (Requires <xref linkend="fftw"/> at build time).
[c479d83d]471 </para>
[250cf69]472 <indexterm zone="pulseaudio qpaeq">
473 <primary sortas="b-qpaeq">qpaeq</primary>
474 </indexterm>
475 </listitem>
476 </varlistentry>
[d8f80e9]477
[03de2e3]478<!-- Not found in PA 7.0
[758637c]479 <varlistentry id="start-pulseaudio-kde">
480 <term><command>start-pulseaudio-kde</command></term>
481 <listitem>
482 <para>
483 Starts <application>PulseAudio</application> and loads
484 module-device-manager to use KDE routing policies.
485 </para>
486 <indexterm zone="pulseaudio start-pulseaudio-kde">
487 <primary sortas="b-start-pulseaudio-kde">start-pulseaudio-kde</primary>
488 </indexterm>
489 </listitem>
490 </varlistentry>
[03de2e3]491-->
[cff37d6]492 <varlistentry id="start-pulseaudio-x11">
493 <term><command>start-pulseaudio-x11</command></term>
494 <listitem>
[c479d83d]495 <para>
[0956cf1]496 starts <application>PulseAudio</application> and registers it to
[c479d83d]497 the X11 session manager.
498 </para>
[cff37d6]499 <indexterm zone="pulseaudio start-pulseaudio-x11">
500 <primary sortas="b-start-pulseaudio-x11">start-pulseaudio-x11</primary>
501 </indexterm>
502 </listitem>
[250cf69]503 </varlistentry>
[cff37d6]504
505 </variablelist>
506
507 </sect2>
508
509</sect1>
Note: See TracBrowser for help on using the repository browser.