Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
7
rated 0 times [  7] [ 0]  / answers: 1 / hits: 9893  / 1 Year ago, mon, january 30, 2023, 12:48:12

Can someone explain the relationship between the different sound components and if they all need to be installed in order to get sound?



For example, I have one called "Playback: ... (PulseAudio Mixer)" and another called "Intel ICH5 Alsa Mixer" which both seem to affect my sound. Can I uninstall one of them and still have working audio?


More From » sound

 Answers
5

There are four layers in this abridged explanation of the audio stack.




  1. The hardware.

  2. ALSA.

  3. Pulseaudio

  4. Applications.



ALSA has all the hardware support. It's great at talking to a whole load of different stuff but it's relatively rubbish at talking to more than one application or providing network-aware features like Pulseaudio.



In this sort of stack, PulseAudio is the only thing that interfaces with the main ALSA devices so if you want to make a sound, you either have to kick PulseAudio off, or interface with it.



PulseAudio can accept connections from clients that only speak ALSA (it pretends to be an ALSA device) for legacy reasons which allows things like Wine, Skype, et al to work (most of the time).






Theoretically you could remove PulseAudio. In practice this would probably completely knacker your system if you're using more than one application that wants to make a noise at once. Our media centre box here only uses ALSA for this reason (plus I need raw HD over HDMI access that old PulseAudio used to interfere with - it might not now).



I would suggest you keep both. You need ALSA and PulseAudio, for all its alleged sins, does a pretty good job these days.


[#37779] Wednesday, February 1, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
irripri

Total Points: 164
Total Questions: 111
Total Answers: 107

Location: South Georgia
Member since Sun, Aug 8, 2021
3 Years ago
irripri questions
Mon, Aug 29, 22, 03:19, 2 Years ago
Thu, Mar 30, 23, 01:56, 1 Year ago
Thu, Dec 30, 21, 08:53, 2 Years ago
;