source: multimedia/libdriv/pulseaudio.xml@ 7be0ede

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 7be0ede was 24e5f9d, checked in by Bruce Dubbs <bdubbs@…>, 6 years ago

Archive check which is now in LFS

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

  • Property mode set to 100644
File size: 16.9 KB
Line 
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
7 <!ENTITY pulseaudio-download-http
8 "https://www.freedesktop.org/software/pulseaudio/releases/pulseaudio-&pulseaudio-version;.tar.xz">
9 <!ENTITY pulseaudio-download-ftp " ">
10 <!ENTITY pulseaudio-md5sum "390de38231d5cdd6b43ada8939eb74f1">
11 <!ENTITY pulseaudio-size "1.6 MB">
12 <!ENTITY pulseaudio-buildsize "88 MB (add 2 MB for tests)">
13 <!ENTITY pulseaudio-time "1.5 SBU (add 0.6 SBU for tests)">
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
33 <para>
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
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.
40 </para>
41
42 &lfs81_checked;
43
44 <bridgehead renderas="sect3">Package Information</bridgehead>
45 <itemizedlist spacing="compact">
46 <listitem>
47 <para>
48 Download (HTTP): <ulink url="&pulseaudio-download-http;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download (FTP): <ulink url="&pulseaudio-download-ftp;"/>
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download MD5 sum: &pulseaudio-md5sum;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Download size: &pulseaudio-size;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated disk space required: &pulseaudio-buildsize;
69 </para>
70 </listitem>
71 <listitem>
72 <para>
73 Estimated build time: &pulseaudio-time;
74 </para>
75 </listitem>
76 </itemizedlist>
77
78 <bridgehead renderas="sect3">PulseAudio Dependencies</bridgehead>
79
80 <bridgehead renderas="sect4">Required</bridgehead>
81 <para role="required">
82 <xref linkend="libsndfile"/>
83 </para>
84
85 <bridgehead renderas="sect4">Recommended</bridgehead>
86 <para role="recommended">
87 <xref linkend="alsa-lib"/>,
88 <xref linkend="dbus"/>,
89 <xref linkend="glib2"/>,
90 <xref linkend="libcap-pam"/>,
91 <xref linkend="openssl"/>,
92 <xref linkend="speex"/> and
93 <xref linkend="xorg7-lib"/>
94 </para>
95
96 <bridgehead renderas="sect4">Optional</bridgehead>
97 <para role="optional">
98 <xref linkend="avahi"/>,
99 <xref linkend="bluez"/>,
100 <phrase revision="sysv">
101 <xref role="runtime" linkend="consolekit"/> (runtime),</phrase>
102 <xref linkend="fftw"/>,
103 <xref linkend="GConf"/>,
104 <xref linkend="gtk3"/>,
105 <xref linkend="libsamplerate"/>,
106 <xref linkend="sbc"/> (Bluetooth support),
107 <xref linkend="valgrind"/>,
108 <ulink url="http://www.jackaudio.org/">JACK</ulink>,
109 <ulink url="http://0pointer.de/lennart/projects/libasyncns/">libasyncns</ulink>,
110 <ulink url="http://www.lirc.org/">LIRC</ulink>,
111 <ulink url="http://gstreamer.freedesktop.org/src/orc/">ORC</ulink>,
112 <ulink url="http://tdb.samba.org/">TDB</ulink>,
113 <ulink url="http://freedesktop.org/software/pulseaudio/webrtc-audio-processing/">
114 WebRTC AudioProcessing</ulink> and
115 <ulink url="http://www.xenproject.org/">XEN</ulink>
116 </para>
117
118 <para condition="html" role="usernotes">User Notes:
119 <ulink url="&blfs-wiki;/pulseaudio"/>
120 </para>
121 </sect2>
122
123 <sect2 role="installation">
124 <title>Installation of PulseAudio</title>
125
126 <para>
127 Install <application>PulseAudio</application> by running the following
128 commands:
129 </para>
130
131<screen><userinput>./configure --prefix=/usr \
132 --sysconfdir=/etc \
133 --localstatedir=/var \
134 --disable-bluez4 \
135 --disable-bluez5 \
136 --disable-rpath &amp;&amp;
137make</userinput></screen>
138
139 <para>
140 To test the results, issue: <command>make check</command>.
141 </para>
142
143 <para>
144 Now, as the <systemitem class="username">root</systemitem> user:
145 </para>
146
147<screen role="root"><userinput>make install</userinput></screen>
148
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
154 users and groups:
155 </para>
156
157<screen role="root"><userinput>rm -fv /etc/dbus-1/system.d/pulseaudio-system.conf</userinput></screen>
158
159 </sect2>
160
161 <sect2 role="commands">
162 <title>Command Explanations</title>
163
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-bluez5</parameter>: This switch prevents
173 a runtime error if <xref linkend="dbus"/> and <xref linkend="sbc"/>
174 are both installed but <xref linkend="bluez"/> is not installed.
175 Remove this if you have installed all three packages.
176 </para>
177
178 <para>
179 <parameter>--disable-rpath</parameter>: This switch prevents
180 linker from adding a hardcoded runtime path to the installed
181 programs and libraries.
182 </para>
183
184 </sect2>
185
186 <sect2 role="configuration">
187 <title>Configuring PulseAudio</title>
188
189 <sect3 id="pulseaudio-config">
190 <title>Config Files</title>
191 <para>
192 There are system wide configuration files:
193 <filename>/etc/pulse/daemon.conf</filename>,
194 <filename>/etc/pulse/client.conf</filename>,
195 <filename>/etc/pulse/default.pa</filename>, and user configuration
196 files with the same names in
197 <filename class="directory">~/.config/pulse</filename>. User
198 configuration files take precedence over system wide ones.
199 </para>
200
201 <indexterm zone="pulseaudio pulseaudio-config">
202 <primary sortas="e-AA.config-pulse">~/.config/pulse</primary>
203 </indexterm>
204
205 <indexterm zone="pulseaudio pulseaudio-config">
206 <primary
207 sortas="e-etc-pulse-daemon.conf">/etc/pulse/daemon.conf</primary>
208 </indexterm>
209
210 <indexterm zone="pulseaudio pulseaudio-config">
211 <primary
212 sortas="e-etc-pulse-client.conf">/etc/pulse/client.conf</primary>
213 </indexterm>
214
215 <indexterm zone="pulseaudio pulseaudio-config">
216 <primary
217 sortas="e-etc-pulse-default.pa">/etc/pulse/default.pa</primary>
218 </indexterm>
219 </sect3>
220
221 <sect3><title>Configuration Information</title>
222
223 <para>
224 The default configuration files allow setting up a working installation.
225 However, a reference to Console-Kit needs to be removed if it is
226 not installed. For example, issue the following command as the
227 <systemitem class="username">root</systemitem> user:
228 </para>
229
230<screen role="root"><userinput>sed -i '/load-module module-console-kit/s/^/#/' /etc/pulse/default.pa</userinput></screen>
231
232 <para>
233 You may also have to configure the audio system. You can start
234 <application>pulseaudio</application> in command line mode using
235 <command>pulseaudio -C</command> and then list various
236 information and change settings. See
237 <command>man pulse-cli-syntax</command>.
238 </para>
239
240 <para>
241 If <application>pulseaudio</application> was working but you no-longer
242 have sound, after checking for hardware issues (speakers or headphones
243 not connected, external amplifier not connected) you may need to fix it.
244 </para>
245
246 <para>
247 One suggestion is to close the application, such as
248 <application>firefox</application> where sound has stopped working, then
249 run: <command>pactl list short sinks</command> followed by:
250 <command>pacmd set-default-sink &lt;sink #&gt;</command> and then
251 restart the application.
252 </para>
253
254 <para>
255 If that does not work, a more drastic approach often works. After closing
256 the application, close pulseaudio, either using <command>pulseaudio
257 --kill</command> or, if that fails, <command>killall -KILL
258 pulseaudio</command> and then <command>rm -rf
259 ~/.config/pulse/*</command> (and perhaps also
260 <command>rm -rf ~/.pulse/*</command> if you have used a very old version
261 of pulse on this machine, then run <command>pulseaudio
262 --verbose</command> to restart it. If the daemon starts, restart the
263 application. See <command>man pulseaudio</command> for more options.
264 </para>
265
266 </sect3>
267 </sect2>
268
269 <sect2 role="content">
270 <title>Contents</title>
271
272 <segmentedlist>
273 <segtitle>Installed Programs</segtitle>
274 <segtitle>Installed Libraries</segtitle>
275 <segtitle>Installed Directories</segtitle>
276
277 <seglistitem>
278 <seg>
279 esdcompat, pacat, pacmd, pactl, padsp, pamon (symlink to pacat),
280 paplay (symlink to pacat), parec (symlink to pacat),
281 parecord (symlink to pacat), pasuspender,
282 pax11publish, pulseaudio, and
283 <!-- it looks like the equalizer needs FFTW: qpaeq, -->
284 start-pulseaudio-x11
285 </seg>
286 <seg>
287 libpulse.so
288 libpulse-mainloop-glib.so,
289 libpulse-simple.so,
290 libpulsecommon-&pulseaudio-major-version;.so,
291 libpulsecore-&pulseaudio-major-version;.so, and
292 libpulsedsp.so
293
294 </seg>
295 <seg>
296 /etc/pulse,
297 /usr/include/pulse,
298 /usr/lib/cmake/PulseAudio,
299 /usr/lib/{pulseaudio,pulse-&pulseaudio-major-version;},
300 /usr/libexec/pulse, and
301 /usr/share/pulseaudio
302 </seg>
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>
314 <para>
315 is the <application>PulseAudio</application> ESD wrapper script.
316 </para>
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>
326 <para>
327 plays back or records raw or encoded audio streams on a
328 <application>PulseAudio</application> sound server.
329 </para>
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>
339 <para>
340 is a tool used to reconfigure a <application>PulseAudio</application>
341 sound server during runtime.
342 </para>
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>
352 <para>
353 is used to control a running <application>PulseAudio</application>
354 sound server.
355 </para>
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>
365 <para>
366 is the <application>PulseAudio</application> OSS Wrapper.
367 </para>
368 <indexterm zone="pulseaudio padsp">
369 <primary sortas="b-padsp">padsp</primary>
370 </indexterm>
371 </listitem>
372 </varlistentry>
373
374 <varlistentry id="pamon">
375 <term><command>pamon</command></term>
376 <listitem>
377 <para>
378 is a symbolic link to <command>pacat</command>.
379 </para>
380 <indexterm zone="pulseaudio pamon">
381 <primary sortas="b-pamon">pamon</primary>
382 </indexterm>
383 </listitem>
384 </varlistentry>
385
386 <varlistentry id="paplay">
387 <term><command>paplay</command></term>
388 <listitem>
389 <para>
390 is used to play audio files on a
391 <application>PulseAudio</application> sound server.
392 </para>
393 <indexterm zone="pulseaudio paplay">
394 <primary sortas="b-paplay">paplay</primary>
395 </indexterm>
396 </listitem>
397 </varlistentry>
398
399 <varlistentry id="parec">
400 <term><command>parec</command></term>
401 <listitem>
402 <para>
403 is a symbolic link to <command>pacat</command>.
404 </para>
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>
414 <para>
415 is a symbolic link to <command>pacat</command>.
416 </para>
417 <indexterm zone="pulseaudio parecord">
418 <primary sortas="b-parecord">parecord</primary>
419 </indexterm>
420 </listitem>
421 </varlistentry>
422
423 <varlistentry id="pasuspender">
424 <term><command>pasuspender</command></term>
425 <listitem>
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
430 to access them directly.
431 </para>
432 <indexterm zone="pulseaudio pasuspender">
433 <primary sortas="b-pasuspender">pasuspender</primary>
434 </indexterm>
435 </listitem>
436 </varlistentry>
437
438 <varlistentry id="pax11publish">
439 <term><command>pax11publish</command></term>
440 <listitem>
441 <para>
442 is the <application>PulseAudio</application>
443 X11 Credential Utility.
444 </para>
445 <indexterm zone="pulseaudio pax11publish">
446 <primary sortas="b-pax11publish">pax11publish</primary>
447 </indexterm>
448 </listitem>
449 </varlistentry>
450
451 <varlistentry id="pulseaudio-prog">
452 <term><command>pulseaudio</command></term>
453 <listitem>
454 <para>
455 is a networked low-latency sound server for Linux.
456 </para>
457 <indexterm zone="pulseaudio pulseaudio-prog">
458 <primary sortas="b-pulseaudio">pulseaudio</primary>
459 </indexterm>
460 </listitem>
461 </varlistentry>
462
463<!-- only installed if FFTW is present
464 <varlistentry id="qpaeq">
465 <term><command>qpaeq</command></term>
466 <listitem>
467 <para>
468 is an equalizer interface for
469 <application>PulseAudio</application> equalizer sinks.
470 </para>
471 <indexterm zone="pulseaudio qpaeq">
472 <primary sortas="b-qpaeq">qpaeq</primary>
473 </indexterm>
474 </listitem>
475 </varlistentry>
476-->
477<!-- Not found in PA 7.0
478 <varlistentry id="start-pulseaudio-kde">
479 <term><command>start-pulseaudio-kde</command></term>
480 <listitem>
481 <para>
482 Starts <application>PulseAudio</application> and loads
483 module-device-manager to use KDE routing policies.
484 </para>
485 <indexterm zone="pulseaudio start-pulseaudio-kde">
486 <primary sortas="b-start-pulseaudio-kde">start-pulseaudio-kde</primary>
487 </indexterm>
488 </listitem>
489 </varlistentry>
490-->
491 <varlistentry id="start-pulseaudio-x11">
492 <term><command>start-pulseaudio-x11</command></term>
493 <listitem>
494 <para>
495 starts <application>PulseAudio</application> and registers it to
496 the X11 session manager.
497 </para>
498 <indexterm zone="pulseaudio start-pulseaudio-x11">
499 <primary sortas="b-start-pulseaudio-x11">start-pulseaudio-x11</primary>
500 </indexterm>
501 </listitem>
502 </varlistentry>
503
504 </variablelist>
505
506 </sect2>
507
508</sect1>
Note: See TracBrowser for help on using the repository browser.