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 "c43749838612f4860465e83ed62ca38e">
|
---|
11 | <!ENTITY pulseaudio-size "1.4 MB">
|
---|
12 | <!ENTITY pulseaudio-buildsize "82 MB">
|
---|
13 | <!ENTITY pulseaudio-time "1.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 | &lfs76_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="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="dbus"/>,
|
---|
90 | <xref linkend="glib2"/>,
|
---|
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"/> (runtime),
|
---|
100 | <xref linkend="check"/>,
|
---|
101 | <xref linkend="GConf"/>,
|
---|
102 | <xref linkend="gtk3"/>,
|
---|
103 | <xref linkend="libsamplerate"/>,
|
---|
104 | <xref linkend="sbc"/> (Bluetooth support),
|
---|
105 | <xref linkend="valgrind"/>,
|
---|
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 | <ulink url="&fedora-http-repo;/libasyncns/">libasyncns</ulink>,
|
---|
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://freedesktop.org/software/pulseaudio/webrtc-audio-processing/">
|
---|
114 | WebRTC AudioProcessing</ulink> and
|
---|
115 | <ulink url="http://www.xen.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>find . -name "Makefile.in" | xargs sed -i "s|(libdir)/@PACKAGE@|(libdir)/pulse|" &&
|
---|
132 | ./configure --prefix=/usr \
|
---|
133 | --sysconfdir=/etc \
|
---|
134 | --localstatedir=/var \
|
---|
135 | --disable-bluez4 \
|
---|
136 | --disable-rpath \
|
---|
137 | --with-module-dir=/usr/lib/pulse/modules &&
|
---|
138 | make</userinput></screen>
|
---|
139 |
|
---|
140 | <para>
|
---|
141 | To test the results, issue: <command>make check</command>.
|
---|
142 | </para>
|
---|
143 |
|
---|
144 | <para>
|
---|
145 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
146 | </para>
|
---|
147 |
|
---|
148 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
149 |
|
---|
150 | <!-- http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/SystemWide/ -->
|
---|
151 | <para>
|
---|
152 | While still as the <systemitem class="username">root</systemitem>
|
---|
153 | user, remove the <application>D-Bus</application> configuration file
|
---|
154 | for the system wide daemon to avoid creating unnecessary system
|
---|
155 | users and groups:
|
---|
156 | </para>
|
---|
157 |
|
---|
158 | <screen role="root"><userinput>rm -fv /etc/dbus-1/system.d/pulseaudio-system.conf</userinput></screen>
|
---|
159 |
|
---|
160 | </sect2>
|
---|
161 |
|
---|
162 | <sect2 role="commands">
|
---|
163 | <title>Command Explanations</title>
|
---|
164 |
|
---|
165 | <para>
|
---|
166 | <command>find . -name Makefile.in ...</command>: This sed changes
|
---|
167 | the build system to install <application>PulseAudio</application>
|
---|
168 | private libraries into
|
---|
169 | <filename class="directory">/usr/lib/pulse</filename> instead of
|
---|
170 | <filename class="directory">/usr/lib/pulseaudio</filename>.
|
---|
171 | </para>
|
---|
172 |
|
---|
173 | <para>
|
---|
174 | <parameter>--disable-bluez4</parameter>: This switch disables
|
---|
175 | support for <application>BlueZ</application> version 4 in favour
|
---|
176 | of <application>BlueZ</application> version 5 since the latter
|
---|
177 | also installs compatibility library for the earlier version.
|
---|
178 | </para>
|
---|
179 |
|
---|
180 | <para>
|
---|
181 | <parameter>--disable-rpath</parameter>: This switch prevents
|
---|
182 | linker from adding a hardcoded runtime path to the installed
|
---|
183 | programs and libraries.
|
---|
184 | </para>
|
---|
185 |
|
---|
186 | <para>
|
---|
187 | <parameter>--with-module-dir=/usr/lib/pulse/modules</parameter>:
|
---|
188 | This parameter ensures that <application>PulseAudio</application>
|
---|
189 | modules are installed in <filename class="directory">/usr/lib/pulse/modules
|
---|
190 | </filename> instead of <filename class="directory">
|
---|
191 | /usr/lib/pulse-&pulseaudio-major-version;/modules</filename>.
|
---|
192 | </para>
|
---|
193 |
|
---|
194 | </sect2>
|
---|
195 |
|
---|
196 | <sect2 role="content">
|
---|
197 | <title>Contents</title>
|
---|
198 |
|
---|
199 | <segmentedlist>
|
---|
200 | <segtitle>Installed Programs</segtitle>
|
---|
201 | <segtitle>Installed Libraries</segtitle>
|
---|
202 | <segtitle>Installed Directories</segtitle>
|
---|
203 |
|
---|
204 | <seglistitem>
|
---|
205 | <seg>
|
---|
206 | esdcompat, pacat, pacmd, pactl, padsp, pamon (symlink),
|
---|
207 | paplay (symlink), parec (symlink), parecord (symlink), pasuspender,
|
---|
208 | pax11publish, pulseaudio, qpaeq,
|
---|
209 | start-pulseaudio-kde and start-pulseaudio-x11
|
---|
210 | </seg>
|
---|
211 | <seg>
|
---|
212 | libpulsecore-&pulseaudio-major-version;.so, libpulse-mainloop-glib.so,
|
---|
213 | libpulse-simple.so and libpulse.so
|
---|
214 | </seg>
|
---|
215 | <seg>
|
---|
216 | /etc/pulse,
|
---|
217 | /usr/include/pulse,
|
---|
218 | /usr/lib/cmake/PulseAudio,
|
---|
219 | /usr/lib/pulse,
|
---|
220 | /usr/libexec/pulse and
|
---|
221 | /usr/share/pulseaudio
|
---|
222 | </seg>
|
---|
223 | </seglistitem>
|
---|
224 | </segmentedlist>
|
---|
225 |
|
---|
226 | <variablelist>
|
---|
227 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
228 | <?dbfo list-presentation="list"?>
|
---|
229 | <?dbhtml list-presentation="table"?>
|
---|
230 |
|
---|
231 | <varlistentry id="esdcompat">
|
---|
232 | <term><command>esdcompat</command></term>
|
---|
233 | <listitem>
|
---|
234 | <para>
|
---|
235 | is the <application>PulseAudio</application> ESD wrapper script.
|
---|
236 | </para>
|
---|
237 | <indexterm zone="pulseaudio esdcompat">
|
---|
238 | <primary sortas="b-esdcompat">esdcompat</primary>
|
---|
239 | </indexterm>
|
---|
240 | </listitem>
|
---|
241 | </varlistentry>
|
---|
242 |
|
---|
243 | <varlistentry id="pacat">
|
---|
244 | <term><command>pacat</command></term>
|
---|
245 | <listitem>
|
---|
246 | <para>
|
---|
247 | Plays back or records raw or encoded audio streams on a
|
---|
248 | <application>PulseAudio</application> sound server.
|
---|
249 | </para>
|
---|
250 | <indexterm zone="pulseaudio pacat">
|
---|
251 | <primary sortas="b-pacat">pacat</primary>
|
---|
252 | </indexterm>
|
---|
253 | </listitem>
|
---|
254 | </varlistentry>
|
---|
255 |
|
---|
256 | <varlistentry id="pacmd">
|
---|
257 | <term><command>pacmd</command></term>
|
---|
258 | <listitem>
|
---|
259 | <para>
|
---|
260 | is a tool used to reconfigure a <application>PulseAudio</application>
|
---|
261 | sound server during runtime.
|
---|
262 | </para>
|
---|
263 | <indexterm zone="pulseaudio pacmd">
|
---|
264 | <primary sortas="b-pacmd">pacmd</primary>
|
---|
265 | </indexterm>
|
---|
266 | </listitem>
|
---|
267 | </varlistentry>
|
---|
268 |
|
---|
269 | <varlistentry id="pactl">
|
---|
270 | <term><command>pactl</command></term>
|
---|
271 | <listitem>
|
---|
272 | <para>
|
---|
273 | is used to control a running <application>PulseAudio</application>
|
---|
274 | sound server.
|
---|
275 | </para>
|
---|
276 | <indexterm zone="pulseaudio pactl">
|
---|
277 | <primary sortas="b-pactl">pactl</primary>
|
---|
278 | </indexterm>
|
---|
279 | </listitem>
|
---|
280 | </varlistentry>
|
---|
281 |
|
---|
282 | <varlistentry id="padsp">
|
---|
283 | <term><command>padsp</command></term>
|
---|
284 | <listitem>
|
---|
285 | <para>
|
---|
286 | is the <application>PulseAudio</application> OSS Wrapper.
|
---|
287 | </para>
|
---|
288 | <indexterm zone="pulseaudio padsp">
|
---|
289 | <primary sortas="b-padsp">padsp</primary>
|
---|
290 | </indexterm>
|
---|
291 | </listitem>
|
---|
292 | </varlistentry>
|
---|
293 |
|
---|
294 | <varlistentry id="pamon">
|
---|
295 | <term><command>pamon</command></term>
|
---|
296 | <listitem>
|
---|
297 | <para>
|
---|
298 | is a symbolic link to <command>pacat</command>.
|
---|
299 | </para>
|
---|
300 | <indexterm zone="pulseaudio pamon">
|
---|
301 | <primary sortas="b-pamon">pamon</primary>
|
---|
302 | </indexterm>
|
---|
303 | </listitem>
|
---|
304 | </varlistentry>
|
---|
305 |
|
---|
306 | <varlistentry id="paplay">
|
---|
307 | <term><command>paplay</command></term>
|
---|
308 | <listitem>
|
---|
309 | <para>
|
---|
310 | is used to play audio files on a
|
---|
311 | <application>PulseAudio</application> sound server.
|
---|
312 | </para>
|
---|
313 | <indexterm zone="pulseaudio paplay">
|
---|
314 | <primary sortas="b-paplay">paplay</primary>
|
---|
315 | </indexterm>
|
---|
316 | </listitem>
|
---|
317 | </varlistentry>
|
---|
318 |
|
---|
319 | <varlistentry id="parec">
|
---|
320 | <term><command>parec</command></term>
|
---|
321 | <listitem>
|
---|
322 | <para>
|
---|
323 | is a symbolic link to <command>pacat</command>.
|
---|
324 | </para>
|
---|
325 | <indexterm zone="pulseaudio parec">
|
---|
326 | <primary sortas="b-parec">parec</primary>
|
---|
327 | </indexterm>
|
---|
328 | </listitem>
|
---|
329 | </varlistentry>
|
---|
330 |
|
---|
331 | <varlistentry id="parecord">
|
---|
332 | <term><command>parecord</command></term>
|
---|
333 | <listitem>
|
---|
334 | <para>
|
---|
335 | is a symbolic link to <command>pacat</command>.
|
---|
336 | </para>
|
---|
337 | <indexterm zone="pulseaudio parecord">
|
---|
338 | <primary sortas="b-parecord">parecord</primary>
|
---|
339 | </indexterm>
|
---|
340 | </listitem>
|
---|
341 | </varlistentry>
|
---|
342 |
|
---|
343 | <varlistentry id="pasuspender">
|
---|
344 | <term><command>pasuspender</command></term>
|
---|
345 | <listitem>
|
---|
346 | <para>
|
---|
347 | is a tool that can be used to tell a local
|
---|
348 | <application>PulseAudio</application> sound server to temporarily
|
---|
349 | suspend access to the audio devices, to allow other applications
|
---|
350 | to access them directly.
|
---|
351 | </para>
|
---|
352 | <indexterm zone="pulseaudio pasuspender">
|
---|
353 | <primary sortas="b-pasuspender">pasuspender</primary>
|
---|
354 | </indexterm>
|
---|
355 | </listitem>
|
---|
356 | </varlistentry>
|
---|
357 |
|
---|
358 | <varlistentry id="pax11publish">
|
---|
359 | <term><command>pax11publish</command></term>
|
---|
360 | <listitem>
|
---|
361 | <para>
|
---|
362 | is the <application>PulseAudio</application>
|
---|
363 | X11 Credential Utility.
|
---|
364 | </para>
|
---|
365 | <indexterm zone="pulseaudio pax11publish">
|
---|
366 | <primary sortas="b-pax11publish">pax11publish</primary>
|
---|
367 | </indexterm>
|
---|
368 | </listitem>
|
---|
369 | </varlistentry>
|
---|
370 |
|
---|
371 | <varlistentry id="pulseaudio-prog">
|
---|
372 | <term><command>pulseaudio</command></term>
|
---|
373 | <listitem>
|
---|
374 | <para>
|
---|
375 | is a networked low-latency sound server for Linux.
|
---|
376 | </para>
|
---|
377 | <indexterm zone="pulseaudio pulseaudio-prog">
|
---|
378 | <primary sortas="b-pulseaudio">pulseaudio</primary>
|
---|
379 | </indexterm>
|
---|
380 | </listitem>
|
---|
381 | </varlistentry>
|
---|
382 |
|
---|
383 | <varlistentry id="qpaeq">
|
---|
384 | <term><command>qpaeq</command></term>
|
---|
385 | <listitem>
|
---|
386 | <para>
|
---|
387 | is an equalizer interface for
|
---|
388 | <application>PulseAudio</application> equalizer sinks.
|
---|
389 | </para>
|
---|
390 | <indexterm zone="pulseaudio qpaeq">
|
---|
391 | <primary sortas="b-qpaeq">qpaeq</primary>
|
---|
392 | </indexterm>
|
---|
393 | </listitem>
|
---|
394 | </varlistentry>
|
---|
395 |
|
---|
396 | <varlistentry id="start-pulseaudio-kde">
|
---|
397 | <term><command>start-pulseaudio-kde</command></term>
|
---|
398 | <listitem>
|
---|
399 | <para>
|
---|
400 | Starts <application>PulseAudio</application> and loads
|
---|
401 | module-device-manager to use KDE routing policies.
|
---|
402 | </para>
|
---|
403 | <indexterm zone="pulseaudio start-pulseaudio-kde">
|
---|
404 | <primary sortas="b-start-pulseaudio-kde">start-pulseaudio-kde</primary>
|
---|
405 | </indexterm>
|
---|
406 | </listitem>
|
---|
407 | </varlistentry>
|
---|
408 |
|
---|
409 | <varlistentry id="start-pulseaudio-x11">
|
---|
410 | <term><command>start-pulseaudio-x11</command></term>
|
---|
411 | <listitem>
|
---|
412 | <para>
|
---|
413 | Starts <application>PulseAudio</application> and registers it to
|
---|
414 | the X11 session manager.
|
---|
415 | </para>
|
---|
416 | <indexterm zone="pulseaudio start-pulseaudio-x11">
|
---|
417 | <primary sortas="b-start-pulseaudio-x11">start-pulseaudio-x11</primary>
|
---|
418 | </indexterm>
|
---|
419 | </listitem>
|
---|
420 | </varlistentry>
|
---|
421 |
|
---|
422 | </variablelist>
|
---|
423 |
|
---|
424 | </sect2>
|
---|
425 |
|
---|
426 | </sect1>
|
---|