source: multimedia/libdriv/pulseaudio.xml@ 6c3a7cc

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

Reordered xfce core packages.
Added dbus instructions to xfce4-session.

Added a pulse user to pulseaudio instructions
for dbus communications.

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

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