source: multimedia/libdriv/pulseaudio.xml@ c67fbf64

systemd-11177
Last change on this file since c67fbf64 was c67fbf64, checked in by Krejzi <krejzi@…>, 11 years ago

Remove packages that are now in lfs systemd from blfs.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@11302 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 13.5 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"/> and
83 <xref linkend="libsndfile"/>
84 </para>
85
86 <bridgehead renderas="sect4">Recommended</bridgehead>
87 <para role="recommended">
88 <xref linkend="alsa-lib"/>,
89 <xref linkend="openssl"/>,
90 <xref linkend="speex"/> and
91 <xref linkend="xorg7-lib"/> <!-- Useful for KDE, too -->
92 </para>
93
94 <bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead>
95 <para role="optional">
96 <xref linkend="GConf"/>,
97 <xref linkend="glib2"/> and
98 <xref linkend="gtk2"/>
99 </para>
100
101 <bridgehead renderas="sect4">Optional</bridgehead>
102 <para role="optional">
103 <xref linkend="avahi"/>,
104 <xref linkend="bluez"/> and <xref linkend="sbc"/>,
105 <xref linkend="check"/>,
106 <ulink url="http://www.fftw.org/">FFTW</ulink>,
107 <ulink url="http://www.jackaudio.org/">JACK</ulink>,
108 <ulink url="http://0pointer.de/lennart/projects/libasyncns/">libasyncns</ulink>,
109 <xref linkend="libsamplerate"/>,
110 <ulink url="http://www.lirc.org/">LIRC</ulink>,
111 <ulink url="http://code.entropywave.com/projects/orc/">ORC</ulink>,
112 <ulink url="http://tdb.samba.org/">TDB</ulink>,
113 <ulink url="http://valgrind.org/">Valgrind</ulink>,
114 <ulink url="http://freedesktop.org/software/pulseaudio/webrtc-audio-processing/">
115 WebRTC AudioProcessing</ulink> and
116 <ulink url="http://www.xen.org/">XEN</ulink>
117 </para>
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 In order for <application>PulseAudio</application> to communicate
128 properly with D-BUS, create a unique user. As the <systemitem
129 class="username">root</systemitem> user, run:
130 </para>
131
132<screen role="root"><userinput>groupadd -g 58 pulse &amp;&amp;
133groupadd -g 59 pulse-access &amp;&amp;
134useradd -c "Pulseaudio User" -d /var/run/pulse -g pulse \
135 -s /bin/false -u 58 pulse &amp;&amp;
136usermod -a -G audio pulse</userinput></screen>
137
138 <para>
139 Install <application>PulseAudio</application> by running the following
140 commands:
141 </para>
142
143<screen><userinput>find . -name "Makefile.in" | xargs sed -i "s|(libdir)/@PACKAGE@|(libdir)/pulse|" &amp;&amp;
144sed -i "s@json >= 0.9@json-c >= 0.11@g" configure &amp;&amp;
145./configure --prefix=/usr \
146 --sysconfdir=/etc \
147 --localstatedir=/var \
148 --libexecdir=/usr/lib \
149 --with-module-dir=/usr/lib/pulse/modules &amp;&amp;
150make</userinput></screen>
151
152 <para>
153 To test the results, issue: <command>make check</command>.
154 </para>
155
156 <para>
157 Now, as the <systemitem class="username">root</systemitem> user:
158 </para>
159
160<screen role="root"><userinput>make install</userinput></screen>
161
162 </sect2>
163
164 <sect2 role="commands">
165 <title>Command Explanations</title>
166
167 <para>
168 <command>find . -name Makefile.in ...</command>: This sed changes
169 the build system to install <application>PulseAudio</application>
170 private libraries into
171 <filename class="directory">/usr/lib/pulse</filename> instead of
172 <filename class="directory">/usr/lib/pulseaudio</filename>.
173 </para>
174
175 <para>
176 <command>sed -i "s@json >= 0.9@json-c >= 0.11@g" configure</command>:
177 This sed fixes building with <application>JSON-C</application> 0.11.
178 </para>
179
180 <para>
181 <parameter>--with-module-dir=/usr/lib/pulse/modules</parameter>:
182 This parameter ensures that <application>PulseAudio</application>
183 modules are installed in <filename class="directory">/usr/lib/pulse/modules
184 </filename> instead of <filename class="directory">
185 /usr/lib/pulse-&pulseaudio-version;/modules</filename>.
186 </para>
187
188 </sect2>
189
190 <sect2 role="content">
191 <title>Contents</title>
192
193 <segmentedlist>
194 <segtitle>Installed Programs</segtitle>
195 <segtitle>Installed Libraries</segtitle>
196 <segtitle>Installed Directories</segtitle>
197
198 <seglistitem>
199 <seg>
200 esdcompat, pacat, pacmd, pactl, padsp, pamon, paplay, parec,
201 parecord, pasuspender, pax11publish, pulseaudio, qpaeq,
202 start-pulseaudio-kde and start-pulseaudio-x11
203 </seg>
204 <seg>
205 libpulsecore-&pulseaudio-version;.so, libpulse-mainloop-glib.so,
206 libpulse-simple.so and libpulse.so
207 </seg>
208 <seg>
209 /etc/pulse,
210 /usr/include/pulse,
211 /usr/lib/cmake/PulseAudio,
212 /usr/lib/pulse and
213 /usr/share/pulseaudio
214 </seg>
215 </seglistitem>
216 </segmentedlist>
217
218 <variablelist>
219 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
220 <?dbfo list-presentation="list"?>
221 <?dbhtml list-presentation="table"?>
222
223 <varlistentry id="esdcompat">
224 <term><command>esdcompat</command></term>
225 <listitem>
226 <para>
227 is the <application>PulseAudio</application> ESD wrapper script.
228 </para>
229 <indexterm zone="pulseaudio esdcompat">
230 <primary sortas="b-esdcompat">esdcompat</primary>
231 </indexterm>
232 </listitem>
233 </varlistentry>
234
235 <varlistentry id="pacat">
236 <term><command>pacat</command></term>
237 <listitem>
238 <para>
239 Plays back or records raw or encoded audio streams on a
240 <application>PulseAudio</application> sound server.
241 </para>
242 <indexterm zone="pulseaudio pacat">
243 <primary sortas="b-pacat">pacat</primary>
244 </indexterm>
245 </listitem>
246 </varlistentry>
247
248 <varlistentry id="pacmd">
249 <term><command>pacmd</command></term>
250 <listitem>
251 <para>
252 is a tool used to reconfigure a <application>PulseAudio</application>
253 sound server during runtime.
254 </para>
255 <indexterm zone="pulseaudio pacmd">
256 <primary sortas="b-pacmd">pacmd</primary>
257 </indexterm>
258 </listitem>
259 </varlistentry>
260
261 <varlistentry id="pactl">
262 <term><command>pactl</command></term>
263 <listitem>
264 <para>
265 is used to control a running <application>PulseAudio</application>
266 sound server.
267 </para>
268 <indexterm zone="pulseaudio pactl">
269 <primary sortas="b-pactl">pactl</primary>
270 </indexterm>
271 </listitem>
272 </varlistentry>
273
274 <varlistentry id="padsp">
275 <term><command>padsp</command></term>
276 <listitem>
277 <para>
278 is the <application>PulseAudio</application> OSS Wrapper.
279 </para>
280 <indexterm zone="pulseaudio padsp">
281 <primary sortas="b-padsp">padsp</primary>
282 </indexterm>
283 </listitem>
284 </varlistentry>
285
286 <varlistentry id="pamon">
287 <term><command>pamon</command></term>
288 <listitem>
289 <para>
290 is a symbolic link to <command>pacat</command>.
291 </para>
292 <indexterm zone="pulseaudio pamon">
293 <primary sortas="b-pamon">pamon</primary>
294 </indexterm>
295 </listitem>
296 </varlistentry>
297
298 <varlistentry id="paplay">
299 <term><command>paplay</command></term>
300 <listitem>
301 <para>
302 is used to play audio files on a
303 <application>PulseAudio</application> sound server.
304 </para>
305 <indexterm zone="pulseaudio paplay">
306 <primary sortas="b-paplay">paplay</primary>
307 </indexterm>
308 </listitem>
309 </varlistentry>
310
311 <varlistentry id="parec">
312 <term><command>parec</command></term>
313 <listitem>
314 <para>
315 is a symbolic link to <command>pacat</command>.
316 </para>
317 <indexterm zone="pulseaudio parec">
318 <primary sortas="b-parec">parec</primary>
319 </indexterm>
320 </listitem>
321 </varlistentry>
322
323 <varlistentry id="parecord">
324 <term><command>parecord</command></term>
325 <listitem>
326 <para>
327 is a symbolic link to <command>pacat</command>.
328 </para>
329 <indexterm zone="pulseaudio parecord">
330 <primary sortas="b-parecord">parecord</primary>
331 </indexterm>
332 </listitem>
333 </varlistentry>
334
335 <varlistentry id="pasuspender">
336 <term><command>pasuspender</command></term>
337 <listitem>
338 <para>
339 is a tool that can be used to tell a local
340 <application>PulseAudio</application> sound server to temporarily
341 suspend access to the audio devices, to allow other applications
342 to access them directly.
343 </para>
344 <indexterm zone="pulseaudio pasuspender">
345 <primary sortas="b-pasuspender">pasuspender</primary>
346 </indexterm>
347 </listitem>
348 </varlistentry>
349
350 <varlistentry id="pax11publish">
351 <term><command>pax11publish</command></term>
352 <listitem>
353 <para>
354 is the <application>PulseAudio</application>
355 X11 Credential Utility.
356 </para>
357 <indexterm zone="pulseaudio pax11publish">
358 <primary sortas="b-pax11publish">pax11publish</primary>
359 </indexterm>
360 </listitem>
361 </varlistentry>
362
363 <varlistentry id="pulseaudio-prog">
364 <term><command>pulseaudio</command></term>
365 <listitem>
366 <para>
367 is a networked low-latency sound server for Linux.
368 </para>
369 <indexterm zone="pulseaudio pulseaudio-prog">
370 <primary sortas="b-pulseaudio">pulseaudio</primary>
371 </indexterm>
372 </listitem>
373 </varlistentry>
374
375 <varlistentry id="qpaeq">
376 <term><command>qpaeq</command></term>
377 <listitem>
378 <para>
379 is an equalizer interface for
380 <application>PulseAudio</application> equalizer sinks.
381 </para>
382 <indexterm zone="pulseaudio qpaeq">
383 <primary sortas="b-qpaeq">qpaeq</primary>
384 </indexterm>
385 </listitem>
386 </varlistentry>
387
388 <varlistentry id="start-pulseaudio-kde">
389 <term><command>start-pulseaudio-kde</command></term>
390 <listitem>
391 <para>
392 Starts <application>PulseAudio</application> and loads
393 module-device-manager to use KDE routing policies.
394 </para>
395 <indexterm zone="pulseaudio start-pulseaudio-kde">
396 <primary sortas="b-start-pulseaudio-kde">start-pulseaudio-kde</primary>
397 </indexterm>
398 </listitem>
399 </varlistentry>
400
401 <varlistentry id="start-pulseaudio-x11">
402 <term><command>start-pulseaudio-x11</command></term>
403 <listitem>
404 <para>
405 Starts <application>PulseAudio</application> and registers it to
406 the X11 session manager.
407 </para>
408 <indexterm zone="pulseaudio start-pulseaudio-x11">
409 <primary sortas="b-start-pulseaudio-x11">start-pulseaudio-x11</primary>
410 </indexterm>
411 </listitem>
412 </varlistentry>
413
414 </variablelist>
415
416 </sect2>
417
418</sect1>
Note: See TracBrowser for help on using the repository browser.