source: multimedia/libdriv/pulseaudio.xml@ 23d3543c

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 23d3543c was 23d3543c, checked in by Krejzi <krejzi@…>, 11 years ago

updates and fixes

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

  • Property mode set to 100644
File size: 13.6 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 "http://freedesktop.org/software/pulseaudio/releases/pulseaudio-&pulseaudio-version;.tar.xz">
8 <!ENTITY pulseaudio-download-ftp " ">
9 <!ENTITY pulseaudio-md5sum "47fd7eca8479c757822bee68a1feef25">
10 <!ENTITY pulseaudio-size "1.4 MB">
11 <!ENTITY pulseaudio-buildsize "105 MB">
12 <!ENTITY pulseaudio-time "1.6 SBU">
13]>
14
15<sect1 id="pulseaudio" xreflabel="PulseAudio-&pulseaudio-version;">
16 <?dbhtml filename="pulseaudio.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>PulseAudio-&pulseaudio-version;</title>
24
25 <indexterm zone="pulseaudio">
26 <primary sortas="a-PulseAudio">PulseAudio</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to PulseAudio</title>
31
32 <para>
33 <application>PulseAudio</application> is a sound system for POSIX OSes,
34 meaning that it is a proxy for sound applications. It allows you to do
35 advanced operations on your sound data as it passes between your application
36 and your hardware. Things like transferring the audio to a different machine,
37 changing the sample format or channel count and mixing several sounds into
38 one are easily achieved using a sound server.
39 </para>
40
41 &lfs73_checked;
42
43 <bridgehead renderas="sect3">Package Information</bridgehead>
44 <itemizedlist spacing="compact">
45 <listitem>
46 <para>
47 Download (HTTP): <ulink url="&pulseaudio-download-http;"/>
48 </para>
49 </listitem>
50 <listitem>
51 <para>
52 Download (FTP): <ulink url="&pulseaudio-download-ftp;"/>
53 </para>
54 </listitem>
55 <listitem>
56 <para>
57 Download MD5 sum: &pulseaudio-md5sum;
58 </para>
59 </listitem>
60 <listitem>
61 <para>
62 Download size: &pulseaudio-size;
63 </para>
64 </listitem>
65 <listitem>
66 <para>
67 Estimated disk space required: &pulseaudio-buildsize;
68 </para>
69 </listitem>
70 <listitem>
71 <para>
72 Estimated build time: &pulseaudio-time;
73 </para>
74 </listitem>
75 </itemizedlist>
76
77 <bridgehead renderas="sect3">PulseAudio Dependencies</bridgehead>
78
79 <bridgehead renderas="sect4">Required</bridgehead>
80 <para role="required">
81 <xref linkend="intltool"/>,
82 <xref linkend="json-c"/>,
83 <xref linkend="libsndfile"/> and
84 <xref linkend="pkgconfig"/>
85 </para>
86
87 <bridgehead renderas="sect4">Recommended</bridgehead>
88 <para role="recommended">
89 <xref linkend="alsa-lib"/>,
90 <xref linkend="dbus"/>,
91 <xref linkend="libcap2"/>,
92 <xref linkend="openssl"/>,
93 <xref linkend="speex"/> and
94 <xref linkend="xorg7-lib"/> <!-- Useful for KDE, too -->
95 </para>
96
97 <bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead>
98 <para role="optional">
99 <xref linkend="GConf"/>,
100 <xref linkend="glib2"/> and
101 <xref linkend="gtk2"/>
102 </para>
103
104 <bridgehead renderas="sect4">Optional</bridgehead>
105 <para role="optional">
106 <xref linkend="avahi"/>,
107 <xref linkend="bluez"/> and <xref linkend="sbc"/>,
108 <xref linkend="check"/>,
109 <ulink url="http://www.fftw.org/">FFTW</ulink>,
110 <ulink url="http://www.jackaudio.org/">JACK</ulink>,
111 <ulink url="http://0pointer.de/lennart/projects/libasyncns/">libasyncns</ulink>,
112 <xref linkend="libsamplerate"/>,
113 <ulink url="http://www.lirc.org/">LIRC</ulink>,
114 <ulink url="http://code.entropywave.com/projects/orc/">ORC</ulink>,
115 <ulink url="http://tdb.samba.org/">TDB</ulink>,
116 <ulink url="http://valgrind.org/">Valgrind</ulink>,
117 <ulink url="http://freedesktop.org/software/pulseaudio/webrtc-audio-processing/">
118 WebRTC AudioProcessing</ulink> and
119 <ulink url="http://www.xen.org/">XEN</ulink>
120 </para>
121 <para condition="html" role="usernotes">User Notes:
122 <ulink url="&blfs-wiki;/pulseaudio"/>
123 </para>
124 </sect2>
125
126 <sect2 role="installation">
127 <title>Installation of PulseAudio</title>
128
129 <para>
130 In order for <application>PulseAudio</application> to communicate
131 properly with D-BUS, create a unique user. As the <systemitem
132 class="username">root</systemitem> user, run:
133 </para>
134
135<screen role="root"><userinput>groupadd -g 58 pulse &amp;&amp;
136groupadd -g 59 pulse-access &amp;&amp;
137useradd -c "Pulseaudio User" -d /var/run/pulse -g pulse \
138 -s /bin/false -u 58 pulse &amp;&amp;
139usermod -a -G audio pulse</userinput></screen>
140
141 <para>
142 Install <application>PulseAudio</application> by running the following
143 commands:
144 </para>
145
146<screen><userinput>find . -name "Makefile.in" | xargs sed -i "s|(libdir)/@PACKAGE@|(libdir)/pulse|" &amp;&amp;
147sed -i "s@json >= 0.9@json-c >= 0.11@g" configure &amp;&amp;
148./configure --prefix=/usr \
149 --sysconfdir=/etc \
150 --localstatedir=/var \
151 --libexecdir=/usr/lib \
152 --with-module-dir=/usr/lib/pulse/modules &amp;&amp;
153make</userinput></screen>
154
155 <para>
156 To test the results, issue: <command>make check</command>.
157 </para>
158
159 <para>
160 Now, as the <systemitem class="username">root</systemitem> user:
161 </para>
162
163<screen role="root"><userinput>make install</userinput></screen>
164
165 </sect2>
166
167 <sect2 role="commands">
168 <title>Command Explanations</title>
169
170 <para>
171 <command>find . -name Makefile.in ...</command>: This sed changes
172 the build system to install <application>PulseAudio</application>
173 private libraries into
174 <filename class="directory">/usr/lib/pulse</filename> instead of
175 <filename class="directory">/usr/lib/pulseaudio</filename>.
176 </para>
177
178 <para>
179 <command>sed -i "s@json >= 0.9@json-c >= 0.11@g" configure</command>:
180 This sed fixes building with <application>JSON-C</application> 0.11.
181 </para>
182
183 <para>
184 <parameter>--with-module-dir=/usr/lib/pulse/modules</parameter>:
185 This parameter ensures that <application>PulseAudio</application>
186 modules are installed in <filename class="directory">/usr/lib/pulse/modules
187 </filename> instead of <filename class="directory">
188 /usr/lib/pulse-&pulseaudio-version;/modules</filename>.
189 </para>
190
191 </sect2>
192
193 <sect2 role="content">
194 <title>Contents</title>
195
196 <segmentedlist>
197 <segtitle>Installed Programs</segtitle>
198 <segtitle>Installed Libraries</segtitle>
199 <segtitle>Installed Directories</segtitle>
200
201 <seglistitem>
202 <seg>
203 esdcompat, pacat, pacmd, pactl, padsp, pamon, paplay, parec,
204 parecord, pasuspender, pax11publish, pulseaudio, qpaeq,
205 start-pulseaudio-kde and start-pulseaudio-x11
206 </seg>
207 <seg>
208 libpulsecore-&pulseaudio-version;.so, libpulse-mainloop-glib.so,
209 libpulse-simple.so and libpulse.so
210 </seg>
211 <seg>
212 /etc/pulse,
213 /usr/include/pulse,
214 /usr/lib/cmake/PulseAudio,
215 /usr/lib/pulse and
216 /usr/share/pulseaudio
217 </seg>
218 </seglistitem>
219 </segmentedlist>
220
221 <variablelist>
222 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
223 <?dbfo list-presentation="list"?>
224 <?dbhtml list-presentation="table"?>
225
226 <varlistentry id="esdcompat">
227 <term><command>esdcompat</command></term>
228 <listitem>
229 <para>
230 is the <application>PulseAudio</application> ESD wrapper script.
231 </para>
232 <indexterm zone="pulseaudio esdcompat">
233 <primary sortas="b-esdcompat">esdcompat</primary>
234 </indexterm>
235 </listitem>
236 </varlistentry>
237
238 <varlistentry id="pacat">
239 <term><command>pacat</command></term>
240 <listitem>
241 <para>
242 Plays back or records raw or encoded audio streams on a
243 <application>PulseAudio</application> sound server.
244 </para>
245 <indexterm zone="pulseaudio pacat">
246 <primary sortas="b-pacat">pacat</primary>
247 </indexterm>
248 </listitem>
249 </varlistentry>
250
251 <varlistentry id="pacmd">
252 <term><command>pacmd</command></term>
253 <listitem>
254 <para>
255 is a tool used to reconfigure a <application>PulseAudio</application>
256 sound server during runtime.
257 </para>
258 <indexterm zone="pulseaudio pacmd">
259 <primary sortas="b-pacmd">pacmd</primary>
260 </indexterm>
261 </listitem>
262 </varlistentry>
263
264 <varlistentry id="pactl">
265 <term><command>pactl</command></term>
266 <listitem>
267 <para>
268 is used to control a running <application>PulseAudio</application>
269 sound server.
270 </para>
271 <indexterm zone="pulseaudio pactl">
272 <primary sortas="b-pactl">pactl</primary>
273 </indexterm>
274 </listitem>
275 </varlistentry>
276
277 <varlistentry id="padsp">
278 <term><command>padsp</command></term>
279 <listitem>
280 <para>
281 is the <application>PulseAudio</application> OSS Wrapper.
282 </para>
283 <indexterm zone="pulseaudio padsp">
284 <primary sortas="b-padsp">padsp</primary>
285 </indexterm>
286 </listitem>
287 </varlistentry>
288
289 <varlistentry id="pamon">
290 <term><command>pamon</command></term>
291 <listitem>
292 <para>
293 is a symbolic link to <command>pacat</command>.
294 </para>
295 <indexterm zone="pulseaudio pamon">
296 <primary sortas="b-pamon">pamon</primary>
297 </indexterm>
298 </listitem>
299 </varlistentry>
300
301 <varlistentry id="paplay">
302 <term><command>paplay</command></term>
303 <listitem>
304 <para>
305 is used to play audio files on a
306 <application>PulseAudio</application> sound server.
307 </para>
308 <indexterm zone="pulseaudio paplay">
309 <primary sortas="b-paplay">paplay</primary>
310 </indexterm>
311 </listitem>
312 </varlistentry>
313
314 <varlistentry id="parec">
315 <term><command>parec</command></term>
316 <listitem>
317 <para>
318 is a symbolic link to <command>pacat</command>.
319 </para>
320 <indexterm zone="pulseaudio parec">
321 <primary sortas="b-parec">parec</primary>
322 </indexterm>
323 </listitem>
324 </varlistentry>
325
326 <varlistentry id="parecord">
327 <term><command>parecord</command></term>
328 <listitem>
329 <para>
330 is a symbolic link to <command>pacat</command>.
331 </para>
332 <indexterm zone="pulseaudio parecord">
333 <primary sortas="b-parecord">parecord</primary>
334 </indexterm>
335 </listitem>
336 </varlistentry>
337
338 <varlistentry id="pasuspender">
339 <term><command>pasuspender</command></term>
340 <listitem>
341 <para>
342 is a tool that can be used to tell a local
343 <application>PulseAudio</application> sound server to temporarily
344 suspend access to the audio devices, to allow other applications
345 to access them directly.
346 </para>
347 <indexterm zone="pulseaudio pasuspender">
348 <primary sortas="b-pasuspender">pasuspender</primary>
349 </indexterm>
350 </listitem>
351 </varlistentry>
352
353 <varlistentry id="pax11publish">
354 <term><command>pax11publish</command></term>
355 <listitem>
356 <para>
357 is the <application>PulseAudio</application>
358 X11 Credential Utility.
359 </para>
360 <indexterm zone="pulseaudio pax11publish">
361 <primary sortas="b-pax11publish">pax11publish</primary>
362 </indexterm>
363 </listitem>
364 </varlistentry>
365
366 <varlistentry id="pulseaudio-prog">
367 <term><command>pulseaudio</command></term>
368 <listitem>
369 <para>
370 is a networked low-latency sound server for Linux.
371 </para>
372 <indexterm zone="pulseaudio pulseaudio-prog">
373 <primary sortas="b-pulseaudio">pulseaudio</primary>
374 </indexterm>
375 </listitem>
376 </varlistentry>
377
378 <varlistentry id="qpaeq">
379 <term><command>qpaeq</command></term>
380 <listitem>
381 <para>
382 is an equalizer interface for
383 <application>PulseAudio</application> equalizer sinks.
384 </para>
385 <indexterm zone="pulseaudio qpaeq">
386 <primary sortas="b-qpaeq">qpaeq</primary>
387 </indexterm>
388 </listitem>
389 </varlistentry>
390
391 <varlistentry id="start-pulseaudio-kde">
392 <term><command>start-pulseaudio-kde</command></term>
393 <listitem>
394 <para>
395 Starts <application>PulseAudio</application> and loads
396 module-device-manager to use KDE routing policies.
397 </para>
398 <indexterm zone="pulseaudio start-pulseaudio-kde">
399 <primary sortas="b-start-pulseaudio-kde">start-pulseaudio-kde</primary>
400 </indexterm>
401 </listitem>
402 </varlistentry>
403
404 <varlistentry id="start-pulseaudio-x11">
405 <term><command>start-pulseaudio-x11</command></term>
406 <listitem>
407 <para>
408 Starts <application>PulseAudio</application> and registers it to
409 the X11 session manager.
410 </para>
411 <indexterm zone="pulseaudio start-pulseaudio-x11">
412 <primary sortas="b-start-pulseaudio-x11">start-pulseaudio-x11</primary>
413 </indexterm>
414 </listitem>
415 </varlistentry>
416
417 </variablelist>
418
419 </sect2>
420
421</sect1>
Note: See TracBrowser for help on using the repository browser.