PulseAudio is a networked sound server, similar in theory to the Enlightened Sound Daemon (EsounD). PulseAudio is however much more advanced and has numerous features.
A sound server can serve many functions:
- Software mixing of multiple audio streams, bypassing any restrictions the hardware has.
- Network transparency, allowing an application to play back or record audio on a different machine than the one it is running on.
- Sound API abstraction, alleviating the need for multiple backends in applications to handle the wide diversity of sound systems out there.
- Generic hardware abstraction, giving the possibility of doing things like individual volumes per application. PulseAudio comes with many plugin modules. All audio from/to clients and audio interfaces goes through modules.
Manuel Amador created a diagram describing how the different parts of PulseAudio play together. (Not all modules are shown.) Another, simpler architecture diagram is attached to this page (scroll to the bottom).
PulseAudio clients can send audio to "sinks" and receive audio from "sources". A client can be GStreamer, xinelib, MPlayer or any other audio application. Only the device drivers/audio interfaces can be either sources or sinks (they are often hardware in- and out-puts).
The PulseAudio daemon and utilities are still under development, but are generally considered stable. API, ABI and the protocol are considered release worthy so effort is spent to not break these. Application developers should not feel uneasy using the client library at this point.
- Licensed under LGPL 2.1+ (might effectively be downgraded to GPL if you link against libsamplerate -- which his optional however)
- Extensible plugin architecture (by loading dynamic loadable modules with dlopen())
- Support for static linking of modules, allowing a single binary for all your needs
- Module autoloading
- Support for more than one sink/source
- Good low latency behaviour
- Very accurate latency measurement for playback and recording.
- Client side latency interpolation
- Embeddable into other software (the core is available as C library)
- Completely asynchronous C API, complemented by two synchronous variants for simple use in synchronous applications
- Simple command line interface for reconfiguring the daemon while running
- Flexible, implicit sample type conversion and resampling
- "Zero-Copy" architecture
- May be used to combine multiple sound cards to one (with sample rate adjustment)
- Ability to fully synchronize multiple playback streams
- Various network audio streaming options PulseAudio is intended to provide lower latency than the software mixers dmix and esd.
Supported Operating Systems
The following auxiliary GUI tools have been developed for PulseAudio:
- PulseAudio Volume Control
PulseAudio Preferences The following obsolete or out-of-date UI tools have been Developed for PulseAudio as well:
- PulseAudio Volume Meter
PulseAudio Device Chooser The following plugins for third-party software have been developed:
- libao-pulse - PulseAudio plugin for libao
gst-pulse - PulseAudio plugin for GStreamer in gst-plugins-good The following third-party software also has support for PulseAudio:
- LiVES versions 1.1.3 and higher.
- MPD (supported in svn as of revision 4316)
- MPlayer (with this patch)
- xine versions 1.1.3 and greater.
- VLC media player and LibVLC from version 0.9.0 (version 1.1.12 or more is recommended)
Pulse Whole Home Audio - A no frills multi-room/zone audio server that uses pulse to do all the heavy audio lifting. You can find details and the code on the project's gitorious wiki.
Since PulseAudio is a daemon process that sits in the background it's difficult to make a screenshot of it. However we can provide you with a screenshot of the auxiliary tools mentioned above:
(For the full size image follow this link.)
PulseAudio is currently available in the following distributions:
- ALT Linux Sisyphus; for more information, see ALT Linux Sisyphus and PulseAudio (in Russian, only)
- ArchLinux - has a nice Wiki page
- Ubuntu (Enabled by default starting from Ubuntu 8.04.)
- Fedora (Enabled by default starting from Core 8)
- Gentoo (Wiki)
- T2 SDE Linux
- Lunar Linux
- Mandriva (Enabled by default in Mandriva 2008.1)
- Pardus (Enabled by default since Pardus 2008.)