this post was submitted on 06 Sep 2023
5 points (85.7% liked)

Emacs

2201 readers
2 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?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] shami1kemi1@sopuli.xyz 6 points 1 year ago (1 children)

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.

[โ€“] Certainity45@lemmy.ml 1 points 1 year ago

Hey, thanks a lot for the way deeper explanation I expected to get! :)