All Topics  
PulseAudio

 

   Email Print
   Bookmark   Link






 

PulseAudio



 
 
PulseAudio (formerly PolypAudio) is a cross-platform
Cross-platform

In computing, cross-platform is a term used to refer to computer software or computing methods and concepts that are implemented and inter-operate on multiple computer platforms....
, networked sound server
Sound server

A sound server is software that manages the use of and access to sound reproduction devices, most notably, the soundcard. It usually runs as a background process....
 project. It is intended to be an improved drop-in replacement for the Enlightened Sound Daemon
Enlightened Sound Daemon

In computing, the Enlightened Sound Daemon is the sound server for Enlightenment and GNOME.ESD will mix together the simultaneous audio output of multiple running programs, and output the resulting stream to the sound card....
 (ESD).

PulseAudio runs under Microsoft Windows
Microsoft Windows

Microsoft Windows is a series of software operating systems and graphical user interfaces produced by Microsoft. Microsoft first introduced an operating environment named Windows in November 1985 as an add-on to MS-DOS in response to the growing interest in graphical user interfaces ....
 and POSIX
POSIX

POSIX or "Portable Operating System Interface" is the collective name of a family of related standardizations specified by the Institute of Electrical and Electronics Engineers to define the application programming interface , along with shell and utilities interfaces for software compatible with variants of the Unix operating system, altho...
-compliant systems like Linux
Linux

Linux is a generic term referring to Unix-like computer operating systems based on the Linux kernel. Their development is one of the most prominent examples of free and open source software collaboration; typically all the underlying source code can be used, freely modified, and redistributed by anyone under the terms of the GNU GPL license...
. Released under the terms of the GNU Lesser General Public License
GNU Lesser General Public License

The GNU Lesser General Public License or LGPL is a free software license published by the Free Software Foundation . It was designed as a compromise between the strong-copyleft GNU General Public License and permissive licenses such as the BSD licenses and the MIT License....
 (for the software library portion) and the GNU General Public License
GNU General Public License

The GNU General Public License is a widely used free software license, originally written by Richard Stallman for the GNU project. The GPL is the most popular and well-known example of the type of strong copyleft license that requires derived works to be available under the same copyleft....
 (for the sound server itself), PulseAudio is free software
Free software

Free Software or software libre is software that can be used, studied, and modified without restriction, and which can be copied and redistributed in modified or unmodified form either without restriction, or with minimal restrictions only to ensure that further recipients can also do these things and to prevent consumer-facing hardware...
.

Operation
PulseAudio is a sound server, a background process accepting sound input from one or more sources (processes or capture devices) and redirecting it to one or more sinks (sound cards, remote network PulseAudio servers, or other processes).

One of the goals of PulseAudio is to reroute all sound streams through it, including those from processes that attempt to directly access the hardware (like legacy OSS
Open Sound System

The Open Sound System is a standard interface for making and capturing sound in Unix operating systems. It is based on standard Unix devices ....
 applications).






Discussion
Ask a question about 'PulseAudio'
Start a new discussion about 'PulseAudio'
Answer questions from other users
Full Discussion Forum



Encyclopedia


PulseAudio (formerly PolypAudio) is a cross-platform
Cross-platform

In computing, cross-platform is a term used to refer to computer software or computing methods and concepts that are implemented and inter-operate on multiple computer platforms....
, networked sound server
Sound server

A sound server is software that manages the use of and access to sound reproduction devices, most notably, the soundcard. It usually runs as a background process....
 project. It is intended to be an improved drop-in replacement for the Enlightened Sound Daemon
Enlightened Sound Daemon

In computing, the Enlightened Sound Daemon is the sound server for Enlightenment and GNOME.ESD will mix together the simultaneous audio output of multiple running programs, and output the resulting stream to the sound card....
 (ESD).

PulseAudio runs under Microsoft Windows
Microsoft Windows

Microsoft Windows is a series of software operating systems and graphical user interfaces produced by Microsoft. Microsoft first introduced an operating environment named Windows in November 1985 as an add-on to MS-DOS in response to the growing interest in graphical user interfaces ....
 and POSIX
POSIX

POSIX or "Portable Operating System Interface" is the collective name of a family of related standardizations specified by the Institute of Electrical and Electronics Engineers to define the application programming interface , along with shell and utilities interfaces for software compatible with variants of the Unix operating system, altho...
-compliant systems like Linux
Linux

Linux is a generic term referring to Unix-like computer operating systems based on the Linux kernel. Their development is one of the most prominent examples of free and open source software collaboration; typically all the underlying source code can be used, freely modified, and redistributed by anyone under the terms of the GNU GPL license...
. Released under the terms of the GNU Lesser General Public License
GNU Lesser General Public License

The GNU Lesser General Public License or LGPL is a free software license published by the Free Software Foundation . It was designed as a compromise between the strong-copyleft GNU General Public License and permissive licenses such as the BSD licenses and the MIT License....
 (for the software library portion) and the GNU General Public License
