Sound

From Linuxintro
Revision as of 10:17, 7 December 2014 by imported>ThorstenStaerk
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Linux sound is one big mess. We have ALSA, OSS, PulseAudio, gstreamer, arts, phonon as subsystems. This article explains the concepts and helps people fixing their sound problems.

The "normal" Linux sound system is ALSA. It emulates the older OSS. ALSA allows several applications to play sound at the same time, OSS does not. This is because OSS provides a single sound device file, /dev/dsp that applications lock when outputting to it. To raise confusion, ALSA emulates OSS by also providing /dev/dsp.

The first step to find out if your sound is configured correctly is to output noise. Turn the volume low and try

speaker-test

If you hear your voice, your microphone and drivers are okay.

See also