%general-entities; ]> $LastChangedBy$ $Date$ PulseAudio-&pulseaudio-version; PulseAudio 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. &lfs81_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &pulseaudio-md5sum; Download size: &pulseaudio-size; Estimated disk space required: &pulseaudio-buildsize; Estimated build time: &pulseaudio-time; Additional Downloads Required patch if using glibc-2.27: PulseAudio Dependencies Required Recommended , , , , and Optional , , (runtime), , , , , (Bluetooth support), , JACK, libasyncns, LIRC, ORC, TDB, WebRTC AudioProcessing and XEN User Notes: Installation of PulseAudio Install PulseAudio by running the following commands: patch -Np1 -i ../pulseaudio-&pulseaudio-version;-glibc_2.27_fix-1.patch && AUTOPOINT='intltoolize --automake --copy' autoreconf -fiv && ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-bluez4 \ --disable-bluez5 \ --disable-rpath && make To test the results, issue: make check. Now, as the root user: make install While still as the root user, remove the D-Bus configuration file for the system wide daemon to avoid creating unnecessary system users and groups: rm -fv /etc/dbus-1/system.d/pulseaudio-system.conf Command Explanations patch -Np1 -i ...: This patch fixes a name conflict with glibc-2.27. It is usable with previous versions of glibc. AUTOPOINT='intltoolize ...: autoreconf needs ot be run after applying the patch. Running intltoolize instead of autopoint prevents an error when running configure afterwards. --disable-bluez4: This switch disables support for BlueZ version 4 in favour of BlueZ version 5 since the latter also installs compatibility library for the earlier version. --disable-bluez5: This switch prevents a runtime error if and are both installed but is not installed. Remove this if you have installed all three packages. --disable-rpath: This switch prevents linker from adding a hardcoded runtime path to the installed programs and libraries. Configuring PulseAudio Config Files There are system wide configuration files: /etc/pulse/daemon.conf, /etc/pulse/client.conf, /etc/pulse/default.pa, and user configuration files with the same names in ~/.config/pulse. User configuration files take precedence over system wide ones. ~/.config/pulse /etc/pulse/daemon.conf /etc/pulse/client.conf /etc/pulse/default.pa Configuration Information The default configuration files allow setting up a working installation. However, a reference to Console-Kit needs to be removed if it is not installed. For example, issue the following command as the root user: sed -i '/load-module module-console-kit/s/^/#/' /etc/pulse/default.pa You may also have to configure the audio system. You can start pulseaudio in command line mode using pulseaudio -C and then list various information and change settings. See man pulse-cli-syntax. If pulseaudio was working but you no-longer have sound, after checking for hardware issues (speakers or headphones not connected, external amplifier not connected) you may need to fix it. One suggestion is to close the application, such as firefox where sound has stopped working, then run: pactl list short sinks followed by: pacmd set-default-sink <sink #> and then restart the application. If that does not work, a more drastic approach often works. After closing the application, close pulseaudio, either using pulseaudio --kill or, if that fails, killall -KILL pulseaudio and then rm -rf ~/.config/pulse/* (and perhaps also rm -rf ~/.pulse/* if you have used a very old version of pulse on this machine, then run pulseaudio --verbose to restart it. If the daemon starts, restart the application. See man pulseaudio for more options. Contents Installed Programs Installed Libraries Installed Directories esdcompat, pacat, pacmd, pactl, padsp, pamon (symlink to pacat), paplay (symlink to pacat), parec (symlink to pacat), parecord (symlink to pacat), pasuspender, pax11publish, pulseaudio, and start-pulseaudio-x11 libpulse.so libpulse-mainloop-glib.so, libpulse-simple.so, libpulsecommon-&pulseaudio-major-version;.so, libpulsecore-&pulseaudio-major-version;.so, and libpulsedsp.so /etc/pulse, /usr/include/pulse, /usr/lib/cmake/PulseAudio, /usr/lib/{pulseaudio,pulse-&pulseaudio-major-version;}, /usr/libexec/pulse, and /usr/share/pulseaudio Short Descriptions esdcompat is the PulseAudio ESD wrapper script. esdcompat pacat plays back or records raw or encoded audio streams on a PulseAudio sound server. pacat pacmd is a tool used to reconfigure a PulseAudio sound server during runtime. pacmd pactl is used to control a running PulseAudio sound server. pactl padsp is the PulseAudio OSS Wrapper. padsp pamon is a symbolic link to pacat. pamon paplay is used to play audio files on a PulseAudio sound server. paplay parec is a symbolic link to pacat. parec parecord is a symbolic link to pacat. parecord 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. pasuspender pax11publish is the PulseAudio X11 Credential Utility. pax11publish pulseaudio is a networked low-latency sound server for Linux. pulseaudio start-pulseaudio-x11 starts PulseAudio and registers it to the X11 session manager. start-pulseaudio-x11