GNU General Public License

The GNU General Public License is a widely used free software license, originally written by Richard Stallman for the GNU project. The GPL is the most popular and well-known example of the type of strong copyleft license that requires derived works to be available under the same copyleft....
 (for the sound server itself), PulseAudio is free software
Free software

Free Software or software libre is software that can be used, studied, and modified without restriction, and which can be copied and redistributed in modified or unmodified form either without restriction, or with minimal restrictions only to ensure that further recipients can also do these things and to prevent consumer-facing hardware...
.

Features


The main PulseAudio features include:

  • Per-application volume controls
  • An extensible plugin architecture with support for loadable modules
  • Compatibility with many popular audio applications
  • Support for multiple audio sources and sinks
  • Low-latency
    Latency (audio)

    Latency refers to a short period of delay required for the Analog-to-digital converter representations of the sound data. Devices such as computers can only process digital data....
     operation and support for latency measurement
  • A zero-copy
    Zero-copy

    "Zero-copy" describes computer operations in which the Central processing unit does not perform the task of copying data from one RAM area to another....
     memory architecture for processor resource efficiency
  • Ability to discover other computers using PulseAudio on the local network and play sound through their speakers directly
  • Ability to change which output device an application plays sound through while the application is playing sound (without the application needing to support this, and indeed without even being aware that this happened)
  • A command-line interface with scripting capabilities
  • A sound daemon with command line reconfiguration capabilities
  • Built-in sample conversion and resampling capabilities
  • The ability to combine multiple sound card
    Sound card

    A sound card is a computer expansion card that facilitates the input and output of sound to/from a computer under control of computer programs....
    s into one
  • The ability to synchronize multiple playback streams
  • Bluetooth audio devices with dynamic detection


Operation


PulseAudio is a sound server, a background process accepting sound input from one or more sources (processes or capture devices) and redirecting it to one or more sinks (sound cards, remote network PulseAudio servers, or other processes).

One of the goals of PulseAudio is to reroute all sound streams through it, including those from processes that attempt to directly access the hardware (like legacy OSS
Open Sound System

The Open Sound System is a standard interface for making and capturing sound in Unix operating systems. It is based on standard Unix devices ....
 applications). PulseAudio achieves this by providing adapters to applications using other audio systems, like aRts
ARts

aRts, which stands for analog Real time synthesizer, is an audio framework that is no longer under development. It is most famous for previously being used in KDE to simulate an analog synthesizer....
 and ESD.

In a typical installation scenario under Linux, the user configures ALSA to use a virtual device provided by PulseAudio. Thus, applications using ALSA will output sound to PulseAudio, which then uses ALSA itself to access the real sound card. PulseAudio also provides its own native interface to applications that want to support PulseAudio directly, as well as a legacy interface for ESD applications, making it suitable as a drop-in replacement for ESD.

For OSS applications, PulseAudio provides the padsp utility, which replaces device files such as /dev/dsp, tricking the applications into believing that they have exclusive control over the sound card. In reality, their output is rerouted through PulseAudio.

Adoption


Linux distributions such as Ubuntu 8.04 and Fedora
Fedora (operating system)

Fedora is an RPM Package Manager-based, general purpose operating system built on top of the Linux kernel, developed by the community-supported Fedora Project and sponsored by Red Hat....
 8 introduced PulseAudio as the default audio system arguably before it was ready: PulseAudio developer Lennart Poettering described it as "the software that currently breaks your audio" . He later claimed that "Ubuntu didn't exactly do a stellar job---they didn't do their homework" in adopting PulseAudio.

Alternatives

ALSA provides a software mixer called dmix, which was developed prior to PulseAudio. This is enabled by default on many Linux distributions and requires less resource overhead, although it does not provide the advanced features (resampling, device aggregation and network audio) of PulseAudio.

The modern implementations of the Open Sound System
Open Sound System

The Open Sound System is a standard interface for making and capturing sound in Unix operating systems. It is based on standard Unix devices ....
 such as that by 4Front
4Front Technologies

4Front Technologies is the company behind the Open Sound System for Linux and Unix operating systems. Since June 1999, 4Front has also been sponsoring development of the XMMS music player....
 also provide software mixing, resampling and changing the volume on a per-application basis. These have a lower overhead than PulseAudio, but lack some advanced features.

PulseAudio can also interoperate with existing legacy sound systems, including those that were designed to exclusively lock the sound card.

See also


  • JACK Audio Connection Kit
    JACK Audio Connection Kit

    The JACK Audio Connection Kit or JACK is a sound server Daemon that provides low latency connections between so-called jackified applications, for both audio and MIDI data....
  • aRts
    ARts

    aRts, which stands for analog Real time synthesizer, is an audio framework that is no longer under development. It is most famous for previously being used in KDE to simulate an analog synthesizer....
  • List of Linux audio software
    List of Linux audio software

    The following is a list of Linux audio software....


External links

  • , a blog entry by one of the PulseAudio developers discussing the name change