PulseAudio-4.0
Introduction to PulseAudio
PulseAudio is a sound system for
POSIX OSes, meaning that it is a proxy for sound applications. It
allows you to do advanced operations on your sound data as it
passes between your application and your hardware. Things like
transferring the audio to a different machine, changing the sample
format or channel count and mixing several sounds into one are
easily achieved using a sound server.
This package is known to build and work properly using an LFS-7.4
platform.
Package Information
PulseAudio Dependencies
Required
Intltool-0.50.2, JSON-C-0.11,
libsndfile-1.0.25 and pkg-config-0.28
Recommended
alsa-lib-1.0.27.2, D-Bus-1.6.14,
libcap2-2.22, OpenSSL-1.0.1e, Speex-1.2rc1 and Xorg
Libraries
Optional (Required if building GNOME)
GConf-3.2.6, GLib-2.36.4 and
GTK+-2.24.20
Optional
Avahi-0.6.31, BlueZ-4.101 and
SBC-1.1, Check-0.9.10, FFTW, JACK, libasyncns,
libsamplerate-0.1.8, LIRC, ORC, TDB, Valgrind,
WebRTC AudioProcessing and XEN
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/pulseaudio
Installation of PulseAudio
In order for PulseAudio to
communicate properly with D-BUS, create a unique user. As the
root
user, run:
groupadd -g 58 pulse &&
groupadd -g 59 pulse-access &&
useradd -c "Pulseaudio User" -d /var/run/pulse -g pulse \
-s /bin/false -u 58 pulse &&
usermod -a -G audio pulse
Install PulseAudio by running the
following commands:
find . -name "Makefile.in" | xargs sed -i "s|(libdir)/@PACKAGE@|(libdir)/pulse|" &&
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--libexecdir=/usr/lib \
--with-module-dir=/usr/lib/pulse/modules &&
make
To test the results, issue: make
check.
Now, as the root
user:
make install
Command Explanations
find . -name Makefile.in
...: This sed changes the build system to install
PulseAudio private libraries into
/usr/lib/pulse
instead of
/usr/lib/pulseaudio
.
--with-module-dir=/usr/lib/pulse/modules
:
This parameter ensures that PulseAudio modules are installed in
/usr/lib/pulse/modules
instead of
/usr/lib/pulse-4.0/modules
.
Contents
Installed Programs:
esdcompat, pacat, pacmd, pactl, padsp,
pamon, paplay, parec, parecord, pasuspender, pax11publish,
pulseaudio, qpaeq, start-pulseaudio-kde and
start-pulseaudio-x11
Installed Libraries:
libpulsecore-4.0.so,
libpulse-mainloop-glib.so, libpulse-simple.so and
libpulse.so
Installed Directories:
/etc/pulse, /usr/include/pulse,
/usr/lib/cmake/PulseAudio, /usr/lib/pulse and
/usr/share/pulseaudio
Short Descriptions
esdcompat
|
is the PulseAudio ESD
wrapper script.
|
pacat
|
Plays back or records raw or encoded audio streams on a
PulseAudio sound server.
|
pacmd
|
is a tool used to reconfigure a PulseAudio sound server during
runtime.
|
pactl
|
is used to control a running PulseAudio sound server.
|
padsp
|
is the PulseAudio OSS
Wrapper.
|
pamon
|
is a symbolic link to pacat.
|
paplay
|
is used to play audio files on a PulseAudio sound server.
|
parec
|
is a symbolic link to pacat.
|
parecord
|
is a symbolic link to pacat.
|
pasuspender
|
is a tool that can be used to tell a local PulseAudio sound server to
temporarily suspend access to the audio devices, to allow
other applications to access them directly.
|
pax11publish
|
is the PulseAudio X11
Credential Utility.
|
pulseaudio
|
is a networked low-latency sound server for Linux.
|
qpaeq
|
is an equalizer interface for PulseAudio equalizer sinks.
|
start-pulseaudio-kde
|
Starts PulseAudio and
loads module-device-manager to use KDE routing policies.
|
start-pulseaudio-x11
|
Starts PulseAudio and
registers it to the X11 session manager.
|
Last updated on 2013-08-20 18:40:33 -0700