this post was submitted on 06 Sep 2023
0 points (50.0% liked)

Emacs

2194 readers
1 users here now

Our infinitely powerful editor.

founded 4 years ago
MODERATORS
 

I am asking for learning purposes. I don't fully understand what Emacs does with sound either, but is there a logical reason why it still uses Alsa and not Pipewire?

top 1 comments
sorted by: hot top controversial new old
[–] shami1kemi1@sopuli.xyz 1 points 1 year ago

Why Emacs has sound support? Well, you could ask that about many other things in Emacs, but sound support is relatively understandable since you want to be able to do things such as play notification sounds. That's for example how erc recommends the use of the sound system.

As to why ALSA and not PipeWire, well, for one, the support is from before pipewire was even a thing. The ALSA support even seems to be from the time when PulseAudio was new (2006 seems to be year of the first ALSA-related commits in src/sound.c.) And since it seems to work, I'm not sure that the developers are that keen to just going and replacing the ALSA support with PipeWire, especially given the latter's complexity.