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